Home › Forums › Microcontrollers › PIC Microcontroller › Interfacing HC-SR04 Ultrasonic Sensor with PIC 16F676 using Hi-Tech C › Reply To: Interfacing HC-SR04 Ultrasonic Sensor with PIC 16F676 using Hi-Tech C
January 9, 2015 at 1:23 pm
#10442
sahu
Participant
you- Remove unnecessary statements
me- i think here every statements is necessary
you- Optimize the Lcd_Port() by using single statement, eg : PORTC = a by making necessary changes in the circuit diagram.
me – if i use single statement, eg : PORTC ,then no need Lcd_Port()