Memoria Flash AT45DB161D

Dependencies:   at45db161d mbed

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();
+}