Arduino and Accelerometer ADXL335 help Answered
So I'm a complete amateur when it comes to electronics so you'll have to bare with me.
What I am looking to do is create a brake light for my bicycle that's a little bit different and can help me learn some bits about arduinos and electronics for future projects. I am looking to make it so that the light lights up in a similar way to that of how they show the brake force on an F1 car with more LEDs lighting as you decelerate faster.
I have an arduino UNO and an ADXL335 accelerometer on a breakout board. I just mainly need help writing the code or even just the basics if someone was willing to help out it would be greatly appreciated.
Thanks for your time and any help you can give in advance