B4R Question Modify Big Numbers Library

Discussion in 'B4R Questions' started by Mostez, Nov 21, 2018.

Similar threads

B4R Tutorial Arduino + Raspberry Pi
B4R Library LiquidCrystal_I2C
B4R Tutorial LCD Clock example
Games [XUI2D] Cross platform tips
B4R Tutorial Strings and Bytes
  1. Mostez

    Mostez Active Member

    Hello,
    base on Display Big Numbers tutorial
    I'd like to ask, is it possible to modify this library to work with I2C LCD board(rLiquidCrystal_I2C)? and is it possible too to make it work with 16x4 or 20x4 LCDs.

    Thanks
     
  2. tigrot

    tigrot Well-Known Member Licensed User

    I find this quite difficult if not impossible. It's a character based display with spaced cells. No way to show big chars... You must use a graphic oriented display
     
  3. Mostez

    Mostez Active Member

    I need to display numbers only from 0 to 9, the library is working fine as I need but with 16x2 LCDs (parallel interface) just want to modify it to work with 16x4 or 20x4 I2C interface
     
  4. tigrot

    tigrot Well-Known Member Licensed User

  5. Mostez

    Mostez Active Member

    it is not, that question was about I2C lib. support for 20x4 LCDs. my recent question is about modifying rLCD1602BigNumbers to work with rLiquidCrystal_I2C instead of rLiquidCrystal.
    Code:
    Sub Process_Globals
        
    Public Serial1 As Serial
        
    Private lcd As LiquidCrystal
        
    Private bigNum As LCD1602BigNumbers
    End Sub

    Private Sub AppStart
        Serial1.Initialize(
    115200)
        
    ' Init the LCD: RS,RW,EN,Data(4)
        lcd.Initialize(82559Array As Byte (4567))
        lcd.Begin(
    16,2)
        lcd.DisplayOn = 
    True
        
    ' Init the bignum with lcd display
        bigNum.Initialize(lcd) 'i want to use LiquidCrystal_I2C object instead of LiquidCrystal object
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice