write either command or data
| 278 | |
| 279 | // write either command or data |
| 280 | void LiquidCrystal_I2C::send(uint8_t value, uint8_t mode) { |
| 281 | uint8_t highnib = value & 0xf0; |
| 282 | uint8_t lownib = (value << 4) & 0xf0; |
| 283 | write4bits((highnib) | mode); |
| 284 | write4bits((lownib) | mode); |
| 285 | } |
| 286 | |
| 287 | void LiquidCrystal_I2C::write4bits(uint8_t value) { |
| 288 | expanderWrite(value); |
nothing calls this directly
no outgoing calls
no test coverage detected