Difference between revisions of "Component: Real Time Clock (MCP7940N) (Storage)"
From Flowcode Help
Jump to navigationJump to searchLine 16: | Line 16: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 24: | Line 26: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Revision as of 13:29, 17 November 2021
Author | 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.
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 |