Start Back Next End
  
ZBasic System Library
ZBasic Microcontrollers
42
RTC.MemWrite
Type
Subroutine
Invocation
RTC.MemWrite(addr, source, count)
Parameter
Method
Type
Description
addr
ByVal
anyIntegral
The address at which to begin writing.
source
ByRef
anyType
The source of the data to write.
count
ByVal
anyIntegral
The number of bytes to write.
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