cesanta / mongoose-os

Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.
https://mongoose-os.com
Other
2.51k stars 429 forks source link

Support for TFTs? #430

Closed janoist1 closed 6 years ago

janoist1 commented 6 years ago

How can the popular TFT libraries be used in JavaScript? Such as ILI9163 and ILI9341.

pimvanpelt commented 6 years ago

I am unaware of ILI9163, but I have written a driver for ILI9341. My target language is C, but a community contributor has added mJS bindings and they are in use. The bindings: https://github.com/mongoose-os-libs/ili9341-spi/blob/master/mjs_fs/api_ili9341_spi.js

An example application: https://github.com/mongoose-os-apps/example-m5stack-js

I do not personally support javascript, unfortunately.