----------------------------------------------------------
| 223 | |
| 224 | // ---------------------------------------------------------- |
| 225 | void Arduino_ST7789::init(uint16_t width, uint16_t height) |
| 226 | { |
| 227 | commonST7789Init(NULL); |
| 228 | |
| 229 | if(width==240 && height==240) { |
| 230 | _colstart = 0; |
| 231 | _rowstart = 80; |
| 232 | } else { |
| 233 | _colstart = 0; |
| 234 | _rowstart = 0; |
| 235 | } |
| 236 | _ystart = _xstart = 0; |
| 237 | _width = width; |
| 238 | _height = height; |
| 239 | |
| 240 | displayInit(init_240x240); |
| 241 | setRotation(2); |
| 242 | } |
| 243 | |
| 244 | // ---------------------------------------------------------- |
| 245 | void Arduino_ST7789::writeCmd(uint8_t c) |
nothing calls this directly
no outgoing calls
no test coverage detected