Ryo Od
/
CH12864F-SPI2_Test
CH12864F-SPI2_Test
Revision 0:cbc508b7ebff, committed 2016-08-05
- Comitter:
- ryood
- Date:
- Fri Aug 05 15:35:42 2016 +0000
- Commit message:
- first commt
Changed in this revision
diff -r 000000000000 -r cbc508b7ebff main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Aug 05 15:35:42 2016 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" +#include "st7565LCD.h" + +//ST7565(PinName mosi, PinName sclk, PinName cs, PinName rst, PinName a0); +ST7565 gLCD(PB_15, PB_13, PB_1, PB_2, PB_12); + +int main() +{ + gLCD.begin(0x10); + + while (true) { + gLCD.drawstring(0, 0, "Hello World."); + gLCD.display(); + wait(0.1); + } +}
diff -r 000000000000 -r cbc508b7ebff mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Aug 05 15:35:42 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/f9eeca106725 \ No newline at end of file
diff -r 000000000000 -r cbc508b7ebff st7565LCD.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/st7565LCD.lib Fri Aug 05 15:35:42 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/imachooon/code/st7565LCD/#f2eba6cbd093