예제 #1
0
파일: GPS.c 프로젝트: ilikecake/IMU-Small
/** Returns 0 if the device initalizes correctly, 0xFF if not */
uint8_t GPS_Init(void)
{

	//Set up PORT C pin 7 for enabling the antenna bias
	DDRC |= (1<<6)|(1<<7);
	GPS_SetBias(0);		//Bias is off
	GPS_Reset(1);		//GPS is reset

	//Set up UART
	UARTinit();
	
	return 0x00;
}
예제 #2
0
파일: gps.c 프로젝트: EPLab/PipeTect-Roocas
void GPS_Initialize(void)
{
	GPS_Enable();
    
    GPS_Reset();
}