Driver library for ST7565 graphics LCD controller over SPI interface.
Dependents: ST7565SPI_Test OpPanel_Offline OpPanel_Offline_cmake_gcc_arm_NUCLEO_F303RENew
Diff: ST7565SPI.cpp
- Revision:
- 2:138b0570a8e8
- Parent:
- 1:2150513a5b18
- Child:
- 3:86209398c73b
--- a/ST7565SPI.cpp Sun Mar 01 19:30:14 2015 +0000 +++ b/ST7565SPI.cpp Sun Mar 01 22:06:09 2015 +0000 @@ -5,7 +5,6 @@ #include "ST7565SPI.h" -/** Constructor of class ST7565SPI. */ ST7565SPI::ST7565SPI(PinName mosiPin, PinName sckPin, PinName csPin, PinName rsPin, PinName rstPin, int frequency) : @@ -26,11 +25,9 @@ reset(); } -/** Destructor of class ST7565SPI. */ ST7565SPI::~ST7565SPI() { } -/** Hits hardware reset pin of the LCD module. */ void ST7565SPI::reset() { wait_ms(10); rst = 0; @@ -38,7 +35,6 @@ rst = 1; } -/** Clear entire display by writing zero. */ void ST7565SPI::clear() { for (uint8_t j = 7; j <= 7; j--) { setPage(j); @@ -49,7 +45,6 @@ } } -/** Initialize controller. */ void ST7565SPI::init(uint8_t v0, uint8_t contrast, Bias bias) { command(INTERNAL_RESET); wait_ms(5);