funktionen

Dependencies:   mbed

Revision:
2:5b052d18a113
Parent:
1:2beb3ea0c40f
Child:
3:57ccaba4a24d
--- a/main.cpp	Mon Jan 13 17:04:32 2020 +0000
+++ b/main.cpp	Mon Jan 13 17:08:24 2020 +0000
@@ -1,7 +1,13 @@
 #include "mbed.h"
 
-#define BUTTON p14
+#define BUTTON1 p14
+
 int modifyBit(int x, unsigned char position, bool State);
 int lauflicht(bool richtung, int time, int &anz);
 void nibbleLeds(int value);
-void printb(uint8_t x);
\ No newline at end of file
+void printb(uint8_t x);
+
+BusOut myleds(LED1,LED2,LED3,LED4);
+DigitalIn button(BUTTON1);
+
+const int INIT = 0x03;