Closed pinocchiodrc closed 9 years ago
I am not sure what your question is. Did you try this? Does it work? Does it give you errors?
sorry, I mean I didnt find the command. Now I know there is actully no Pulse_SEQUENCE command in Firmata. I creat a new by myself and it works now. thanks!
first of all thanks for the nice library. Im just trying to setup an LED blink function with standardFirmata. But I didnt find the Sysex in Firmata.h. I did so, but I think it wont work.
#define DIGITAL_PULSE 0x91
void Digitalpulsecallback()
{
digitalWrite(13, LOW);
delayMicroseconds(1000);
digitalWrite(13, HIGH);
delayMicroseconds(1);
digitalWrite(13, LOW);
delayMicroseconds(1000);
}
void setup()
{
Firmata.attach(DIGITAL_PULSE, Digitalpulsecallback);
}
Is there someone, who knows how to make this and what should I in standardFirmata add? Thanks!