Mini Golf Project!!
due by the end of today
– CAD/CAM design.
– if you have finished and submitted your design then read on for today’s code work.
Today is the day to complete and submit your CAD/CAM des
ign. Click here to submit your design.
If your group has submitted your CAD/CAM design then you should begin on the coding part of the project.
The first step in programming is to write an outline of what you want to happen in your program. This does not have to be in the Arduino programming language. The idea is for you to plan what you want to happen and when you want it to happen.
Each programmer should write up their code outline in a Google doc and share it with rpmteacher@gmail.com. Due at the end of class today if you have finished your CAD/CAM work. Your outline should include the following:
- A short description of your celebration.
- An outline of what will happen in the code. This should be at least five lines long.
Here’s example for a celebration:
Description: when the ball hits the switch the red and yellow LEDs starting blinking faster and faster. The normal state for the LEDs is be on and steady.
ball drops
button reads input when hall hits switch
red LED turns ON
wait half a second
red LED off
yellow LED on
wait half a second
yellow LED off
red LED on
wait a quarter second
red LED off
yellow LED on
wait a quarter second
yellow LED off
red LED on
wait an 8th of a second
red LED off
yellow LED on
wait an 8th of a second