stevecoulson
New Member
Hi, I am trying to get interrupts to work (again) but have hit a problem. My very simple code looks like this :-
Interrupt:
Low B. 1
If pin C. 1 = 1 then Interrupt
setint %00000100, %00000100
Return
The Picaxe editor does not like the line "If pin C = 1 then interrupt".
It tells me it is a syntax error but that line is taken almost exactly out of the Picaxe manual (page 83 of Getting Started). What am I doing wrong? Thanks in advance. Steve Coulson.
Interrupt:
Low B. 1
If pin C. 1 = 1 then Interrupt
setint %00000100, %00000100
Return
The Picaxe editor does not like the line "If pin C = 1 then interrupt".
It tells me it is a syntax error but that line is taken almost exactly out of the Picaxe manual (page 83 of Getting Started). What am I doing wrong? Thanks in advance. Steve Coulson.