.addSt
DESCRIPTION
.addSt adds a string to the block.
SYNTAX
.addSt(String);
PARAMETERS
A String with your string.
RETURNS
None.
EXAMPLE
#include
#include
//declares the eStr at address 1000, for the 0x50 I2C. //InvIoT_U1 is hardware set for this address. InvIoT_EEPROM eStr(1000, 0x50); void setup() { Serial.begin(115200); Wire.begin(); //dont forget to start Wire. // you can add up to 20 strings in the eStr block. //The block starts at address 1000. eStr.newSt(20,1000,0x50); eStr.addSt("This string is the first string added to the block starting at address 1000"); eStr.addSt("You can add many Strings."); eStr.addSt("don't forget. The maximum number of strings that was declare is 20!!"); eStr.addSt("very usefull for storing HTML. It feels endless"); } void loop() { }
SEE ALSO
.setYYMMDDHHMMSS
.setYYMMDD
.setHHMMSS
.getYYMMDDHHMMSS
.getTime24