I have written a few lines in Python to control the pan tilt hat. Using the Thonny Python IDE everything works fine. Using Visual Studio Code, it works every second time when running in Debug Mode, but when running in Non-Debug-Mode, nothing happens.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Visual Studio Code | 0 | 299 | March 20, 2020 | |
Pantilthat, python.py won't work anymore, but python commandline does? [SOLVED] | 8 | 1498 | August 4, 2017 | |
There was an error running option 5 (pan tilt hat) | 20 | 490 | April 29, 2021 | |
#HELP# building an Pan-Tilt Webinterface for Pimoroni Pan-Tilt HAT FULL KIT with Webcam Server | 43 | 8557 | March 28, 2022 | |
Pan Tilt HAT Issues | 27 | 4248 | May 8, 2018 |