Riad_ Bajraktarevic
/
Bajraktarevic_Test
Main
Diff: main.cpp
- Revision:
- 5:eb2e43da141c
- Parent:
- 4:9e935689c3c4
- Child:
- 6:eaf7d563b10e
--- a/main.cpp Mon Jan 13 17:21:21 2020 +0000 +++ b/main.cpp Mon Jan 13 17:24:52 2020 +0000 @@ -17,8 +17,17 @@ { int anzahl, anz; uint8_t value = INIT; - - + + anzahl = lauflicht (true, 400, anz=0); + printf("anzahl = %d\n", anzahl); + + nibbleLeds(value); + printb(value); + value = modifyBit(value, 2, 1); + printb(myleds); + printb(modifyBit(INIT, 3, 1)); + wait(0.1); + } int modifyBit (int x, uint8_t position, bool State)