LED Maestro
Senior Member
Hello again,
I am having trouble with setint commands. I am using a 28X2 and want the interrupt command to activate when B.1 = 1. I thought this would work
but that, I found, only goes to interrupt when C.1 = 1. I have looked through the manuals and cant find anything of much help.
If I could have some pointers, I would be very grateful
Thanks,
I am having trouble with setint commands. I am using a 28X2 and want the interrupt command to activate when B.1 = 1. I thought this would work
Code:
setint %00000010,%00000010
LEDon: pause 1500
do if pinb.2 = 1 then
high d.7 goto LEDon
else loop endif
interrupt:
high b.4
if pinb.1 = 1 then interrupt
setint %00000010,%00000010
low b.4
return
If I could have some pointers, I would be very grateful
Thanks,