main

Dependencies:   mbed Alarmni_sustav

Fork of Alarm_Barnjak by Niko Barnjak

https://os.mbed.com/media/uploads/nbarnjak/shema.png

Files at this revision

API Documentation at this revision

Comitter:
nbarnjak
Date:
Thu May 06 13:55:03 2021 +0000
Parent:
0:d33881c5ba2d
Commit message:
LED_lib

Changed in this revision

LED.lib Show diff for this revision Revisions of this file
LED_Library.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d33881c5ba2d -r ffe9956395e9 LED.lib
--- a/LED.lib	Thu May 06 13:29:11 2021 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://os.mbed.com/teams/TVZ2020/code/Alarmni_sustav/#a98432d290c3
diff -r d33881c5ba2d -r ffe9956395e9 LED_Library.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LED_Library.lib	Thu May 06 13:55:03 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/TVZ2020/code/Alarmni_sustav/#10452462b2fc
diff -r d33881c5ba2d -r ffe9956395e9 main.cpp
--- a/main.cpp	Thu May 06 13:29:11 2021 +0000
+++ b/main.cpp	Thu May 06 13:55:03 2021 +0000
@@ -1,11 +1,11 @@
 #include "mbed.h"
 #include "klasaLED.h"
 Serial pc(USBTX, USBRX);
-LED led1(A0); //alarm-zelena
-LED led2(D2);//centrala-žuta-signalna LED
-LED led3(D3);//alarm-crvena
-LED led4(D4);//centrala-zelena
-LED led5(D5);//centrala-crvena
+LED_ led1(A0); //alarm-zelena
+LED_ led2(D2);//centrala-žuta-signalna LED
+LED_ led3(D3);//alarm-crvena
+LED_ led4(D4);//centrala-zelena
+LED_ led5(D5);//centrala-crvena
 InterruptIn button(USER_BUTTON);
 Timer senzor;
 Timer alarm;