Ultraschall Test Geschwindigkeitsregelung

Fork of BertlLib by michael hollegha

BertlObjects.h

Committer:
hollegha2
Date:
2015-02-24
Revision:
3:f8f0f86e3749
Parent:
0:e0131e671ea0
Child:
4:e29605512d8a

File content as of revision 3:f8f0f86e3749:




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_3, P1_4, P1_13); 

PortEx pex;
UsDistSens us(p21,p22);

void InitBertl()
{
	leds=0;
  mL.Init(); mR.Init(); pex.Init();
	pex.useISR=0;
}