This is an old revision of the document!
Code to send data to the PIC
void setup()
{
pinMode(3, OUTPUT); // sets the digital pin as output
}
void loop()
{
digitalWrite(3, HIGH);
delayMicroseconds(2000);
digitalWrite(3, LOW);
delay(100);
}
void setup()
{
pinMode(3, OUTPUT); // sets the digital pin as output
}
void loop()
{
digitalWrite(3, HIGH);
delayMicroseconds(2000);
digitalWrite(3, LOW);
delay(100);
}