Ported readAllMemoryBlocks example from Adafruit library