arduino newb needs help on VERY SIMPLE project


i need know how make arduino time oriented tasks. did have failed attempt in using rtc (rtc did not control time, printed serial/lcd). example: need know how "if sunday , 8 change led strip red".

hardware have:
arduino uno
adafruit neopixel strip
 ds3231 rtc
assorted random things such buttons, leds, potentiometers, transistors, resistors, etc

quote
"if sunday , 8 change led strip red".
tha 1 or more if-statements.  ;)

you'll need understand how time variables stored , may want read & compare day, time, , minutes, separately.  i.e. if it's not sunday there's no reason check time.

generally time, you'll want use less-than, greater-than, or both, rather equal-to, because it's exactly  8:00 instant.   but, if checking day , hour if-statements true between 8:00 , 9:00am.


quote
adafruit neopixel strip...

...assorted random things such buttons, leds, potentiometers, transistors, resistors, etc
work on things separately clock.


Arduino Forum > Using Arduino > Project Guidance > arduino newb needs help on VERY SIMPLE project


arduino

Comments

Popular posts from this blog

Help needed for choosing soldering station

Error Message when accessing Adobe

Adafruit Huzzah with Arduino Uno