I started with wiring and testing each component. To test them to make sure my wiring was working I would make a simple code to turn them ON if it was an output and to display the value if it was an input. Once I had all my component working, I first made it so that my flex sensor would always map to the different LEDs and display without taking the button push into account. Once that worked, I added functionality around that to only display to the LEDs when the button was pushed. I had an issue where the range of inputs I got from my flex sensor was smaller than expected so I had to adjust my value map.
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .