Microcontroller › PIC › 3 INPUT sensor PIC Programming › hi chelah, You
May 17, 2012 at 11:08 am
#7845
amit jha
Participant
hi chelah,
You need some changes in you coding. use connection carefully . your obstacle sensor is connected with RA3, water sensor with RA2, dark sensor with RA0, buzzer with RB2 & vibrator with RB3 as per your circuit diagram. use this connection all where. you have used RB3 for your buzzer while switching on & RB2 for buzzer while switching of. again use code if and else for all the condition. try the and tell me what happen.
amit jha