NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
bool ReadSensorMSRTClock ( const byte  port,
byte &  sec,
byte &  min,
byte &  hrs,
byte &  dow,
byte &  date,
byte &  month,
byte &  year 
)
inline

Read mindsensors RTClock values.

Read real-time clock values from the Mindsensors RTClock sensor. Returns a boolean value indicating whether or not the operation completed successfully. The port must be configured as a Lowspeed port before using this function.

Parameters
portThe sensor port. See Input port constants.
secThe seconds.
minThe minutes.
hrsThe hours.
dowThe day of week number.
dateThe day.
monthThe month.
yearThe year.
Returns
The function call result.
Examples:
ex_ReadSensorMSRTClock.nxc.