-->
Page 2 of 2

Re: Stepper Motor while displaying scrolling text on OLED di

PostPosted: Thu Aug 22, 2019 5:02 am
by QuickFix
sblantipodi wrote:it all happen in the same loop,

Lets see some code, since something tells me you're not using an interrupt or you're just doing things wrong.
You need to create a timed interrupt for the stepper motor only, not both (you put the text in the normal loop).

Another possible option could be creating a state machine. :idea:

Re: Stepper Motor while displaying scrolling text on OLED di

PostPosted: Fri Apr 17, 2020 6:08 pm
by sblantipodi
QuickFix wrote:
sblantipodi wrote:it all happen in the same loop,

Lets see some code, since something tells me you're not using an interrupt or you're just doing things wrong.
You need to create a timed interrupt for the stepper motor only, not both (you put the text in the normal loop).

Another possible option could be creating a state machine. :idea:


project source is on github.
https://github.com/sblantipodi/smart_watch_winder

any suggestions?