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 RISC5. Forum members can also upload their own source code examples.
Post Reply
cfbsoftware
Site Admin
Posts: 403
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

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

Post by cfbsoftware » Mon Aug 26, 2019 12:08 pm

The attached example demonstrates how to use v7.0 Astrobe for RISC5 to write applications that display text on a 1.8" 128 x 160 TFT screen using a Sitronix ST7735 Display Controller. It uses a 6x8 font stored in a file Font.res which you need to upload to your target board with the compiled source code files.

The command used to run the demonstration module is TextDisplay.Run

The screen we used is the AdaFruit 1.8" Colour TFT Shield (PID: 802) which conveniently plugs into the Arduino-compatible headers on the Digilent Arty A7 and S7 boards.
Attachments
TextDisplay.zip
(6.64 KiB) Downloaded 18 times

Post Reply