Hi, I'm new to Arduino and am getting frustrated with the amount of time I'm spending trying to figure out a seemingly simple code... I will paypal you $30 if your code works for me/you solve my issue. That means if I can copy the code you produce and it works without me having to troubleshoot anything you'll get $30.
I've spend way to much time trying to figure out a code for a 40 yard dash timer. Currently I can serial print an attach interrupt (photosensing lens beam broken) from the time the red LED lights up to the time the sensor beam is broken (crossing the 40yard line).
I do not want to use this setup outside where I will be using the timer setup. Instead of the serial print I want to print my results on an LCD display with an I2c module.
I got this initial code from a forum online and it works great for serial printing the results, please help me integrate the lcd display into my setup so I can use it outside.
Right now I'm turning on a blue led for the "ready" phase, red led for the start phase and attach interrupt for the finish phase which I want to capture and print the results on the lcd display.
I can print "hello world" to the lcd in void setup so I know I have a good connection electrically.
Here's the code for serial printing the results..
long int start =0;
long int revs = 0;
volatile int elapsed =0;
start = millis();
long fin = millis();
revs =(fin - start);
start = fin;
elapsed = revs;
I've read up on LCD I2C code for over 2 weeks (at least 10 hours total) my LCD info:
LiquidCrystal_I2C lcd = LiquidCrystal_I2C(0x27, 16, 2);
Thanks in advance.