sync_rtc: sync_rtc This functions allows to sync the Real-Time-Clock of...

View source: R/sync_rtc.R

sync_rtcR Documentation

sync_rtc This functions allows to sync the Real-Time-Clock of the logger with the computer's time. Plug in the cable, check that the switch is in 'off' position, power the logger. Then call the function as sync_rtc(). This should most of the time works, but in specific cases you may have to provide the port name directly (see below).

Description

sync_rtc This functions allows to sync the Real-Time-Clock of the logger with the computer's time. Plug in the cable, check that the switch is in 'off' position, power the logger. Then call the function as sync_rtc(). This should most of the time works, but in specific cases you may have to provide the port name directly (see below).

Usage

sync_rtc(port = "auto", wait = 10)

Arguments

port

character string; either "auto" (default), which will use the last port (windows) or the ttyUSB0 port (linux), or directly the name of a port (e.g., "COM3")

wait

number of seconds during which the function tries to sync. Default to 10.


schamaille/weheaR documentation built on June 5, 2022, 11:25 p.m.