![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
base code for switching easily between directions, while keeping signal input low.
History
replace wait code with an interrupin. Works much better and shows no error in registering the button press.
2015-10-23, by Technical_Muffin [Fri, 23 Oct 2015 09:35:33 +0000] rev 1
replace wait code with an interrupin. Works much better and shows no error in registering the button press.
toggle code, for switching directions
2015-10-08, by Technical_Muffin [Thu, 08 Oct 2015 22:37:35 +0000] rev 0
toggle code, for switching directions