Gast
#3118795
Hallo, nun mal ein bisschen Ausführlicher.... ich habe folgendes Problem... ich möchte mir einen Würfel basteln... die Hardware ist soweit fertig nun habe ich ein Problem mit der Software... ich möchte nach einem Interrupt, in die ISR Springen... was lauft Bascom Simulation auch funktioniert... wenn ich es aber in meine Schaltung Flashe (Tiny13) passiert dort leider nichts... Software... Hardware ist mit am Anhang... (nur für den Interrupt) würde mich über Hilfe freuen... $regfile = "attiny13.dat" $crystal = 120000000 $hwstack = 10 $swstack = 10 $framesize = 20 'Config Powermode = Idle On Int0 Int0service Config Int0 = Low Level Enable Int0 Enable Interrupts Config Portb = Output Dim Zahl As Byte Main: Do Powerdown Loop Int0service: Portb = &B11101111 '1 Waitms 100 Portb = &B11111111 Waitms 100 Portb = &B11110111 '2 Waitms 100 Portb = &B11111111 Waitms 100 Portb = &B11100111 '3 Waitms 100 Portb = &B11111111 Waitms 100 Portb = &B11110011 Waitms 100 '4 Portb = &B11111111 Waitms 100 Portb = &B11100011 Waitms 100 '5 Portb = &B11111111 Waitms 100 Portb = &B11110001 Waitms 100 Portb = &B11111111 Return