Using C++ class in Library as a test for my program

Dependents:   999_konstrukcijski_Nkovacic

Library uz konstrukcijski rad. Služi ome da prebacuje stanje pina u suproton sa NE operatorom (!) Broj pina nakoji je spojena LEDica zadaje se u glavnom (main) programu.

Files at this revision

API Documentation at this revision

Comitter:
nkovacic
Date:
Sun Nov 15 19:47:02 2020 +0000
Parent:
0:7db1dc5a875c
Commit message:
Ok

Changed in this revision

led_Za_KRAJ.cpp Show annotated file Show diff for this revision Revisions of this file
led_Za_KRAJ.h Show annotated file Show diff for this revision Revisions of this file
--- a/led_Za_KRAJ.cpp	Tue Nov 10 12:24:22 2020 +0000
+++ b/led_Za_KRAJ.cpp	Sun Nov 15 19:47:02 2020 +0000
@@ -6,7 +6,7 @@
 {
     ledKraj=pin;
 }
-void led_Za_KRAJ::ledblink(int n)
+void led_Za_KRAJ::ledblink()
 {
     ledKraj = !ledKraj;
     wait(0.05);
--- a/led_Za_KRAJ.h	Tue Nov 10 12:24:22 2020 +0000
+++ b/led_Za_KRAJ.h	Sun Nov 15 19:47:02 2020 +0000
@@ -8,7 +8,7 @@
 public:
 
     led_Za_KRAJ(PinName pin);
-    void ledblink(int n);
+    void ledblink();
 
 private: