peterhinch / micropython-touch

A GUI for touch panel displays.
MIT License
25 stars 5 forks source link

Issue with severe inadequate documentation #14

Closed Akash47007 closed 2 months ago

Akash47007 commented 2 months ago

I am having issues running this library with a common setup containing a raspberry pi pico w and 240*320 lcd TFT display. Please write an example code that tests all the functionality of the widgets or simply just gets a few buttons and labels working. I am getting a blank screen and memory allocation issue for a long time of debugging and decided to give up. Please help.

peterhinch commented 2 months ago

Please check out the example scripts in gui/demos/. These can be run with (for example):

$ mpremote mount . exec "import gui.demos.simple"

There are scripts to test every widget.

peterhinch commented 2 months ago

These scripts are listed here in the main README. If you still think there are omissions in the docs, please detail these in a new issue.

Akash47007 commented 2 months ago

I mean I need a working example code that I can upload and test and learn from it. I cannot make it working with the existing documentation.

peterhinch commented 1 month ago

If you work through the setup doc then all the scripts listed will work. They are designed to be studied and to help in writing applications, starting with simple.py. I'm not sure what else you want me to provide.