Hi!

Also was ich schon probiert habe ist folgendes:

Code:
$regfile = "m32def.dat"                                     'Die Anweisung bestimmt Ccntrollertyp, hier AVR Mega 32
$crystal = 16000000

$baud = 9600

Wait 5

I2cinit
'Startet den I2C Bus

' I2C SETUP

Config Scl = Portc.0
Config Sda = Portc.1
Config Twi = 100000

'LED AUS
Config Portc.2 = Output
Config Portc.3 = Output

Portc.2 = 0
Portc.3 = 0

' CONSTANTS                                                   'Anx-S20 Board Slave Adresse
Const Anx = &HC2

' FUNCTIONS
Declare Sub Anxwrite(byval Servo As Byte , Byval Pos As Byte)
...
Danke!

Gruß

Dennis