The following are some questions related to this project along with some suggested code challenges. The idea is to provoke thought, test your understanding, and get you coding!
While the sketches provided in this guide work, there is room for improvement and additional features. Have fun playing with the provided code to see what you can do with it.
Questions
- What are good values for SLOUCH_ANGLE and SLOUCH_TIME?
- Will the alarm sound if the wearer leans back too far?
- In the v3 code, what prevents slouchStartTime from constantly being reset?
Page last edited December 15, 2016
Text editor powered by tinymce.