Ultraschall Test Geschwindigkeitsregelung

Fork of BertlLib by michael hollegha

BertlObjects.h

Committer:
hollegha2
Date:
2015-02-24
Revision:
4:e29605512d8a
Parent:
3:f8f0f86e3749
Child:
7:01d2bc098b6d

File content as of revision 4:e29605512d8a:




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);  // changed

PortEx pex;
UsDistSens us(p21,p22);

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