LowPowerLab / SPIFlash

Arduino library for read/write access to SPI flash memory chips
GNU General Public License v3.0
173 stars 91 forks source link

wakeup() calls command() with busyWait = false [otherwise, wakeup() hangs forever] #2

Open wilsynet opened 10 years ago

wilsynet commented 10 years ago

command() modified to support default busyWait argument of true.

unselect() modified to optionally wait us number of microseconds. for example, after wakeup, should wait TRES1 time before trying normal operations.