Turn on LED when sonar detects using C

Thread Starter

PANSONNIC

Joined Jan 4, 2009
15
Hi,

I have a SFR04 sonar device and I would like an L.E.D to turn on when the sonar detects an object and off when the object is gone. I have been trying to programme a PIC16F628 chip using C. I have got a PICdem2plus kit.
I am a programming beginner so any help would be great
 

Thread Starter

PANSONNIC

Joined Jan 4, 2009
15
I am using an MPLAB ICD 2 evaluation kit (DV164005), A PICDEM 2 plus demonstration board. I am hopeing to use C as the programming software.

Thanks

Pansonnic
 

Thread Starter

PANSONNIC

Joined Jan 4, 2009
15
Thankyou for your reply, but I am still Struggleing to get it working. I know and understand how it works but, Im new to programming and am having difficulty writing the programme in C. Could any1 help

Many Thanks
 

LesterPhil

Joined Feb 25, 2009
10
Is that project requires a C programing language or any will do? Because I'm a very good mikroC programmer. The sentax is just the same as the ansi C. and it has a library to be for future use.
 
Top