(value)
| 300 | trace("unexpected panel dimensions\n"); |
| 301 | } |
| 302 | writeWord(value) { |
| 303 | this.waitBusy(); |
| 304 | this.select.write(0); |
| 305 | this.spi.write16(0x0000); |
| 306 | this.waitBusy(); |
| 307 | this.spi.write16(value); |
| 308 | this.select.write(1); |
| 309 | } |
| 310 | waitBusy(timeout) { |
| 311 | if (this.busy.read()) |
| 312 | return; |
no test coverage detected