write either command or data, with automatic 4/8-bit selection
| 301 | |
| 302 | // write either command or data, with automatic 4/8-bit selection |
| 303 | void LiquidCrystal::send(uint8_t value, uint8_t mode) { |
| 304 | digitalWrite(_rs_pin, mode); |
| 305 | |
| 306 | // if there is a RW pin indicated, set it low to Write |
| 307 | if (_rw_pin != 255) { |
| 308 | digitalWrite(_rw_pin, LOW); |
| 309 | } |
| 310 | |
| 311 | if (_displayfunction & LCD_8BITMODE) { |
| 312 | write8bits(value); |
| 313 | } else { |
| 314 | write4bits(value>>4); |
| 315 | write4bits(value); |
| 316 | } |
| 317 | } |
| 318 | |
| 319 | void LiquidCrystal::pulseEnable(void) { |
| 320 | digitalWrite(_enable_pin, LOW); |
nothing calls this directly
no outgoing calls
no test coverage detected