Quellcode ansehen

/*
    Author:                2006 Julian von Mendel
    License:               LGPL
    Compile with:          atmel mega8 up main.c lib.c
    Atmel:                 ATMEGA8
    Clock:                 4 Mhz
    Pins:
          PC6  RESET       1  X
          PD0  RXD         2  -
          PD1  TXD         3  -
          PD2  INT0        4  -
          PD3  INT1        5  -
          PD4  XCK/T0      6  -
          VCC              7  X
          GND              8  X
          PB6  XTAL1/TOSC1 9  -
          PB7  XTAL2/TOSC2 10 -
          PD5  T1          11 -
          PD6  AIN0        12 -
          PD7  AIN1        13  -
          PB0  ICP1        14 -
          PB1  OC1A        15 -
          PB2  OC1B/SS     16 -
          PB3  OC2/MOSI    17 -
          PB4  MISO        18 -
          PB5  SCK         19 -
          AVCC             20 X
          AREF             21 X
          GND              22 X
          PC0  ADC0        23 -
          PC1  ADC1        24 -
          PC2  ADC2        25 -
          PC3  ADC3        26 -
          PC4  ADC4/SDA    27 -
          PC5  ADC5/SCL    28 -
*/

#include "config.h"
#include "lib.h"
#include <stdlib.h>

int main(void)
{
    /* Programmcode */

    return(0);
}

© 2009 Julian von Mendel (http://derjulian.net) | Datum: 26.04.2024