I want to use a PicAxe 18X (because I have one handy) in a wireless remote-triggering camera system. Basically, all I need to do is send a 'begin recording' and 'stop recording' command.
However - I also want to run other tasks as well, so I'd like to have a system that doesn't sit on the serin command.
Thus my question - can I use the pin where my wireless link is connected as a regular input? My idea is to have setint examine the pin for a high signal, and the interrupt-processing routine then do the serial-port processing via serin to read the command and store it in a variable. On return from interrupt, the command would be read and acted on.
Since I'm using a 'simple' RF link, rather than an RF modem - I believe that I can transmit an active-high signal to trigger the interrupt, and then use serout/serin to do the send/receive portion.
Is this possible...?
However - I also want to run other tasks as well, so I'd like to have a system that doesn't sit on the serin command.
Thus my question - can I use the pin where my wireless link is connected as a regular input? My idea is to have setint examine the pin for a high signal, and the interrupt-processing routine then do the serial-port processing via serin to read the command and store it in a variable. On return from interrupt, the command would be read and acted on.
Since I'm using a 'simple' RF link, rather than an RF modem - I believe that I can transmit an active-high signal to trigger the interrupt, and then use serout/serin to do the send/receive portion.
Is this possible...?