fork download
  1. #define F_CPU 1000000UL;
  2. #include <avr/io.h>
  3. #include <util/delay.h>
  4. int main(void) {
  5. DDRB = 0x03;
  6. while(1){
  7. PORTB = 0x01;
  8. _delay_ms(1000);
  9.  
  10. PORTB = 0x00;
  11. _delay_ms(1000);
  12. }
  13. return 0;
  14. }
Success #stdin #stdout 0.03s 25052KB
stdin
#define F_CPU 1000000UL;
#include <avr/io.h>
#include <util/delay.h>
int main(void) {
    DDRB = 0x03;
    while(1){
    PORTB = 0x01;
    _delay_ms(1000);
    
    PORTB = 0x00;
    _delay_ms(1000);
}
return 0;
}
stdout
#define F_CPU 1000000UL;
#include <avr/io.h>
#include <util/delay.h>
int main(void) {
    DDRB = 0x03;
    while(1){
    PORTB = 0x01;
    _delay_ms(1000);
    
    PORTB = 0x00;
    _delay_ms(1000);
}
return 0;
}