Tak jsem to vyřešil. Opět jsem si naběhnul na nesprávný příklad v knize od BENu.
Začátek programu má být:
[code]’ Preuseni
$regfile = “m48def.dat”
$crystal = 8000000
Enable Interrupts
Enable Int0
Dim A As Byte
Dim B As Integer
Config Portb = Output
Config Timer0 = Timer , Prescale = 1024
On Int0 Prerus[/code]