jeffmer / TTGO-T-watch-2020-Micropython-OS

All micropython watch software for TTGO T-watch 2020 V1, V2 & V3
The Unlicense
24 stars 5 forks source link

OSM Tiles not displaying #16

Open woofwoof opened 1 year ago

woofwoof commented 1 year ago

Hello,

Unfortunately OSM tiles aren't displaying at all in the app. I have a version 2 T-watch. The app displays that it connects (to a server?) then appears to count something but no data is displayed. Could you please tell me how I can begin to debug this?

With thanks and best wishes.

jeffmer commented 1 year ago

First check the tiles are being stored correctly on the SD card. You can see if files are being created using Thonny by interrupting execution and looking at devices files. Or simply extract the card and look at the files on your laptop etc. They are PNG files so you should be able to display them.

The usual problem is that the tiles are not being fetched and sometimes empty tile files are created - you need to delete these. Also you can check the tiles server is working correctly by typing the URL into a browser - see apps/openstreetmap.py for URL.

I am afraid that you are on your own for the next few weeks as I am going to be away.