Ben
Well-known member
Hi,
I today tried to determine if an SPI flash IC is connected by checking the SerialFlash.begin return value. Turns out the function returns true unconditionally.
I reproduced this with a Teensy 3.2 with nothing attached and the ListFiles example. This error message:
is never printed over Serial.
Ben
I today tried to determine if an SPI flash IC is connected by checking the SerialFlash.begin return value. Turns out the function returns true unconditionally.
I reproduced this with a Teensy 3.2 with nothing attached and the ListFiles example. This error message:
Code:
if (!SerialFlash.begin(FlashChipSelect)) {
error("Unable to access SPI Flash chip");
}
Ben