Skip to main content

spiflash.disable()

Disables the SPI flash for reading and writing

Availability

Device

Returns

Nothing

Description

Should the SPI flash chip be powered from the same 3.3V power domain as the WiFi radio, calling this method to disable the SPI flash will also cause the WiFi to powered down.

If a spiflash object is not enabled, then any other calls made to it will raise a Squirrel error.