fb5.c
//Function to configure INT4 (PORTE 4) pin as input for the left position encoder
Function to configure INT4 (PORTE 4) pin as input for the left position encoder
Function to configure INT4 ( PORTE 4 ) pin as input for the left position encoder
void left_encoder_pin_config (void)
{
	 DDRE  = DDRE & 0xEF;			
	 PORTE = PORTE | 0x10;			
}
void left_encoder_pin_config ( void ) { DDRE = DDRE & 0xEF ; PORTE = PORTE | 0x10 ; }
Function to configure INT4 (PORTE 4) pin as input for the left position encoder
Function to configure INT4 ( PORTE 4 ) pin as input for the left position encoder
//Set the direction of the PORTE 4 pin as input //Enable internal pull-up for PORTE 4 pin