accelerometer LED G-force display

Started by Ironman11, August 26, 2013, 02:56:44 PM

Previous topic - Next topic

Ironman11

**
Jr. Member
Posts: 8
Logged
Hello,
I'm trying to get the LEDs on my 16 LED tinyshield to light up and display roughly how many Gs my Accelerometer tinyshield is outputing...e.g. (If the accelerometer registers 2.5 Gs in the Y plane then 6 of the 16 LEDs would light up, 1 for every .25 Gs)

I'm new to programming arduinos so any help showing what the code would look like to get this to work would be very appreciated.


SMF spam blocked by CleanTalk