fb5.c
//Function to configure INT5 (PORTE 5) pin as input for the right position encoder
Function to configure INT5 (PORTE 5) pin as input for the right position encoder
Function to configure INT5 ( PORTE 5 ) pin as input for the right position encoder
void right_encoder_pin_config (void)
{
	 DDRE  = DDRE & 0xDF;			
	 PORTE = PORTE | 0x20;			
}
void right_encoder_pin_config ( void ) { DDRE = DDRE & 0xDF ; PORTE = PORTE | 0x20 ; }
Function to configure INT5 (PORTE 5) pin as input for the right position encoder
Function to configure INT5 ( PORTE 5 ) pin as input for the right position encoder
//Set the direction of the PORTE 4 pin as input //Enable internal pull-up for PORTE 4 pin