Gorazd Kovacic
/
mbed-os-example-blinky-LIGHTNING_copy
test
Diff: main.cpp
- Revision:
- 45:200518382f20
- Parent:
- 44:50aa0a0d1222
- Child:
- 46:f7d5c27c09f5
--- a/main.cpp Sun Jun 02 08:56:57 2019 +0000 +++ b/main.cpp Sun Jun 02 09:02:34 2019 +0000 @@ -69,9 +69,14 @@ wait_ms(TIME); } - + while (!myButton) + { + myServo.pulsewidth_us(MID); //NB in microseconds wait_ms(TIME); + } + + }