![](/media/cache/profiles/02a4f95155ad30321d3a88b53b85f2d6.50x50_q85.jpg)
Memoria Flash AT45DB161D
Diff: main.cpp
- Revision:
- 0:6c3378666293
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Jun 07 05:19:49 2012 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" +#include "at45db161d.h" + +DigitalOut myled(LED1); +ATD45DB161D Flash(p5,p6,p7,p8); + +int main() { + Flash.Init(); + Flash.ChipErase(); + Flash.DeepPowerDown(); + wait(5); + Flash.ResumeFromDeepPowerDown(); +}