Ultraschall Test Geschwindigkeitsregelung
Fork of BertlLib by
Diff: BertlObjects.h
- Revision:
- 0:e0131e671ea0
- Child:
- 3:f8f0f86e3749
diff -r 000000000000 -r e0131e671ea0 BertlObjects.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BertlObjects.h Fri Apr 25 14:35:21 2014 +0000 @@ -0,0 +1,20 @@ + + + +BusOut leds(LED1,LED2,LED3,LED4); +// DigitalOut ledBlue(P1_28); // 3 blaue LEDs + +BertlDrive mL(p34, P1_1, P1_0, P1_12); +BertlDrive mR(p36, P1_4, P1_3, P1_13); + +PortEx pex; +UsDistSens us(p21,p22); + +void InitBertl() +{ + leds=0; + mL.Init(); mR.Init(); pex.Init(); + pex.useISR=0; +} + +