i've tried that ways but still have a problem...i still can't communicate CMUcam with the PIC...
define osc 20
include "modedefs.bas"
main:
serout portc.6,84,["L1 1",CR]
serin portc.7,84,[(":")]
debug "LED on ACK:received OK",CR
pause 500
serout portc.6,84,["L1 2",CR]
serin portc.7,84,[(":")]
debug "LED off ACK:received OK",CR
pause 500
goto main
this coding has no error but it's not working...can you comment why it happen???...




Bookmarks