B4R Tutorial [Tool]LCD Char maker

Hi,

LCD Char Maker Tool.

1583839289413.png


Functionality
  • Create custom LCD character with 5 pixel horizontal (cols), 8 pixel vertical (rows).
    Each row is represented by a byte with 5 bits.
  • Save / open the character to / from a textfile located in the application folder.
  • Import 8 bytes array string in format 0xNN,0xNN... where NN is HEX value.
  • Create B4R Inline C code (binary string) with copy to clipboard option.
  • Create B4J code (hex string) with copy to clipboard option.
  • Added few example chars in the project objects folder.
Download the B4J source code here.

Notes
  • Tool based on the LCD Char Maker tool I wrote for TinkerForge.
  • Tool supports LCD display connected to Raspberry Pi - using HEX strings (B4J)
  • In below screenshot can also write shorter:
    Dim degreec(8) As Byte = Array As Byte(...)
Change Log
20200121 v2.00
20170227: v1.65 (see Post #4)
20170226: v1.5 (see Post #3)
20160614: v1.0 (see Post #1)
 
Last edited:

Cableguy

Expert
Licensed User
Longtime User
Your app just gave me an interesting idea for how to use my 8x5 RGB Led Matrix!!!!
 

rwblinn

Well-Known Member
Licensed User
Longtime User
Update 20170226 v1.5 (see Post #1)
  • Create B4J code (hex string) with copy to clipboard option
  • Tool enhanced to support LCD display connected to Raspberry Pi - using HEX strings (B4J)
 
Last edited:

rwblinn

Well-Known Member
Licensed User
Longtime User
Update 20170227 v1.65 (see Post #1)
On short notice pursuing as wanted a byte array import function for existing custom characters. Made some more changes in addition.
  • NEW: Import 8 bytes array string in format 0xNN,0xNN... where NN is HEX value. Example 8 bytes array string for a Bell: 0x4,0xe,0xe,0xe,0x1f,0x0,0x4
  • NEW: Copy to clipboard buttons for Bin and Hex strings
  • UPD: Output textarea fields are editable.
  • UPD: Layout reworked with tool pane.
  • NEW: Sample characters added in the project objects folder.
 
Last edited:
Top