libraries/PololuMotorController/pmc.cpp
// Public: Initialize the motor controller and unique serial communications
Initialize the motor controller and unique serial communications
Initialize the motor controller and unique serial communications
void MotorController::init(int txPin, int resetPin)
{
	tx = txPin;
	pinMode(txPin, OUTPUT); 
	digitalWrite(txPin, HIGH);
	delay(100);
	pinMode(resetPin, OUTPUT);
	digitalWrite(resetPin, LOW);
	delay(10);
	digitalWrite(resetPin, HIGH);
	delay(100);
}
void MotorController :: init ( int txPin , int resetPin ) { tx = txPin ; pinMode ( txPin , OUTPUT ) ; digitalWrite ( txPin , HIGH ) ; delay ( 100 ) ; pinMode ( resetPin , OUTPUT ) ; digitalWrite ( resetPin , LOW ) ; delay ( 10 ) ; digitalWrite ( resetPin , HIGH ) ; delay ( 100 ) ; }
Public: Initialize the motor controller and unique serial communications
Public : Initialize the motor controller and unique serial communications