mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2024-09-19 17:25:58 -04:00
Compare commits
2 Commits
2a2f2846e9
...
f971e93d8c
Author | SHA1 | Date | |
---|---|---|---|
|
f971e93d8c | ||
|
ec6df32920 |
@ -62,7 +62,7 @@
|
|||||||
allocation is performed there!
|
allocation is performed there!
|
||||||
*/
|
*/
|
||||||
Adafruit_GrayOLED::Adafruit_GrayOLED(uint8_t bpp, uint16_t w, uint16_t h,
|
Adafruit_GrayOLED::Adafruit_GrayOLED(uint8_t bpp, uint16_t w, uint16_t h,
|
||||||
TwoWire *twi, int8_t rst_pin,
|
TwoWire *twi, int16_t rst_pin,
|
||||||
uint32_t clkDuring, uint32_t clkAfter)
|
uint32_t clkDuring, uint32_t clkAfter)
|
||||||
: Adafruit_GFX(w, h), i2c_preclk(clkDuring), i2c_postclk(clkAfter),
|
: Adafruit_GFX(w, h), i2c_preclk(clkDuring), i2c_postclk(clkAfter),
|
||||||
buffer(NULL), dcPin(-1), csPin(-1), rstPin(rst_pin), _bpp(bpp) {
|
buffer(NULL), dcPin(-1), csPin(-1), rstPin(rst_pin), _bpp(bpp) {
|
||||||
@ -98,9 +98,9 @@ Adafruit_GrayOLED::Adafruit_GrayOLED(uint8_t bpp, uint16_t w, uint16_t h,
|
|||||||
allocation is performed there!
|
allocation is performed there!
|
||||||
*/
|
*/
|
||||||
Adafruit_GrayOLED::Adafruit_GrayOLED(uint8_t bpp, uint16_t w, uint16_t h,
|
Adafruit_GrayOLED::Adafruit_GrayOLED(uint8_t bpp, uint16_t w, uint16_t h,
|
||||||
int8_t mosi_pin, int8_t sclk_pin,
|
int16_t mosi_pin, int16_t sclk_pin,
|
||||||
int8_t dc_pin, int8_t rst_pin,
|
int16_t dc_pin, int16_t rst_pin,
|
||||||
int8_t cs_pin)
|
int16_t cs_pin)
|
||||||
: Adafruit_GFX(w, h), dcPin(dc_pin), csPin(cs_pin), rstPin(rst_pin),
|
: Adafruit_GFX(w, h), dcPin(dc_pin), csPin(cs_pin), rstPin(rst_pin),
|
||||||
_bpp(bpp) {
|
_bpp(bpp) {
|
||||||
|
|
||||||
@ -134,8 +134,8 @@ Adafruit_GrayOLED::Adafruit_GrayOLED(uint8_t bpp, uint16_t w, uint16_t h,
|
|||||||
allocation is performed there!
|
allocation is performed there!
|
||||||
*/
|
*/
|
||||||
Adafruit_GrayOLED::Adafruit_GrayOLED(uint8_t bpp, uint16_t w, uint16_t h,
|
Adafruit_GrayOLED::Adafruit_GrayOLED(uint8_t bpp, uint16_t w, uint16_t h,
|
||||||
SPIClass *spi, int8_t dc_pin,
|
SPIClass *spi, int16_t dc_pin,
|
||||||
int8_t rst_pin, int8_t cs_pin,
|
int16_t rst_pin, int16_t cs_pin,
|
||||||
uint32_t bitrate)
|
uint32_t bitrate)
|
||||||
: Adafruit_GFX(w, h), dcPin(dc_pin), csPin(cs_pin), rstPin(rst_pin),
|
: Adafruit_GFX(w, h), dcPin(dc_pin), csPin(cs_pin), rstPin(rst_pin),
|
||||||
_bpp(bpp) {
|
_bpp(bpp) {
|
||||||
|
@ -48,13 +48,13 @@
|
|||||||
class Adafruit_GrayOLED : public Adafruit_GFX {
|
class Adafruit_GrayOLED : public Adafruit_GFX {
|
||||||
public:
|
public:
|
||||||
Adafruit_GrayOLED(uint8_t bpp, uint16_t w, uint16_t h, TwoWire *twi = &Wire,
|
Adafruit_GrayOLED(uint8_t bpp, uint16_t w, uint16_t h, TwoWire *twi = &Wire,
|
||||||
int8_t rst_pin = -1, uint32_t preclk = 400000,
|
int16_t rst_pin = -1, uint32_t preclk = 400000,
|
||||||
uint32_t postclk = 100000);
|
uint32_t postclk = 100000);
|
||||||
Adafruit_GrayOLED(uint8_t bpp, uint16_t w, uint16_t h, int8_t mosi_pin,
|
Adafruit_GrayOLED(uint8_t bpp, uint16_t w, uint16_t h, int16_t mosi_pin,
|
||||||
int8_t sclk_pin, int8_t dc_pin, int8_t rst_pin,
|
int16_t sclk_pin, int16_t dc_pin, int16_t rst_pin,
|
||||||
int8_t cs_pin);
|
int16_t cs_pin);
|
||||||
Adafruit_GrayOLED(uint8_t bpp, uint16_t w, uint16_t h, SPIClass *spi,
|
Adafruit_GrayOLED(uint8_t bpp, uint16_t w, uint16_t h, SPIClass *spi,
|
||||||
int8_t dc_pin, int8_t rst_pin, int8_t cs_pin,
|
int16_t dc_pin, int16_t rst_pin, int16_t cs_pin,
|
||||||
uint32_t bitrate = 8000000UL);
|
uint32_t bitrate = 8000000UL);
|
||||||
|
|
||||||
~Adafruit_GrayOLED(void);
|
~Adafruit_GrayOLED(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user