Page 1 of 1

Spinning Arrow

Posted: Fri Aug 28, 2015 11:17 am
by BMS Doug
http://www.codebug.co.uk/explore/codebug/149/

Nothing complex here, the arrow spins around and you either pause it with the B button or stop it with the A button.

Re: Spinning Arrow

Posted: Fri Aug 28, 2015 11:39 am
by pigraham
That works on the bug. Spins about 70 rpm.
Pause and stop work.
Display blanks after about 5 seconds from stop.
Btn b the restarts it.

Re: Spinning Arrow

Posted: Fri Aug 28, 2015 12:13 pm
by BMS Doug
The spin speed could be increased by dropping the delay or decreased by increasing the delay.

With a slow spin speed there is a high chance that a short press on the stop button would not still be registered when the program reaches the end of the loop and therefore it would re-start.

I might re-mix it a bit for a more robust version.