Craftybytes
Senior Member
Am still having difficulties in understanding the relevant 'code' steps to get "interrupts" working on both the 28X1 chip and 14M chip..
What I'm trying to workout is how to setup for 'interrupts' on a 14M chip with 8x 'digital' i/p lines that can output an 'interrupt' to the 28X1 chip when any of the inputs change state - more like a "programmable interrupt controller - but using a 14M chip..!!
On the 14M chip there will also be a separate i/o pin linked to the 28X1 for bi-directional data i/o - mainly for the 14M to indicate which of its input lines 'changed state' and in which direction this 'change' occurred.
I have not yet coded up for this - only at the 'flow chart' concept stage - but wondered if any picaxe users out there have ever done something like this with any of the picaxe chips..?
Any help and comments would be much appreciated..
crafty.
.
What I'm trying to workout is how to setup for 'interrupts' on a 14M chip with 8x 'digital' i/p lines that can output an 'interrupt' to the 28X1 chip when any of the inputs change state - more like a "programmable interrupt controller - but using a 14M chip..!!
On the 14M chip there will also be a separate i/o pin linked to the 28X1 for bi-directional data i/o - mainly for the 14M to indicate which of its input lines 'changed state' and in which direction this 'change' occurred.
I have not yet coded up for this - only at the 'flow chart' concept stage - but wondered if any picaxe users out there have ever done something like this with any of the picaxe chips..?
Any help and comments would be much appreciated..
crafty.
.