Hi,
build a small library to display big numbers on an LCD1602 using the LiquidCrystal library. The library is working fine in the Arduino IDE. In B4R wrapped and compiled OK, but when compiling a sample, receiving error:
Sample code:
The library rLiquidCrystal v1.00 is used.
Any hints greatly appreciated?
build a small library to display big numbers on an LCD1602 using the LiquidCrystal library. The library is working fine in the Arduino IDE. In B4R wrapped and compiled OK, but when compiling a sample, receiving error:
B4X:
In file included from sketch\B4RDefines.h:25:0,
from sketch\B4RArduino.cpp:1:
rLCD1602BigNumbers.h:15: error: 'B4RLiquidCrystal' has not been declared
void Initialize(B4RLiquidCrystal* lcd);
Sample code:
The library rLiquidCrystal v1.00 is used.
B4X:
Sub Process_Globals
Public Serial1 As Serial
Private lcd As LiquidCrystal
Private bigNum As LCD1602BigNumbers
End Sub
Private Sub AppStart
Serial1.Initialize(115200)
lcd.Initialize(12,255,11, Array As Byte(5,4,3,2))
lcd.Begin(16,2)
lcd.DisplayOn = True
bigNum.Initialize(lcd)
bigNum.WriteBigNumber(9, 4)
End Sub
Any hints greatly appreciated?