Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Projekt.h
- Revision:
- 1:07adf146d948
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Projekt.h Tue Nov 29 20:35:47 2016 +0000
@@ -0,0 +1,18 @@
+#ifndef PROJEKT_H
+#define PROJEKT_H
+
+#include "mbed.h"
+
+class Projekt {
+ public:
+ Projekt(PinName startPin);
+ private:
+ InterruptIn start;
+ Timer time;
+ DigitalOut led1, led2, led3, led4;
+ void ukljuci();
+ void iskljuci();
+ bool ukljuceno;
+
+};
+#endif
\ No newline at end of file