Stonybrook University MEC 101 HW#10 Programming Help

So, the drill is simple enough:

  1. Edit your post to display your code in code tags as instructed here in Item # 7 here:
    http://forum.arduino.cc/index.php/topic,148850.0.html

  2. Explain what your code is supposed to do (you’ve done that).

  3. Explain what your code actually does and how it is different than what you want.

  4. People on the forum will make suggestions about how to fix / improve your code.

  5. You change your code per the suggestions and try it out.

  6. If the code’s behavior matches your expectations, you’re done.

  7. If the code’s behavior doesn’t match your expectations, go back to Step #3.