Hallo,
ich habe eine Ausgabe beim 90s213 das geht.
elbes Prog nur mit dem tiny kommt nur M.. (Hex 80 00 80 00)
Gibt es unterschiede hier zwischen Atmels?Code:'$prog &HFF , &H64 , &HDF , &H00 ' generated. Take care that the chip supports all fuse bytes. 'test.BAS: UART-Empfänger ohne Interrupt 'Hardware: MAX232 an PD0/PD1, Nullmodemkabel zum PC '--------------------------------------------------- '$regfile = "ATtiny2313.dat" 'AT90S2313-Deklarationen $regfile = "2313def.dat" 'AT90S2313-Deklarationen '$crystal = 3686400 'Quarz: 3.6864 MHz $crystal = 8000000 'Quarz: 8.0000 MHz $baud = 9600 'Baudrate der UART: 9600 Baud Ddrd = &B1111000 'Pin PD3/4/5 Ausgang, Rest Eingang Portd = &B0000100 'PullUp von Pin PD2 aktivieren (wehen des Schalters) Do Portd.6 = 1 Portd.5 = 1 Waitms 500 Portd.6 = 0 Portd.5 = 0 Print "alles aus!" Loop End
Oder ist mein attiny2313 defekt?







Zitieren

Lesezeichen