Looking for some help, need simple code for project
hi dear arduinist or arduinista
being harware guy i'm looking software help:
with rainbowduino(latest model out) built 12h clock-dial 144 leds, thats 1 each 5 min.
now need code steps 1 count (one led) each 5 min.
someone outthere?? n't difficult, writing code not cup.
promise first proto helping brain.
thanks,
jacob
being harware guy i'm looking software help:
with rainbowduino(latest model out) built 12h clock-dial 144 leds, thats 1 each 5 min.
now need code steps 1 count (one led) each 5 min.
someone outthere?? n't difficult, writing code not cup.
promise first proto helping brain.
thanks,
jacob
you should realtime clock (rtc) chip track time. arduino not @ it.
code: [select]
void loop()
{
int hour, minute;
hour = rtc.gethour(); // hour (0-11) rtc chip
minute = rtc.getminute(); // hour (0-11) rtc chip
int ledindex = ((60 * hour) + minute) / 5;
}
Arduino Forum > Community > Gigs and Collaborations > Looking for some help, need simple code for project
arduino
Comments
Post a Comment