Driver library for ST7565 graphics LCD controller over SPI interface.

Dependents:   ST7565SPI_Test OpPanel_Offline OpPanel_Offline_cmake_gcc_arm_NUCLEO_F303RENew

Revision:
3:86209398c73b
Parent:
1:2150513a5b18
--- a/ST7565SPI.h	Sun Mar 01 22:06:09 2015 +0000
+++ b/ST7565SPI.h	Mon Mar 02 23:17:25 2015 +0000
@@ -113,22 +113,22 @@
     const static uint8_t MODIFY_WRITE_OFF    = 0xee;
     
 private:
-    DigitalOut rs;
-    DigitalOut rst;
-    SPI        spi;
-    DigitalOut cs;
+    DigitalOut _rs;
+    DigitalOut _rst;
+    SPI        _spi;
+    DigitalOut _cs;
 
 public:
     /** Constructor of class ST7565SPI.
-     * @param mosiPin    SPI data output (MOSI) pin.
-     * @param sckPin     SPI clock output (SCK) pin.
-     * @param csPin      SPI Chip select (CS) pin.
-     * @param rsPin      Register select (RS or A0) pin.
-     * @param rstPin     Hardware reset (RST) pin.
+     * @param mosi       SPI data output (MOSI) pin.
+     * @param sck        SPI clock output (SCK) pin.
+     * @param cs         SPI Chip select (CS) pin.
+     * @param rs         Register select (RS or A0) pin.
+     * @param rst        Hardware reset (RST) pin.
      * @param frequency  SPI interface frequency by hertz. (default is 1000000)
      */
-    ST7565SPI(PinName mosiPin, PinName sckPin, PinName csPin,
-              PinName rsPin, PinName rstPin, int frequency=1000000);
+    ST7565SPI(PinName mosi, PinName sck, PinName cs,
+              PinName rs, PinName rst, int frequency=1000000);
     
     /** Destructor of class ST7565SPI. */
     ~ST7565SPI();