page1
Set up phase map.
Set up interrupts.
Set up ports.
START
Do set up
Set next bit pattern
Minimum delay?
Yes
No
Read sensors
Set BLDC phase mark from sensors
START
Sleep 1 second
End
Show banner
ISR: Shaft moved
End