Spinning Arrow

Post your projects here
Post Reply
BMS Doug
Posts: 61
Joined: Wed Aug 26, 2015 8:54 am
Contact:

Spinning Arrow

Post by BMS Doug » Fri Aug 28, 2015 11:17 am

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.

pigraham
Posts: 65
Joined: Sat Aug 15, 2015 1:41 pm

Re: Spinning Arrow

Post by pigraham » Fri Aug 28, 2015 11:39 am

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.

BMS Doug
Posts: 61
Joined: Wed Aug 26, 2015 8:54 am
Contact:

Re: Spinning Arrow

Post by BMS Doug » Fri Aug 28, 2015 12:13 pm

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.

Post Reply