Help in IR sensor c programming coding

Thread Starter


Joined Nov 1, 2011
Hi i am newbies in electronic field , i have the cousework that need to create a simple traffic light system by using the 5v infrared sensor with pic 16F628a.The problem is how i set the c programming coding for Ir sensor by using MBLAB. The how i determine ir sensor that is detected in logic "1".Your reply will appreciate .Thanks.