示例#1
0
void sendCalibration()
{
    serialBegin();
    dumpCalibration();
    printNL();
    dumpCalibration();
    printNL();
    serialEnd();
}
示例#2
0
void main(void)
{
	serialBegin(9600);
	TurnOn(9600);          		//module power on
	InitParam(PARAM_SET_1);		//configure the module  
	Echo(1);               		//enable AT echo
	
    ver=LibVer();
    printf("Response Ver %d\n",ver);

}
示例#3
0
void powerOn()
{
    if(state != Off)
        return;
    if(settings.UART == Settings::Disabled)
        return;

    serialBegin();

    state = Starting;
}
示例#4
0
void powerOn()
{

#ifdef ENABLE_SERIAL_LOG
    if(state != Off)
        return;
    if(settings.UART_ == Settings::Disabled)
        return;

    serialBegin();

    state = Starting;
#endif //ENABLE_SERIAL_LOG
}
void HardwareSerial::begin(long speed)
{
  serialBegin(speed);
}