Matej Slapsak
/
UV_LED
test
Diff: main.cpp
- Revision:
- 1:ceefb922cff9
- Parent:
- 0:43c630791109
- Child:
- 2:549286fb28d4
diff -r 43c630791109 -r ceefb922cff9 main.cpp --- a/main.cpp Mon Dec 10 14:22:31 2018 +0000 +++ b/main.cpp Mon Dec 10 14:34:16 2018 +0000 @@ -87,7 +87,14 @@ myled_green = OFF; myled_red = OFF; - if(start2 == 0) + if(start1 == 0) + { + myled_blue = ON; + merjenjeTokaInNapetosti(); + wait(2); + } + + else if(start2 == 0) { myled_green = ON; printf ("\r\n"); @@ -137,13 +144,6 @@ wait(2); myled_green = OFF; } - - else if(start1 == 0) - { - myled_blue = ON; - merjenjeTokaInNapetosti(); - wait(2); - } else if(start3 == 0) {