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
-
| port | The sensor port. See Input port constants. |
| sec | The seconds. |
| min | The minutes. |
| hrs | The hours. |
| dow | The day of week number. |
| date | The day. |
| month | The month. |
| year | The year. |
- Returns
- The function call result.
- Examples:
- ex_ReadSensorMSRTClock.nxc.