N5110 library
Fork of N5110 by
Diff: N5110.h
- Revision:
- 21:4cbdc20fea9f
- Parent:
- 19:ba8addc061ea
- Child:
- 23:eb7e6632fc9e
--- a/N5110.h Thu Jan 19 19:42:34 2017 +0000 +++ b/N5110.h Sat Jan 28 20:25:43 2017 +0000 @@ -174,6 +174,18 @@ * */ N5110(PinName pwrPin, PinName scePin, PinName rstPin, PinName dcPin, PinName mosiPin, PinName sclkPin, PinName ledPin); + + /** Create a N5110 object connected to the specified pins (Vcc to +3V3) + * + * @param sce Pin connected to chip enable (pin 3) + * @param rst Pin connected to reset (pin 4) + * @param dc Pin connected to data/command select (pin 5) + * @param mosi Pin connected to data input (MOSI) (pin 6) + * @param sclk Pin connected to serial clock (SCLK) (pin 7) + * @param led Pin connected to LED backlight (must be PWM) (pin 8) + * + */ + N5110(PinName scePin, PinName rstPin, PinName dcPin, PinName mosiPin, PinName sclkPin, PinName ledPin); /** Initialise display *