Date: Fri, 22 Oct 2021 13:52:07 +0700 From: Olivier <Olivier.Nicole@cs.ait.ac.th> To: freebsd-arm@freebsd.org Subject: Using 20x4 LCD display Message-ID: <wu7o87h1rhk.fsf@banyan.cs.ait.ac.th>
next in thread | raw e-mail | index | archive | help
Hello, I would like to use a 20x4 LCD display attached to a Raspberry Pi running FreeBSd 12.2. I can talk to the display through the I2C interface, when I send something the back light will turn off and on, so the link is established. What I cannot find is the sequence of codes to send in order to write a character on te screen, to move the cursor around, etc. All documentation I could find so far relate to Raspbian or Arduino and are always using high level libraries (I could not find such on FreeBSD, equivalent to WiringPi). Whatever random characters I send to the screen, it persistently shows alternating empty lines and lines or black boxes. Any help pointing me in the right direction will be greatly appreciated. TIA, Olivier --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wu7o87h1rhk.fsf>