I create a list for the 74HC595 to connect 7 LEDs.
I would like the 1st LED to light and others dim on Sunday; 2nd LED light and other dim on Monday...
The list would be:
[1,0,0,0,0,0,0] if the rtc.dow =1
[0,1,0,0,0,0,0] if the rtc.dow =2
how can I coding the list according to the RTC week of day output.
I am new to the Arduino and would like to use it for show the week day for my father's medicine usage.
Thanks for the help
I create a list for the 74HC595 to connect 7 LEDs.
I would like the 1st LED to light and others dim on Sunday; 2nd LED light and other dim on Monday...
With a 74HC595, it is hard to have the LEDs at different brightness other than on and off.
I think the above code is referring to an addressable strip which is what you would be better off using.