Mao jesephin
/
LaufTest
test
Diff: main.cpp
- Revision:
- 6:9b523c7d1475
- Parent:
- 5:e8861f51128f
- Child:
- 7:8f0594cbc89a
--- a/main.cpp Mon Jan 13 18:01:44 2020 +0000 +++ b/main.cpp Mon Jan 13 18:03:29 2020 +0000 @@ -1,17 +1,17 @@ #include "mbed.h" -//#define BUTTON1 p14 //M3:push joystick pin +#define BUTTON1 p14 //M3:push joystick pin //#define BUTTON1 A1 //NuCLEO: Taster A1 int modifyBit(int x,unsigned char position,bool State); int lauflicht(bool richtung,int time,int &anz); -void nibbbledLeds(int value); +void nibbbleLeds(int value); void printb(uint8_t x); BusOut myleds(LED1,LED2,LED3,LED4); DigitalIn button(BUTTON1); -const int INIT=ox03; +const int INIT=0x03; int main() { int anzahl,anz;