Building an Alternative LED Clock

3,512

3

The reason why clock and watches run clockwise has to do with SUNDAILS. Sundails arethe earliest clock on earth that follows the movement of the sun through our prospective on Earth. Since we are not using sundails anymore, is it possible that we can change the clockwise charateristic of clocks and watches?

The reason I started this project:
-Realized clocks are all "Clockwise" and wonder if that 's necessary.
-Tired of hearing the ticking sound.
-Didnt want a digital clock with LED numbers on wall.

*Time shown in figure:   4:35  (outer ring with 4 segments of LEDs lit; 2nd ring with 3 LEDs lit; and 3rd ring with 5 LEDs lit)

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Part List

-Arduino Uno R3 (OR smaller that is strong enough to power 43+ RBG LEDs)

-Soldering Iron and soldering wires

-Heat-shrink tubes (I use 3/8s flat tubing's)

-Hot Glue Gun and Glue sticks

-4' x 4' 1/2 Inch Ply (Or more)

Optional:

-10k ohms resistor

-phtotresistor

Step 2: Making the Clock Shell

Step 1:

Draw a circle with 20" in diameters on the plywood, and make sure center is marked clearly.

Step 2:

Using either a bandsaw, hand-saw, or a router, cut out the circle.
This will be the backing for all the electronics.

Step 3:
The clock front can be decorated as pleases.

Step 3: Making the Clock Face

Step 1:

Cut a total of 19 LEDs into a single LED strip -

4 LEDs for the center as Seconds

10 LEDs for the second ring from center as Minutes

6 LEDs for the third ring from center as The 10th Digit of Minutes

Step 2:

Cut a total of 12 LED strip of for the Hour ring, the outer ring.

In other words, there should be a total of 24 LEDs in the outer hour ring.

Step 3:

Evenly divide the plywood backing of the clock into 12, 6, and 10 segments.

Step 4:

Glue the LEDs onto the divided ring segments using hot glue.

Step 5:

Solder wires onto the LEDs, connecting LEDs of the same ring into a strip, leave one strip open for Arduino.

Step 6:

Put hot glue onto the solder joints and cut heat shrink tubing to size to seal up each joints.

Step 4: Wiring Up!

Here's a brief description on how to connect each component.

RTC to Arduino:

-5v to 5v
-GND to GND
-SDA to A4
-SCL to A5

LEDs to Arduino:

-DI (second strip) to pin 3
-DI (minute strip) to pin 4
-DI (10th digit of minute strip) to pin 5
-DI (hour strip) to pin 6

LEDs to external batter box:

-5v to positive
-GND to negative

Optional Connection with photoresistor:
-positive to photoresistor to 10k ohms resistor to negative
-extra external connection between photoresistor and 10k ohms resistor to pin A0

Step 5: Basic Coding

#include <Wire.h>
#include "RTClib.h"

Adafruit_NeoPixel strip_second = Adafruit_NeoPixel(4, 3, NEO_GRB + NEO_KHZ800); //define strip name, number of LEDs
//digital pin, and strip kind

RTC_DS1307 rtc;
//const int analogPin = A0;     //Optional for photoresistor
long hn_12;

void setup (){
Serial.begin(57600);
Wire.begin();
rtc.begin();
//  pinMode(13, OUTPUT); //Optional for photoresistor
strip_second.begin();
strip_second.show();
strip_hour.begin();
strip_hour.show();
strip_minute10th.begin();
strip_minute10th.show();
strip_minute1st.begin();
strip_minute1st.show();
}

void loop(){
DateTime now = rtc.now();
//  brightness_control(); //light intensity brightness function; Optional
if (now.hour() > 12){  //switching from 24-hour format to 12-hour format
hn_12 = now.hour() - 12;
}
else{
hn_12 = now.hour();
}
long mn = now.minute();//defining minute now
Serial.print(hn_12); //printing just to check that RTC is running
Serial.print(':');
Serial.print(now.minute(), DEC);
Serial.print(':');
Serial.print(now.second(), DEC);
Serial.println();

if (hn_12 == 0){ //if cases for controlling hour ring
hour_0();
}
if (hn_12 == 1){
hour_1();
}
if (hn_12 == 2){
hour_2();
}
if (hn_12 == 3){
hour_3();
}
if (hn_12 == 4){
hour_4();
}
if (hn_12 == 5){
hour_5();
}
if (hn_12 == 6){
hour_6();
}
if (hn_12 == 7){
hour_7();
}
if (hn_12 == 8){
hour_8();
}
if (hn_12 == 9){
hour_9();
}
if (hn_12 == 10){
hour_10();
}
if (hn_12 == 11){
hour_11();
}

if (mn/10 == 0){ //if statement for controlling 10th digit of minute ring, 0 - 5
minute10th_0();
}
if (mn/10 == 1){
minute10th_0();
}
if (mn/10 == 2){
minute10th_0();
}
if (mn/10 == 3){
minute10th_3();
}
if (mn/10 == 4){
minute10th_4();
}
if (mn/10 == 5){
minute10th_5();
}

if (mn%10 == 0){ //if statement for controlling minute ring 0-9
minute1st_0();
}
if (mn%10 == 1){
minute1st_1();
}
if (mn%10 == 2){
minute1st_2();
}
if (mn%10 == 3){
minute1st_3();
}
if (mn%10 == 4){
minute1st_4();
}
if (mn%10 == 5){
minute1st_5();
}
if (mn%10 == 6){
minute1st_6();
}
if (mn%10 == 7){
minute1st_7();
}
if (mn%10 == 8){
minute1st_8();
}
if (mn%10 == 9){
minute1st_9();
}
}

/*void brightness_control(){ //optional for photoresistor
digitalWrite(13, HIGH);
Serial.println(sensorValue);
int sli = map (sensorValue, 0, 1020, 50, 245); //map surrounding light intensitiy to LEDs intensity
strip_hour.setBrightness(sli);
strip_minute1st.setBrightness(sli);
strip_minute10th.setBrightness(sli);
strip_second.setBrightness(sli);
}

*/

long time = millis();
int period = 1000;
int displace = 240;
int led_val = 0;
int led_val2 = 0;
int value = 128+127*cos(2*PI/period*time);
int value2 = 128+127*cos(2*PI/period*(displace-time));
time = millis();
strip_second.setPixelColor(0, 0, 0, value); //LED Number, R Color value, G color Value, B Color value
strip_second.setPixelColor(1, 0, 0, value2);
strip_second.setPixelColor(2, 0, 0, value2);
strip_second.setPixelColor(3, 0, 0, value2);
strip_second.show();
}

void hour_0(){
strip_hour.setPixelColor(0, 51, 255, 51);
strip_hour.setPixelColor(1, 51, 255, 51);
strip_hour.setPixelColor(2, 0, 0, 255);
strip_hour.setPixelColor(3, 0, 0, 255);
strip_hour.setPixelColor(4, 51, 255, 51);
strip_hour.setPixelColor(5, 51, 255, 51);
strip_hour.setPixelColor(6, 0, 0, 255);
strip_hour.setPixelColor(7, 0, 0, 255);
strip_hour.setPixelColor(8, 51, 255, 51);
strip_hour.setPixelColor(9, 51, 255, 51);
strip_hour.setPixelColor(10, 0, 0, 255);
strip_hour.setPixelColor(11, 0, 0, 255);
strip_hour.setPixelColor(12, 51, 255, 51);
strip_hour.setPixelColor(13, 51, 255, 51);
strip_hour.setPixelColor(14, 0, 0, 255);
strip_hour.setPixelColor(15, 0, 0, 255);
strip_hour.setPixelColor(16, 51, 255, 51);
strip_hour.setPixelColor(17, 51, 255, 51);
strip_hour.setPixelColor(18, 0, 0, 255);
strip_hour.setPixelColor(19, 0, 0, 255);
strip_hour.setPixelColor(20, 51, 255, 51);
strip_hour.setPixelColor(21, 51, 255, 51);
strip_hour.setPixelColor(22, 0, 0, 255);
strip_hour.setPixelColor(23, 0, 0, 255);
strip_hour.show();
}

void hour_1(){
strip_hour.setPixelColor(0, 0, 0, 0);
strip_hour.setPixelColor(1, 0, 0, 0);
strip_hour.setPixelColor(2, 0, 0, 255);
strip_hour.setPixelColor(3, 0, 0, 255);
strip_hour.setPixelColor(4, 0, 0, 255);
strip_hour.setPixelColor(5, 0, 0, 255);
strip_hour.setPixelColor(6, 0, 0, 255);
strip_hour.setPixelColor(7, 0, 0, 255);
strip_hour.setPixelColor(8, 0, 0, 255);
strip_hour.setPixelColor(9, 0, 0, 255);
strip_hour.setPixelColor(10, 0, 0, 255);
strip_hour.setPixelColor(11, 0, 0, 255);
strip_hour.setPixelColor(12, 0, 0, 255);
strip_hour.setPixelColor(13, 0, 0, 255);
strip_hour.setPixelColor(14, 0, 0, 255);
strip_hour.setPixelColor(15, 0, 0, 255);
strip_hour.setPixelColor(16, 0, 0, 255);
strip_hour.setPixelColor(17, 0, 0, 255);
strip_hour.setPixelColor(18, 0, 0, 255);
strip_hour.setPixelColor(19, 0, 0, 255);
strip_hour.setPixelColor(20, 0, 0, 255);
strip_hour.setPixelColor(21, 0, 0, 255);
strip_hour.setPixelColor(22, 0, 0, 255);
strip_hour.setPixelColor(23, 0, 0, 255);
strip_hour.show();
}
void hour_2(){
strip_hour.setPixelColor(0, 0, 0, 0);
strip_hour.setPixelColor(1, 0, 0, 0);
strip_hour.setPixelColor(2, 0, 0, 255);
strip_hour.setPixelColor(3, 0, 0, 255);
strip_hour.setPixelColor(4, 0, 0, 255);
strip_hour.setPixelColor(5, 0, 0, 255);
strip_hour.setPixelColor(6, 0, 0, 255);
strip_hour.setPixelColor(7, 0, 0, 255);
strip_hour.setPixelColor(8, 0, 0, 255);
strip_hour.setPixelColor(9, 0, 0, 255);
strip_hour.setPixelColor(10, 0, 0, 255);
strip_hour.setPixelColor(11, 0, 0, 255);
strip_hour.setPixelColor(12, 0, 0, 0);
strip_hour.setPixelColor(13, 0, 0, 0);
strip_hour.setPixelColor(14, 0, 0, 255);
strip_hour.setPixelColor(15, 0, 0, 255);
strip_hour.setPixelColor(16, 0, 0, 255);
strip_hour.setPixelColor(17, 0, 0, 255);
strip_hour.setPixelColor(18, 0, 0, 255);
strip_hour.setPixelColor(19, 0, 0, 255);
strip_hour.setPixelColor(20, 0, 0, 255);
strip_hour.setPixelColor(21, 0, 0, 255);
strip_hour.setPixelColor(22, 0, 0, 255);
strip_hour.setPixelColor(23, 0, 0, 255);
strip_hour.show();
}
void hour_3(){
strip_hour.setPixelColor(0, 0, 0, 255);
strip_hour.setPixelColor(1, 0, 0, 255);
strip_hour.setPixelColor(2, 0, 0, 255);
strip_hour.setPixelColor(3, 0, 0, 255);
strip_hour.setPixelColor(4, 0, 0, 0);
strip_hour.setPixelColor(5, 0, 0, 0);
strip_hour.setPixelColor(6, 0, 0, 255);
strip_hour.setPixelColor(7, 0, 0, 255);
strip_hour.setPixelColor(8, 0, 0, 255);
strip_hour.setPixelColor(9, 0, 0, 255);
strip_hour.setPixelColor(10, 0, 0, 255);
strip_hour.setPixelColor(11, 0, 0, 255);
strip_hour.setPixelColor(12, 0, 0, 0);
strip_hour.setPixelColor(13, 0, 0, 0);
strip_hour.setPixelColor(14, 0, 0, 255);
strip_hour.setPixelColor(15, 0, 0, 255);
strip_hour.setPixelColor(16, 0, 0, 255);
strip_hour.setPixelColor(17, 0, 0, 255);
strip_hour.setPixelColor(18, 0, 0, 255);
strip_hour.setPixelColor(19, 0, 0, 255);
strip_hour.setPixelColor(20, 0, 0, 0);
strip_hour.setPixelColor(21, 0, 0, 0);
strip_hour.setPixelColor(22, 0, 0, 255);
strip_hour.setPixelColor(23, 0, 0, 255);
strip_hour.show();
}
void hour_4(){
strip_hour.setPixelColor(0, 0, 0, 0);
strip_hour.setPixelColor(1, 0, 0, 0);
strip_hour.setPixelColor(2, 0, 0, 255);
strip_hour.setPixelColor(3, 0, 0, 255);
strip_hour.setPixelColor(4, 0, 0, 255);
strip_hour.setPixelColor(5, 0, 0, 255);
strip_hour.setPixelColor(6, 0, 0, 0);
strip_hour.setPixelColor(7, 0, 0, 0);
strip_hour.setPixelColor(8, 0, 0, 255);
strip_hour.setPixelColor(9, 0, 0, 255);
strip_hour.setPixelColor(10, 0, 0, 255);
strip_hour.setPixelColor(11, 0, 0, 255);
strip_hour.setPixelColor(12, 0, 0, 0);
strip_hour.setPixelColor(13, 0, 0, 0);
strip_hour.setPixelColor(14, 0, 0, 255);
strip_hour.setPixelColor(15, 0, 0, 255);
strip_hour.setPixelColor(16, 0, 0, 255);
strip_hour.setPixelColor(17, 0, 0, 255);
strip_hour.setPixelColor(18, 0, 0, 0);
strip_hour.setPixelColor(19, 0, 0, 0);
strip_hour.setPixelColor(20, 0, 0, 255);
strip_hour.setPixelColor(21, 0, 0, 255);
strip_hour.setPixelColor(22, 0, 0, 255);
strip_hour.setPixelColor(23, 0, 0, 255);
strip_hour.show();
}
void hour_5(){
strip_hour.setPixelColor(0, 0, 0, 255);
strip_hour.setPixelColor(1, 0, 0, 255);
strip_hour.setPixelColor(2, 0, 0, 255);
strip_hour.setPixelColor(3, 0, 0, 255);
strip_hour.setPixelColor(4, 0, 0, 0);
strip_hour.setPixelColor(5, 0, 0, 0);
strip_hour.setPixelColor(6, 0, 0, 255);
strip_hour.setPixelColor(7, 0, 0, 255);
strip_hour.setPixelColor(8, 0, 0, 0);
strip_hour.setPixelColor(9, 0, 0, 0);
strip_hour.setPixelColor(10, 0, 0, 255);
strip_hour.setPixelColor(11, 0, 0, 255);
strip_hour.setPixelColor(12, 0, 0, 0);
strip_hour.setPixelColor(13, 0, 0, 0);
strip_hour.setPixelColor(14, 0, 0, 255);
strip_hour.setPixelColor(15, 0, 0, 255);
strip_hour.setPixelColor(16, 0, 0, 0);
strip_hour.setPixelColor(17, 0, 0, 0);
strip_hour.setPixelColor(18, 0, 0, 255);
strip_hour.setPixelColor(19, 0, 0, 255);
strip_hour.setPixelColor(20, 0, 0, 0);
strip_hour.setPixelColor(21, 0, 0, 0);
strip_hour.setPixelColor(22, 0, 0, 255);
strip_hour.setPixelColor(23, 0, 0, 255);
strip_hour.show();
}
void hour_6(){
strip_hour.setPixelColor(0, 0, 0, 0);
strip_hour.setPixelColor(1, 0, 0, 0);
strip_hour.setPixelColor(2, 0, 0, 255);
strip_hour.setPixelColor(3, 0, 0, 255);
strip_hour.setPixelColor(4, 0, 0, 0);
strip_hour.setPixelColor(5, 0, 0, 0);
strip_hour.setPixelColor(6, 0, 0, 255);
strip_hour.setPixelColor(7, 0, 0, 255);
strip_hour.setPixelColor(8, 0, 0, 0);
strip_hour.setPixelColor(9, 0, 0, 0);
strip_hour.setPixelColor(10, 0, 0, 255);
strip_hour.setPixelColor(11, 0, 0, 255);
strip_hour.setPixelColor(12, 0, 0, 0);
strip_hour.setPixelColor(13, 0, 0, 0);
strip_hour.setPixelColor(14, 0, 0, 255);
strip_hour.setPixelColor(15, 0, 0, 255);
strip_hour.setPixelColor(16, 0, 0, 0);
strip_hour.setPixelColor(17, 0, 0, 0);
strip_hour.setPixelColor(18, 0, 0, 255);
strip_hour.setPixelColor(19, 0, 0, 255);
strip_hour.setPixelColor(20, 0, 0, 0);
strip_hour.setPixelColor(21, 0, 0, 0);
strip_hour.setPixelColor(22, 0, 0, 255);
strip_hour.setPixelColor(23, 0, 0, 255);
strip_hour.show();
}
void hour_7(){
strip_hour.setPixelColor(0, 51, 255, 51);
strip_hour.setPixelColor(1, 51, 255, 51);
strip_hour.setPixelColor(2, 0, 0, 255);
strip_hour.setPixelColor(3, 0, 0, 255);
strip_hour.setPixelColor(4, 0, 0, 0);
strip_hour.setPixelColor(5, 0, 0, 0);
strip_hour.setPixelColor(6, 0, 0, 255);
strip_hour.setPixelColor(7, 0, 0, 255);
strip_hour.setPixelColor(8, 0, 0, 0);
strip_hour.setPixelColor(9, 0, 0, 0);
strip_hour.setPixelColor(10, 0, 0, 255);
strip_hour.setPixelColor(11, 0, 0, 255);
strip_hour.setPixelColor(12, 0, 0, 0);
strip_hour.setPixelColor(13, 0, 0, 0);
strip_hour.setPixelColor(14, 0, 0, 255);
strip_hour.setPixelColor(15, 0, 0, 255);
strip_hour.setPixelColor(16, 0, 0, 0);
strip_hour.setPixelColor(17, 0, 0, 0);
strip_hour.setPixelColor(18, 0, 0, 255);
strip_hour.setPixelColor(19, 0, 0, 255);
strip_hour.setPixelColor(20, 0, 0, 0);
strip_hour.setPixelColor(21, 0, 0, 0);
strip_hour.setPixelColor(22, 0, 0, 255);
strip_hour.setPixelColor(23, 0, 0, 255);
strip_hour.show();
}
void hour_8(){
strip_hour.setPixelColor(0, 51, 255, 51);
strip_hour.setPixelColor(1, 51, 255, 51);
strip_hour.setPixelColor(2, 0, 0, 255);
strip_hour.setPixelColor(3, 0, 0, 255);
strip_hour.setPixelColor(4, 0, 0, 0);
strip_hour.setPixelColor(5, 0, 0, 0);
strip_hour.setPixelColor(6, 0, 0, 255);
strip_hour.setPixelColor(7, 0, 0, 255);
strip_hour.setPixelColor(8, 0, 0, 0);
strip_hour.setPixelColor(9, 0, 0, 0);
strip_hour.setPixelColor(10, 0, 0, 255);
strip_hour.setPixelColor(11, 0, 0, 255);
strip_hour.setPixelColor(12, 51, 255, 51);
strip_hour.setPixelColor(13, 51, 255, 51);
strip_hour.setPixelColor(14, 0, 0, 255);
strip_hour.setPixelColor(15, 0, 0, 255);
strip_hour.setPixelColor(16, 0, 0, 0);
strip_hour.setPixelColor(17, 0, 0, 0);
strip_hour.setPixelColor(18, 0, 0, 255);
strip_hour.setPixelColor(19, 0, 0, 255);
strip_hour.setPixelColor(20, 0, 0, 0);
strip_hour.setPixelColor(21, 0, 0, 0);
strip_hour.setPixelColor(22, 0, 0, 255);
strip_hour.setPixelColor(23, 0, 0, 255);
strip_hour.show();
}
void hour_9(){
strip_hour.setPixelColor(0, 51, 255, 51);
strip_hour.setPixelColor(1, 51, 255, 51);
strip_hour.setPixelColor(2, 0, 0, 255);
strip_hour.setPixelColor(3, 0, 0, 255);
strip_hour.setPixelColor(4, 0, 0, 0);
strip_hour.setPixelColor(5, 0, 0, 0);
strip_hour.setPixelColor(6, 0, 0, 255);
strip_hour.setPixelColor(7, 0, 0, 255);
strip_hour.setPixelColor(8, 51, 255, 51);
strip_hour.setPixelColor(9, 51, 255, 51);
strip_hour.setPixelColor(10, 0, 0, 255);
strip_hour.setPixelColor(11, 0, 0, 255);
strip_hour.setPixelColor(12, 0, 0, 0);
strip_hour.setPixelColor(13, 0, 0, 0);
strip_hour.setPixelColor(14, 0, 0, 255);
strip_hour.setPixelColor(15, 0, 0, 255);
strip_hour.setPixelColor(16, 51, 255, 51);
strip_hour.setPixelColor(17, 51, 255, 51);
strip_hour.setPixelColor(18, 0, 0, 255);
strip_hour.setPixelColor(19, 0, 0, 255);
strip_hour.setPixelColor(20, 0, 0, 0);
strip_hour.setPixelColor(21, 0, 0, 0);
strip_hour.setPixelColor(22, 0, 0, 255);
strip_hour.setPixelColor(23, 0, 0, 255);
strip_hour.show();
}
void hour_10(){
strip_hour.setPixelColor(0, 51, 255, 51);
strip_hour.setPixelColor(1, 51, 255, 51);
strip_hour.setPixelColor(2, 0, 0, 255);
strip_hour.setPixelColor(3, 0, 0, 255);
strip_hour.setPixelColor(4, 0, 0, 0);
strip_hour.setPixelColor(5, 0, 0, 0);
strip_hour.setPixelColor(6, 0, 0, 255);
strip_hour.setPixelColor(7, 0, 0, 255);
strip_hour.setPixelColor(8, 51, 255, 51);
strip_hour.setPixelColor(9, 51, 255, 51);
strip_hour.setPixelColor(10, 0, 0, 255);
strip_hour.setPixelColor(11, 0, 0, 255);
strip_hour.setPixelColor(12, 51, 255, 51);
strip_hour.setPixelColor(13, 51, 255, 51);
strip_hour.setPixelColor(14, 0, 0, 255);
strip_hour.setPixelColor(15, 0, 0, 255);
strip_hour.setPixelColor(16, 51, 255, 51);
strip_hour.setPixelColor(17, 51, 255, 51);
strip_hour.setPixelColor(18, 0, 0, 255);
strip_hour.setPixelColor(19, 0, 0, 255);
strip_hour.setPixelColor(20, 0, 0, 0);
strip_hour.setPixelColor(21, 0, 0, 0);
strip_hour.setPixelColor(22, 0, 0, 255);
strip_hour.setPixelColor(23, 0, 0, 255);
strip_hour.show();
}
void hour_11(){
strip_hour.setPixelColor(0, 51, 255, 51);
strip_hour.setPixelColor(1, 51, 255, 51);
strip_hour.setPixelColor(2, 0, 0, 255);
strip_hour.setPixelColor(3, 0, 0, 255);
strip_hour.setPixelColor(4, 51, 255, 51);
strip_hour.setPixelColor(5, 51, 255, 51);
strip_hour.setPixelColor(6, 0, 0, 255);
strip_hour.setPixelColor(7, 0, 0, 255);
strip_hour.setPixelColor(8, 51, 255, 51);
strip_hour.setPixelColor(9, 51, 255, 51);
strip_hour.setPixelColor(10, 0, 0, 255);
strip_hour.setPixelColor(11, 0, 0, 255);
strip_hour.setPixelColor(12, 0, 0, 0);
strip_hour.setPixelColor(13, 0, 0, 0);
strip_hour.setPixelColor(14, 0, 0, 255);
strip_hour.setPixelColor(15, 0, 0, 255);
strip_hour.setPixelColor(16, 51, 255, 51);
strip_hour.setPixelColor(17, 51, 255, 51);
strip_hour.setPixelColor(18, 0, 0, 255);
strip_hour.setPixelColor(19, 0, 0, 255);
strip_hour.setPixelColor(20, 51, 255, 51);
strip_hour.setPixelColor(21, 51, 255, 51);
strip_hour.setPixelColor(22, 0, 0, 255);
strip_hour.setPixelColor(23, 0, 0, 255);
strip_hour.show();
}

void minute10th_0(){
strip_minute10th.setPixelColor(0, 0, 0, 255);
strip_minute10th.setPixelColor(1, 51, 255, 51);
strip_minute10th.setPixelColor(2, 0, 0, 255);
strip_minute10th.setPixelColor(3, 51, 255, 51);
strip_minute10th.setPixelColor(4, 0, 0, 255);
strip_minute10th.setPixelColor(5, 51, 255, 51);
strip_minute10th.show();
}

void minute10th_1(){
strip_minute10th.setPixelColor(0, 0, 0, 0);
strip_minute10th.setPixelColor(1, 0, 0, 255);
strip_minute10th.setPixelColor(2, 0, 0, 255);
strip_minute10th.setPixelColor(3, 0, 0, 255);
strip_minute10th.setPixelColor(4, 0, 0, 255);
strip_minute10th.setPixelColor(5, 0, 0, 255);
strip_minute10th.show();
}

void minute10th_2(){
strip_minute10th.setPixelColor(0, 0, 0, 0);
strip_minute10th.setPixelColor(1, 0, 0, 255);
strip_minute10th.setPixelColor(2, 0, 0, 255);
strip_minute10th.setPixelColor(3, 0, 0, 0);
strip_minute10th.setPixelColor(4, 0, 0, 255);
strip_minute10th.setPixelColor(5, 0, 0, 255);
strip_minute10th.show();
}

void minute10th_3(){
strip_minute10th.setPixelColor(0, 0, 0, 255);
strip_minute10th.setPixelColor(1, 0, 0, 0);
strip_minute10th.setPixelColor(2, 0, 0, 255);
strip_minute10th.setPixelColor(3, 0, 0, 0);
strip_minute10th.setPixelColor(4, 0, 0, 255);
strip_minute10th.setPixelColor(5, 0, 0, 0);
strip_minute10th.show();
}

void minute10th_4(){
strip_minute10th.setPixelColor(0, 0, 0, 255);
strip_minute10th.setPixelColor(1, 0, 0, 0);
strip_minute10th.setPixelColor(2, 0, 0, 255);
strip_minute10th.setPixelColor(3, 51, 255, 51);
strip_minute10th.setPixelColor(4, 0, 0, 255);
strip_minute10th.setPixelColor(5, 0, 0, 0);
strip_minute10th.show();
}

void minute10th_5(){
strip_minute10th.setPixelColor(0, 0, 0, 255);
strip_minute10th.setPixelColor(1, 51, 255, 51);
strip_minute10th.setPixelColor(2, 0, 0, 255);
strip_minute10th.setPixelColor(3, 0, 0, 0);
strip_minute10th.setPixelColor(4, 0, 0, 255);
strip_minute10th.setPixelColor(5, 51, 255, 51);
strip_minute10th.show();
}

void minute1st_0(){
strip_minute1st.setPixelColor(0, 0, 0, 255);
strip_minute1st.setPixelColor(1, 51, 255, 51);
strip_minute1st.setPixelColor(2, 0, 0, 255);
strip_minute1st.setPixelColor(3, 51, 255, 51);
strip_minute1st.setPixelColor(4, 0, 0, 255);
strip_minute1st.setPixelColor(5, 51, 255, 51);
strip_minute1st.setPixelColor(6, 0, 0, 255);
strip_minute1st.setPixelColor(7, 51, 255, 51);
strip_minute1st.setPixelColor(8, 0, 0, 255);
strip_minute1st.setPixelColor(9, 51, 255, 51);
strip_minute1st.show();
}

void minute1st_1(){
strip_minute1st.setPixelColor(0, 0, 0, 0);
strip_minute1st.setPixelColor(1, 0, 0, 255);
strip_minute1st.setPixelColor(2, 0, 0, 255);
strip_minute1st.setPixelColor(3, 0, 0, 255);
strip_minute1st.setPixelColor(4, 0, 0, 255);
strip_minute1st.setPixelColor(5, 0, 0, 255);
strip_minute1st.setPixelColor(6, 0, 0, 255);
strip_minute1st.setPixelColor(7, 0, 0, 255);
strip_minute1st.setPixelColor(8, 0, 0, 255);
strip_minute1st.setPixelColor(9, 0, 0, 0);
strip_minute1st.show();
}

void minute1st_2(){
strip_minute1st.setPixelColor(0, 0, 0, 0);
strip_minute1st.setPixelColor(1, 0, 0, 255);
strip_minute1st.setPixelColor(2, 0, 0, 255);
strip_minute1st.setPixelColor(3, 0, 0, 255);
strip_minute1st.setPixelColor(4, 0, 0, 255);
strip_minute1st.setPixelColor(5, 0, 0, 0);
strip_minute1st.setPixelColor(6, 0, 0, 255);
strip_minute1st.setPixelColor(7, 0, 0, 255);
strip_minute1st.setPixelColor(8, 0, 0, 255);
strip_minute1st.setPixelColor(9, 0, 0, 255);
strip_minute1st.show();
}

void minute1st_3(){
strip_minute1st.setPixelColor(0, 0, 0, 255);
strip_minute1st.setPixelColor(1, 0, 0, 255);
strip_minute1st.setPixelColor(2, 0, 0, 0);
strip_minute1st.setPixelColor(3, 0, 0, 255);
strip_minute1st.setPixelColor(4, 0, 0, 255);
strip_minute1st.setPixelColor(5, 0, 0, 0);
strip_minute1st.setPixelColor(6, 0, 0, 255);
strip_minute1st.setPixelColor(7, 0, 0, 255);
strip_minute1st.setPixelColor(8, 0, 0, 0);
strip_minute1st.setPixelColor(9, 0, 0, 255);
strip_minute1st.show();
}

void minute1st_4(){
strip_minute1st.setPixelColor(0, 0, 0, 0);
strip_minute1st.setPixelColor(1, 0, 0, 255);
strip_minute1st.setPixelColor(2, 0, 0, 0);
strip_minute1st.setPixelColor(3, 0, 0, 0);
strip_minute1st.setPixelColor(4, 0, 0, 255);
strip_minute1st.setPixelColor(5, 0, 0, 0);
strip_minute1st.setPixelColor(6, 0, 0, 255);
strip_minute1st.setPixelColor(7, 0, 0, 0);
strip_minute1st.setPixelColor(8, 0, 0, 0);
strip_minute1st.setPixelColor(9, 0, 0, 255);
strip_minute1st.show();
}

void minute1st_5(){
strip_minute1st.setPixelColor(0, 0, 0, 255);
strip_minute1st.setPixelColor(1, 0, 0, 0);
strip_minute1st.setPixelColor(2, 0, 0, 255);
strip_minute1st.setPixelColor(3, 0, 0, 0);
strip_minute1st.setPixelColor(4, 0, 0, 255);
strip_minute1st.setPixelColor(5, 0, 0, 0);
strip_minute1st.setPixelColor(6, 0, 0, 255);
strip_minute1st.setPixelColor(7, 0, 0, 0);
strip_minute1st.setPixelColor(8, 0, 0, 255);
strip_minute1st.setPixelColor(9, 0, 0, 0);
strip_minute1st.show();
}

void minute1st_6(){
strip_minute1st.setPixelColor(0, 0, 0, 255);
strip_minute1st.setPixelColor(1, 0, 0, 0);
strip_minute1st.setPixelColor(2, 0, 0, 255);
strip_minute1st.setPixelColor(3, 0, 0, 0);
strip_minute1st.setPixelColor(4, 0, 0, 255);
strip_minute1st.setPixelColor(5, 51, 255, 51);
strip_minute1st.setPixelColor(6, 0, 0, 255);
strip_minute1st.setPixelColor(7, 0, 0, 0);
strip_minute1st.setPixelColor(8, 0, 0, 255);
strip_minute1st.setPixelColor(9, 0, 0, 0);
strip_minute1st.show();
}

void minute1st_7(){
strip_minute1st.setPixelColor(0, 0, 0, 255);
strip_minute1st.setPixelColor(1, 0, 0, 0);
strip_minute1st.setPixelColor(2, 0, 0, 255);
strip_minute1st.setPixelColor(3, 51, 255, 51);
strip_minute1st.setPixelColor(4, 0, 0, 255);
strip_minute1st.setPixelColor(5, 0, 0, 0);
strip_minute1st.setPixelColor(6, 0, 0, 255);
strip_minute1st.setPixelColor(7, 51, 255, 51);
strip_minute1st.setPixelColor(8, 0, 0, 255);
strip_minute1st.setPixelColor(9, 0, 0, 0);
strip_minute1st.show();
}

void minute1st_8(){
strip_minute1st.setPixelColor(0, 0, 0, 255);
strip_minute1st.setPixelColor(1, 0, 0, 0);
strip_minute1st.setPixelColor(2, 0, 0, 255);
strip_minute1st.setPixelColor(3, 51, 255, 51);
strip_minute1st.setPixelColor(4, 0, 0, 255);
strip_minute1st.setPixelColor(5, 51, 255, 51);
strip_minute1st.setPixelColor(6, 0, 0, 255);
strip_minute1st.setPixelColor(7, 51, 255, 51);
strip_minute1st.setPixelColor(8, 0, 0, 255);
strip_minute1st.setPixelColor(9, 0, 0, 0);
strip_minute1st.show();
}

void minute1st_9(){
strip_minute1st.setPixelColor(0, 0, 0, 255);
strip_minute1st.setPixelColor(1, 51, 255, 51);
strip_minute1st.setPixelColor(2, 0, 0, 255);
strip_minute1st.setPixelColor(3, 51, 255, 51);
strip_minute1st.setPixelColor(4, 0, 0, 255);
strip_minute1st.setPixelColor(5, 0, 0, 0);
strip_minute1st.setPixelColor(6, 0, 0, 255);
strip_minute1st.setPixelColor(7, 51, 255, 51);
strip_minute1st.setPixelColor(8, 0, 0, 255);
strip_minute1st.setPixelColor(9, 51, 255, 51);
strip_minute1st.show();
}

Recommendations

• Internet of Things Class

22,818 Enrolled