Skip to main content

spiflash.enable()

Enables the SPI flash for reading and writing

Availability

Device (from impOS™ 30)

Returns

Nothing

Description

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

Should the SPI flash chip be powered from the same 3.3V power domain as the WiFi radio, calling this method will cause the WiFi to powered on if it has already been shut down, for example by a server.disconnect() call.