mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Updating to Firmata r82 (e.g. including I2C in StandardFirmata).
http://code.google.com/p/arduino/issues/detail?id=633
This commit is contained in:
@ -68,7 +68,6 @@ void FirmataClass::begin(long speed)
|
||||
Serial.begin(speed);
|
||||
FirmataSerial = Serial;
|
||||
blinkVersion();
|
||||
delay(300);
|
||||
printVersion();
|
||||
printFirmwareVersion();
|
||||
}
|
||||
@ -92,11 +91,10 @@ void FirmataClass::blinkVersion(void)
|
||||
{
|
||||
// flash the pin with the protocol version
|
||||
pinMode(VERSION_BLINK_PIN,OUTPUT);
|
||||
pin13strobe(FIRMATA_MAJOR_VERSION, 200, 400);
|
||||
delay(300);
|
||||
pin13strobe(2,1,4); // separator, a quick burst
|
||||
delay(300);
|
||||
pin13strobe(FIRMATA_MINOR_VERSION, 200, 400);
|
||||
pin13strobe(FIRMATA_MAJOR_VERSION, 40, 210);
|
||||
delay(250);
|
||||
pin13strobe(FIRMATA_MINOR_VERSION, 40, 210);
|
||||
delay(125);
|
||||
}
|
||||
|
||||
void FirmataClass::printFirmwareVersion(void)
|
||||
|
Reference in New Issue
Block a user