fork download
  1. /**
  2.  * blink.c
  3.  *
  4.  * Blink an LED on the Atmega16.
  5.  */
  6.  
  7. #define F_CPU 16000000UL
  8.  
  9. #include <avr/io.h>
  10. #include <util/delay.h>
  11.  
  12. int main(void)
  13. {
  14. DDRA = ~0;
  15. PORTA = 0;
  16.  
  17. for (;;)
  18. {
  19. PORTA = ~PORTA;
  20. _delay_ms(500);
  21. }
  22. return 0;
  23. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:9:20: fatal error: avr/io.h: No such file or directory
compilation terminated.
stdout
Standard output is empty