Display Text on a 1.8" 128 x 160 Colour TFT screen

Download pre-release library modules and new examples to use with Astrobe for Cortex-M3. Forum members can also upload their own source code examples.

Display Text on a 1.8" 128 x 160 Colour TFT screen

Postby cfbsoftware » Thu Apr 25, 2019 2:47 am

The attached example redirects all text output from functions in the Out module to a 1.8" 128 x 160 TFT screen using a Sitronix ST7735 Display Controller. It uses a 6x8 font stored as resource data.

DisplayText2.jpg (85.15 KiB) Viewed 347 times

The screen we used is the AdaFruit 1.8" Colour TFT Shield (PID: 802) which conveniently plugs into the Arduino-compatible headers on an STM Nucleo-64 L152RE Board. The example can be easily adapted to any of the Cortex-M3, Cortex-M4 and Cortex-M7 STM Nucleo-64 / 144 boards by modifying the ST7735.ConfigurePins procedure to match the corresponding procedure located in the Astrobe Examples SlideDemo folder.
(4.8 KiB) Downloaded 54 times
Site Admin
Posts: 395
Joined: Fri Dec 31, 2010 12:30 pm

Return to Cortex-M3