Hello program for the FM25W256 library

Dependencies:   FM25W256 mbed

Files at this revision

API Documentation at this revision

Comitter:
MACRUM
Date:
Sun Mar 06 09:43:24 2016 +0000
Parent:
2:980e3d46d20e
Commit message:
Support for LPC1768 target

Changed in this revision

FM25W256.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/FM25W256.lib	Sat Mar 05 14:06:46 2016 +0000
+++ b/FM25W256.lib	Sun Mar 06 09:43:24 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/MACRUM/code/FM25W256/#bb2b1e4bfb6e
+https://developer.mbed.org/users/MACRUM/code/FM25W256/#aa1c1f07c942
--- a/main.cpp	Sat Mar 05 14:06:46 2016 +0000
+++ b/main.cpp	Sun Mar 06 09:43:24 2016 +0000
@@ -27,7 +27,11 @@
 #include "FM25W256.h"
 
 Serial pc(USBTX, USBRX);
+#if defined(TARGET_LPC1114)
 FM25W256 f_ram(dp2, dp1, dp6, dp18);
+#elif defined(TARGET_LPC1768)
+FM25W256 f_ram(p5, p6, p7, p8);
+#endif
 
 void read_test()
 {