Modification LiquidCrystal_PCF8574 Library

Hello Guys,
i'm trying to rewrite this library like this,
so that I can adjust the brightness of a Noritake VFD .
The Library is her : GitHub - mathertel/LiquidCrystal_PCF8574: A library for driving LiquidCrystal displays (LCD) by using the I2C bus and an PCF8574 I2C adapter.
and her:
An Arduino LCD library using the PCF8574 I2C adapter.
With another library that already modificatetd is, working this Display fine:
brightness control for Noritake LCD-compatible VFD
But I would like this I2C adapter board to continue using it
According to Datasheet from this VFD :

6.5.1 CU-U Modules without Brightness Boost
03H=25%
02H=50%
01H=75%
00H=100%

6.1.1 Serial and 8-bit mode Parallel

  1. Wait at least 260 ms after VCC > 4.75VDC
  2. Function Set 38H RS=0 Select 8-bit bus mode
  3. Function Set 38H RS=0 Select 8-bit bus mode
  4. Brightness Set 00H RS=1 Select 100% Brightness (Use 02H for 100% on brightness boost modules)
  5. Display OFF 08H RS=0 Turn display, blinking, and cursor off
  6. Display Clear 01H RS=0 Clear display
  7. Wait 2.3 ms Wait for command to complete
  8. Display ON 0CH RS=0 Display on; cursor and blinking off
  9. Entry Mode 06H RS=0 Left-to-right (Cursor Increment)

6.1.2 4-bit mode Parallel

  1. Wait at least 260 ms after VCC > 4.75VDC
  2. Function Set 3FH RS=0 Select 8-bit bus mode (sent in 8-bit mode with one toggle of E)
  3. Function Set 3FH RS=0 Select 8-bit bus mode (sent in 8-bit mode with one toggle of E)
  4. Function Set 3FH RS=0 Select 8-bit bus mode (sent in 8-bit mode with one toggle of E)
  5. Function Set 20H RS=0 Select 4-bit bus mode
  6. Brightness Set 0H, 0H RS=1 Select 100% Brightness (Use 02H for 100% on brightness boost modules)
  7. Display OFF 0H, 8H RS=0 Turn display, blinking, and cursor off
  8. Display Clear 0H, 1H RS=0 Clear display
  9. Wait 2.3 ms Wait for command to complete
  10. Display ON 0H, CH RS=0 Display on; cursor and blinking off
  11. Entry Mode 0H, 6H RS=0 Left-to-right (Cursor Increment)

Unfortunately i cannot attach the Datasheet as a new user :frowning:
Do you have an idea, can you help ?

You can post code using code tags.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.