Skip to content

Adafruit_ST7735

詳細情報

メンバー

Adafruit_ST7735()

Adafruit_ST7735::Adafruit_ST7735(uint8_t CS, uint8_t RS, uint8_t SID, uint8_t SCLK, uint8_t RST)

引数

  • uint8_t CS
  • uint8_t RS
  • uint8_t SID
  • uint8_t SCLK
  • uint8_t RST

Adafruit_ST7735()

Adafruit_ST7735::Adafruit_ST7735(uint8_t CS, uint8_t RS, uint8_t RST)

引数

  • uint8_t CS
  • uint8_t RS
  • uint8_t RST

initB()

void Adafruit_ST7735::initB(void)

initG()

void Adafruit_ST7735::initG(void)

initR()

void Adafruit_ST7735::initR(uint8_t options=INITR_GREENTAB)

引数

  • uint8_t options

setAddrWindow()

void Adafruit_ST7735::setAddrWindow(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1)

引数

  • uint8_t x0
  • uint8_t y0
  • uint8_t x1
  • uint8_t y1

pushColor()

void Adafruit_ST7735::pushColor(uint16_t color)

引数

  • uint16_t color

fillScreen()

void Adafruit_ST7735::fillScreen(uint16_t color)

引数

  • uint16_t color

drawPixel()

void Adafruit_ST7735::drawPixel(int16_t x, int16_t y, uint16_t color)

引数

  • int16_t x
  • int16_t y
  • uint16_t color

drawFastVLine()

void Adafruit_ST7735::drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color)

引数

  • int16_t x
  • int16_t y
  • int16_t h
  • uint16_t color

drawFastHLine()

void Adafruit_ST7735::drawFastHLine(int16_t x, int16_t y, int16_t w, uint16_t color)

引数

  • int16_t x
  • int16_t y
  • int16_t w
  • uint16_t color

fillRect()

void Adafruit_ST7735::fillRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color)

引数

  • int16_t x
  • int16_t y
  • int16_t w
  • int16_t h
  • uint16_t color

setRotation()

void Adafruit_ST7735::setRotation(uint8_t r)

引数

  • uint8_t r

invertDisplay()

void Adafruit_ST7735::invertDisplay(boolean i)

引数

  • boolean i

Color565()

uint16_t Adafruit_ST7735::Color565(uint8_t r, uint8_t g, uint8_t b)

引数

  • uint8_t r
  • uint8_t g
  • uint8_t b

戻り値

uint16_t