michael hollegha
/
BertlBlinkDemo
BertlBlinkDemo
Fork of BertlTemplate2 by
Diff: BertlTemplate.cpp
- Revision:
- 5:a6f2a5a74760
- Parent:
- 4:4b71af20b3b7
--- a/BertlTemplate.cpp Tue May 24 11:44:20 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ - -#include "mbed.h" -#include "Serial_HL.h" -#include "Bertl14.h" -#include "BertlObjects.h" - -// main=2^0 LS ENC 2^2 -BusOut boardPow(p30, P1_6, P1_7); - -// ls5 nur beim Betrl15 -// AnalogInHL ls1(p18), ls2(p16), ls3(p19), ls4(p17); // B14 - -AnalogInHL ls1(p18), ls2(p16), ls3(p20), ls4(p19), ls5(p17); // B15 - -int main(void) -{ - boardPow=1; wait_ms(10); - InitBertl(); - pex.useISR=0; leds=9; - pex.ClearLeds(); - - while(1) - { - mL.SetPow(0.2); mR.SetPow(0.2); - } - - return 1; -} - -