Moddable-OpenSource / moddable

Tools for developers to create truly open IoT products using standard JavaScript on low cost microcontrollers.
http://www.moddable.com
1.32k stars 236 forks source link

Driver and Display Model for Moddable Two #722

Closed markingle closed 2 years ago

markingle commented 2 years ago

What driver and display model is used on the Moddable Two hardware? I am trying to get familiar with the hardware using examples from the Bodmer eSPI library. Specifically I need to know the SPI pins to configure the header file.

If I can use the Moddable Two board for a project it will save me a ton of work. Thanks in advance!

phoddie commented 2 years ago

The Moddable Two documentation and Moddable Two manifest file contain the answers to your questions.

markingle commented 2 years ago

Thanks Peter! I have tried those pin settings in the Setup_User.h file with no luck. But I will review the manifest to see if that helps....Thanks for the quick reply!

markingle commented 2 years ago

Well I changed the SPI Frequency to 40Mhz and it started working. I loaded a simple TFT_Print_Test program using Arduino. But for some reason after loading another program to test, the backlight (white) is on but nothing is showing on the screen. I tried reloading the TFT_Print_Test again and now its not working either....weird! Any ideas?

markingle commented 2 years ago

Looks like there is no support for Arduino libs so I will try the esp-idf framework using Platform IO

phoddie commented 2 years ago

The display controller in Moddable Two is very common. I'm certain it can work with the Adruino libraries. However, the Moddable doesn't have experience with that so we're limited in how we can help.

phoddie commented 2 years ago

I'm moving this to discussions as it isn't an issue.