Hello
I have a general question for Port pin initialization. We set PORT to low or high using the PORT or LAT register
Sensor connected to Port B Pin 7
Led connected to Port C Pin 7
If I set PORTB = 0; PORTC = 0;
When the sensor is in high states it sends 5v to Port B Pin 7 and when It is in low states it sends 0v to Port B Pin 7
What will happens if I set PORTB = 1; PORTC = 1;
I have a general question for Port pin initialization. We set PORT to low or high using the PORT or LAT register
Sensor connected to Port B Pin 7
Led connected to Port C Pin 7
If I set PORTB = 0; PORTC = 0;
When the sensor is in high states it sends 5v to Port B Pin 7 and when It is in low states it sends 0v to Port B Pin 7
What will happens if I set PORTB = 1; PORTC = 1;