This is test library which translated from code for arduino. Original code, and their product can be found in the link below. http://www.adafruit.com/products/250
Dependents: CH12864F-SPI2_Test
You are viewing an older revision! See the latest version
Homepage
- include "mbed.h"
- include "st7565LCD.h"
DigitalOut myled(LED1); ST7565 st7565(p11, p13, p21, p22, p23); mosi, sclk, cs, rst, a0 int main() { st7565.begin(0x18); 0x18 defines contrast. st7565.display(); to show the initial data (Adafruit logo) wait(1.0); st7565.clear(); while(1) { st7565.drawstring(1,1,"test"); st7565.display(); st7565.clear(); } }