Skip to content

MakeCode extension for the S7735S TFT driver for use with the BBC Microbit

License

Notifications You must be signed in to change notification settings

Jeff-Squared/pxt-18-tft

Repository files navigation

Primarily configured for the Wavershare 1.8 inch TFT module https://www.waveshare.com/1.8inch-lcd-for-micro-bit.htm for Microbit the code in this extension is usable with other ST735S 1.8 TFT displays. The extension contains functions to initialize and create various geometric shapes on the display.

During the creation of this extension I used the extension at https://github.com/joy-it/pxt-RB-TFT1.8 for guidance and included a trimmed version of their string drawing routine. I also drew inspiration from the methods in this example https://simple-circuit.com/st7735-tft-vertical-scrolling-ccs-c/ and included the scrolling method in the extension.

PinOut

Open this page at https://jeff-squared.github.io/pxt-18-tft/

Use as Extension

This repository can be added as an extension in MakeCode.

Edit this project Build status badge

To edit this repository in MakeCode.

Blocks preview

This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.

A rendered view of the blocks

Metadata (used for search, rendering)

  • for PXT/microbit
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>

About

MakeCode extension for the S7735S TFT driver for use with the BBC Microbit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages