programming an SFR04 sonar device using C

Thread Starter

PANSONNIC

Joined Jan 4, 2009
15
Hi all,
I am programming an SFR04 sonar device using C. I have got a PICDEM2 plus starter kit from Microchip. com.
I am using an 18F1320 chip that came with the board/kit. What I would like to do is use the L.E.D's on the kit to flash when an object is detected. I have a progamme but am having trouble incorperating the L.E.D's with it. I have put the programme on an attached file. Any pointers or help would be great.

Cheers

Pansonnic
 

Attachments

Top