Start Back Next End
  
ZBasic System Library
ZBasic Microcontrollers
41
RTC.MemRead
Type
Subroutine
Invocation
RTC.MemRead(addr, dest, count)
Parameter
Method
Type
Description
addr
ByVal
anyIntegral
The address at which to begin reading.
dest
ByRef
anyType
Where to put the data read.
count
ByVal
anyIntegral
The number of bytes to read.
Discussion
This on-board RTC of the ESP8266 has a block of RAM, 512 bytes of which are reserved for use by
application programs.  Although the RAM can be used for any purpose, the fact that the RTC remains
under power during deep sleep means that the RAM can be used to store parameter values across a
deep sleep cycle.
The zero-based addr parameter gives the beginning address, relative to the start of the block reserved for
application data.
Previous page Top Next page