Go Down

Topic: Timing Issues (Read 1 time) previous topic - next topic

ScottCaval

One other thing I failed to mention, Day 1 should stay the same for 24 hours and should point to the second position in the array. As soon as it puts out a negative number (at the 3rd hour) it also starts to point to a different position in the Fan array. As you can tell I am new to this so I apologize if the answer is completely obvious.

CrossRoads

if the time related variables are all type unsigned long, there will be no negative numbers.
just comes down to logic flaws at that point.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up