Probier mal folgendes:
Code:'test.BAS: Rote LED an Pin PD3, gelbe an Pin PD4, grüne an PD5 '-------------------------------------------------------------- $regfile = "m8def.dat" 'ATMega8 $crystal = 16000000 'Quarz: 16 MHz config portd.3 = output 'Pin PD3 als Ausgang konfigurieren config portd.4 = output config portd.5 = output Do set portd.3 wait 1 set portd.4 wait 1 reset portd.3 reset protd.4 set portd.5 wait 1 reset portd.5 set portd.4 wait 1 reset portd.4 Loop End
Lesezeichen