accelerometer LED G-force display


  • Jr. Member
  • **
    • Posts: 8
    • View Profile
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