Here is what I am trying do really do with this device:
<code>
@ __config _MCLRE_OFF & _WDT_ON & _CP_OFF
Include "modedefs.bas"
CMCON0=0
SI var GPIO.0 'Define serial in pin
WakePin var GPIO.1 'Define Wake Pin
B0 var byte
start:
low wakepin 'Set the WakePin low
serin SI,N9600,10,start,b0 'Wait for an interval
high wakepin 'Set the WakePin High, we got our interval
B0 = B0 * 60 'Convert the interval to seconds
sleep b0 'Sleep for the interval specified
goto start 'Go to "Start"
</code>




Bookmarks