IclcdBlink() enables or disables cursor blinking.
bool IclcdBlink(bool on = true, uint8_t device = 0)
| Command | Arguments | Return Value | Operation |
|---|---|---|---|
IclcdBlink(on, device) | bool on = trueuint8_t device = 0 | bool | Enables or disables cursor blinking. |
This example connects a 20×4 PCF8574 character LCD at address 0x27 to the MPAINO-8A8R(T) I2C port. Change the IclcdBegin() arguments if your LCD has a different address or size.
bool lcdReady = false; void setup() { lcdReady = IclcdBegin(0x27, 20, 4); // Set the LCD address and display size. } void loop() { if (!lcdReady) return; IclcdBlink(false); // Enable or disable blinking at the cursor. delay(1000); IclcdBlink(true); // Enable or disable blinking at the cursor. delay(1000); }
Wire transfers or I²C slave callbacks concurrently with Iclcd…(). Iclcd transfers run at 100 kHz and then restore the previous TWI settings.IclcdCommand() can change the LCD state directly. Use it only if you understand HD44780 commands.