Skip to content
Snippets Groups Projects
Select Git revision
  • 27955f45cc6ed7ba4ffac6161df9451d8db3da96
  • master default protected
2 results

Variabeln.PNG

Blame
  • blink-5b.c 221 B
    #include <avr/io.h>
    #include <avr/interrupt.h>
    
    ISR (TIMER0_COMPB_vect)
    {
      PORTD ^= 0x40;
    }
    
    int main (void)
    {
      DDRD = 0xfd;   /* binär: 1111 1101 */
      PORTD = 0x00;  /* binär: 0000 0000 */
      while (1);
      return 0;
    }