Chip stürtzt (schon wieder) ab:
Dieses mal im Int0:
Code:
Isr_stop:
  Disable Int0
  Incr Hits

  If Inp_stop = 1 Then Print "STOP 1"
  If Inp_stop = 0 Then Print "STOP 0"

  If Ist >= Is_ok Then
   Gosub Savedata
   Soll = Emin
   Print Soll ; " on stop_ok"
  Else
   If Hits = 3 Then
    Gosub Savedata
    Soll = Emin
    Print Soll ; " on stop_3hits"
   End If
   If Hits < 3 Then
    I1 = Ist - 500
    If I1 < 0 Then I1 = 0
    Soll = I1
    Print Soll ; " on stop_hit"
    After_back = 1
   End If
  End If
  Eifr = &B00000001
  Enable Int0
Return
ich kann mir den Fehler hier nicht erklären (der interrupt kann ja nicht in sich aufgerufen werden da er ja disabled wird)

bitte helft mir bei diesem kleinen problemchen.

danke!