Martin Werluschnig
/
BertlTemplate2_Linienfahren
BertlTemplate2_Linienfahren
BertlTemplate.cpp
- Committer:
- hollegha2
- Date:
- 2016-05-24
- Revision:
- 3:6a490ad8cb46
- Parent:
- 2:d24a3d2438a4
- Child:
- 4:4b71af20b3b7
File content as of revision 3:6a490ad8cb46:
#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); 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; }