BaseMachine Sequencer UI Test
Dependencies: AverageAnalogIn PinDetect RotaryEncoder Sequence SequencerDisplay mbed-rtos mbed st7565LCD
Fork of CH12864F-SPI2_Test by
Diff: main.cpp
- Revision:
- 0:cbc508b7ebff
- Child:
- 1:23bc297e8bfe
--- /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); + } +}