torstai 15. marraskuuta 2018

5.3.3.4

PART 1
STEP 1
           a. Wind_RT, Power Main RT, Coal_RT
           b.-
           c. Power access point
           d. yes, Coal Power Point
           e. Smart Power grid switch
           f. it uses most energy
           g. 100.2.0.1
           h. Power, power, Solar Cells


PART2 
         

if (solar > 0) {
console.log("Using Solar Power...");
analogWrite(A3, 1);
} else if (wind > 0) {
console.log("Using Wind Power...");
analogWrite(A3, 2);
} else if (coal > 0) {
console.log("Using Coal Power...");
analogWrite(A3, 0);
} else {
console.log("Blackout!");
analogWrite(A3, 5);
}

perjantai 9. marraskuuta 2018

5.3.2.8

STEP1 b. Smart Grid, City Offices, Smart Parking, Smart Traffic
c. Smart Home City Offices, Cell Tower
d. Toinen menee City Officeen ja toinen Traffic Controliin
e. Smart Home, Smart Parking, City Offices
f. Smartphone ja Tablet
g. Smartphone ja S Parking RT

PART 2 STEP1 e.

f. Metal Detection muuttui 0>20

STEP2 d. 

f. 


PART3 b. Vaihtuu vihreäksi
c. vaihtuu punaiseksi