/*void setup() {
// put your setup code here, to run once:
DDRD = B11111111;
}
void loop() {
// put your main code here, to run repeatedly:
PORTD = 0xAA;
delay(500);
PORTD = 0x00;
delay(500);
}
*/
//-------------------------
// C Code for Blinking LED
//-------------------------
extern "C"
{
void start();
void led(byte);
}
//----------------------------------------------------
void setup()
{
start();
}
//----------------------------------------------------
void loop()
{
led(1);
led(0);
}