Component: Real Time Clock (MCP7940N) (Storage)
From Flowcode Help
(Redirected from Component: ID c48dfdeb 1177 4381 86dd d7a98fefeb7a)
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.0 |
Category | Storage |
Contents
Real Time Clock (MCP7940N) component
Serial (I2C) Real Time Clock component for MCP7940N device. When used with a MIAC project this component gives access to the internal RTC (if fitted, depending upon model) and the component properties will be automatically configured.
Component Pack
STORAGE
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
SetTime |
Sets the time from a string HHMMSS | |
![]() |
Time |
![]() |
Return |
![]() |
GetTime |
Returns the time as a string HHMMSS | |
![]() |
Return |
![]() |
ReadRegister |
Read and return the value of the RTC register at the given address | |
![]() |
address |
![]() |
Return |
![]() |
SetDate |
Sets the date from a string DDMMYY | |
![]() |
Date |
![]() |
Return |
![]() |
GetDate |
Returns the date as a string DDMMYY | |
![]() |
Return |
![]() |
WriteRegister |
Write the given data value to the RTC register at the given address | |
![]() |
address |
![]() |
data |
![]() |
Return |
![]() |
Initialise |
Initialises the component ready for I2C communications | |
![]() |
Return |