Memoria Flash AT45DB161D

Dependencies:   mbed at45db161d

Files at this revision

API Documentation at this revision

Comitter:
gorazdko
Date:
Mon Jun 03 06:49:39 2019 +0000
Parent:
0:6c3378666293
Commit message:
test

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 6c3378666293 -r 39c12ab0a83a main.cpp
--- a/main.cpp	Thu Jun 07 05:19:49 2012 +0000
+++ b/main.cpp	Mon Jun 03 06:49:39 2019 +0000
@@ -2,7 +2,7 @@
 #include "at45db161d.h"
 
 DigitalOut myled(LED1);
-ATD45DB161D Flash(p5,p6,p7,p8);
+ATD45DB161D Flash(P0_8,P0_9,P0_6,P1_15); // PinName mosi, PinName miso, PinName sclk, PinName cs
 
 int main() {
     Flash.Init();
@@ -10,4 +10,10 @@
     Flash.DeepPowerDown();
     wait(5);
     Flash.ResumeFromDeepPowerDown();
+    
+    
+    while (1)
+    {
+        
+    }
 }
diff -r 6c3378666293 -r 39c12ab0a83a mbed.bld
--- a/mbed.bld	Thu Jun 07 05:19:49 2012 +0000
+++ b/mbed.bld	Mon Jun 03 06:49:39 2019 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/737756e0b479
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file