Ich habe auch keine beschaltung. Ich messe mit einem Oszi. Ich habe mal die Interne Pullups eingeschaltet (ich meine mich zu erinnern das es so geht)
Es hat keine auswirkungen. Solten die unbeschalteten Pins mit internen pullups nicht ca. 5V haben?Code:$regfile = "attiny84.dat" $crystal = 1000000 $hwstack = 32 $swstack = 32 $framesize = 32 Config Porta.0 = Input Porta.0 = 1 Config Porta.1 = Input Porta.1 = 1 Config Porta.2 = Input Porta.2 = 1 Config Porta.3 = Output 'Config Porta.4 = SCK 'Config Porta.5 = MISO 'Config Porta.6 = MOSI Config Porta.7 = Output Config Portb.0 = Input Portb.0 = 1 Config Portb.1 = Input Portb.1 = 1 Config Portb.2 = Output 'Config Portb.3 = Reset Do Porta.7 = Pina.0 Porta.3 = 1 Portb.2 = 1 Wait 1 Porta.7 = Pina.0 Porta.3 = 0 Portb.2 = 0 Wait 1 Loop End 'end program
Lesezeichen