-
Notifications
You must be signed in to change notification settings - Fork 1
totalBytes()
Arnd edited this page Sep 4, 2017
·
1 revision
This function will return the total number of bytes available in all of the memory chips detected.
###Example
MB85_FRAM_Class FRAM;
...
uint8_t chips_detected = FRAM.begin(); // return number of memories
Serial.print("Found ");
Serial.print(chips_detected);
Serial.println(" MB85nnn memory chips");
Serial.print("A total of ");
Serial.print(FRAM.totalBytes());
Serial.println(" bytes of storage is available.");
...