Some code examples:
buttonBounce.py
buttonTime.py <-- shows how to get the current time in milliseconds and then time something
If you are Stuck with your code, take a look at buttonTime, to see how to check a button and
1) write the code for a while loop checking 1 button and print that you pushed the button
2) update that code to check 4 buttons and print which button was pushed
Subscribe to:
Post Comments (Atom)
-
Is it Summer Time? Then you are going to want to CLICK HERE ... This is where I'm going to post for Summer Activities, Lessons and Proje...
-
Mechatronics Engineering Google Site Special Instructions: FLEX FACTOR Finals - If You Want To GO... Please Register here Building ...
-
1) Mr Burnham Saying Hi with some updates... Mechatronics Class Update for May 27 2020 There is a SpaceX/NASA Launch at 1:33 pm today, wit...
No comments:
Post a Comment