B4R Tutorial ESP32 WITH LCD (16*2) WITH 4 LINE INTERFACE (WITHOUT I2C)

ESP32 WITH LCD (16X2) 4 LINES INTERFACE:
Sub Process_Globals
    Public Serial1 As Serial
    Private wifi As ESP8266WiFi
    Public mylcd As LiquidCrystal
End Sub

Private Sub AppStart
    Serial1.Initialize(115200)
    Log("AppStart")
    'example of connecting to a local network
    mylcd.Initialize(13, 255, 12, Array As Byte(14, 27, 26, 25))
    mylcd.Begin(16,2)
    mylcd.Clear
    mylcd.SetCursor(0,0)
    mylcd.Write("B4X WORLD")
    mylcd.SetCursor(0,1)
    mylcd.Write("GREAT TOOL 4 ME")
End Sub
 

Attachments

  • WhatsApp Image 2023-05-10 at 09.28.39.jpeg
    WhatsApp Image 2023-05-10 at 09.28.39.jpeg
    125.7 KB · Views: 219
  • WhatsApp Image 2023-05-10 at 09.31.55.jpeg
    WhatsApp Image 2023-05-10 at 09.31.55.jpeg
    176.2 KB · Views: 190
Top