hm...

Code:

Code:
#include <avr/io.h>
#include "i2cmaster.h"
#include "twi_register.h"

 const char Zahl[] = {
    0b01000100, 
    0b01111101, 
    0b10100100, 
    0b00110100, 
    0b00011101, 
    0b00010110, 
    0b00000110, 
    0b01111100, 
    0b00000100, 
    0b00010100
};

void twi_send( unsigned char befehl )
{
    i2c_start(0b01000110+I2C_WRITE);            
    i2c_write(befehl);                            
    i2c_stop();        
    
}

int main(void)
{                              
  i2c_init();                                

  while(1)
  {  
    twi_send(0b1111101);
                         
  }
  return 0;
}
Compiler meckert:

Code:
test.o: In function `twi_send':
test.c:20: undefined reference to `i2c_start'
test.c:21: undefined reference to `i2c_write'
test.c:22: undefined reference to `i2c_stop'
test.o: In function `main':
test.c:28: undefined reference to `i2c_init'
make: *** [test.elf] Error 1
Kompilierung fehlgeschlagen.