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
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...work on things separately clock.
...assorted random things such buttons, leds, potentiometers, transistors, resistors, etc
Arduino Forum > Using Arduino > Project Guidance > arduino newb needs help on VERY SIMPLE project
arduino
Comments
Post a Comment