.

Dependents:   Konstrukcijski_Blazevic kontrola_ulaza_IF

Revision:
0:b3bc716e5bea
Child:
1:aa26b9c6dc15
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Ledica.cpp	Tue Apr 06 12:07:11 2021 +0000
@@ -0,0 +1,14 @@
+#include "Ledica.h"
+#include "mbed.h"
+
+Ledica::Ledica(PinName pin) : _pin(pin){
+    _pin = 0;
+    }
+    
+void Ledica::status(int status){
+    _pin = status;
+    }
+void Ledica::flipp(){
+    _pin = !_pin;
+    }
+    
\ No newline at end of file