Toyomasa Watarai
/
Hello-FM25W256
Hello program for the FM25W256 library
Diff: main.cpp
- Revision:
- 3:d4a2357f06e3
- Parent:
- 2:980e3d46d20e
diff -r 980e3d46d20e -r d4a2357f06e3 main.cpp --- 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() {