覚書
configTime(9 * 3600L, 0,
"ntp.nict.jp"
,
"time.google.com"
,
"ntp.jst.mfeed.ad.jp"
);
configTzTime(
"JST-9"
,
"ntp.nict.jp"
,
"time.google.com"
,
"ntp.jst.mfeed.ad.jp"
);
getLocalTime(&timeInfo);
time_t now; struct tm * timeinfo; time(&now); timeinfo = localtime(&now); Serial.println(timeinfo->tm_hour); delay(1000);
setenv("TZ","JST-9",1);
受信
NewLineプロパティにChar(13)を設定してみてください。