Difference between revisions of "Component: Real Time Clock (MCP7940N) (Storage)"
From Flowcode Help
Jump to navigationJump to searchLine 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 32: | Line 34: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 173: | Line 177: | ||
|- | |- | ||
|- | |- | ||
− | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | |
− | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | width="10%" align="center" style="background-color:# | ||
− | | width="90%" style="background-color:# | ||
|- | |- | ||
|- | |- | ||
Line 232: | Line 221: | ||
| colspan="2" | Baud rate to be used | | colspan="2" | Baud rate to be used | ||
|- | |- | ||
− | | width="10%" align="center" style="background-color:# | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] |
− | | width="90%" style="background-color:# | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation |
|- | |- | ||
|- | |- |
Latest revision as of 17:22, 9 November 2022
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.
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 |