extern "C" void __cxa_pure_virtual(void); //for C++ defines /* Blink test F_CPU setting is not working */ #include //import main Arduino header file int main(){ init(); //-- init Arduino library - delay, PWM setup messes with timers, millis(), micros() etc don't work without it pinMode(13, OUTPUT); while(1) { digitalWrite(13, HIGH); // set the LED on delay(1000); // wait for a second digitalWrite(13, LOW); // set the LED off delay(1000); // wait for a second } }