This feature is only available for unihiker!!!
Sorry for posting yet another newbie question but I'm struggling! I'm not able to get very simple Python scripts working when pinpong has to be invoked. Clearly I need to read and practice more on pinpong, but even when using simple examples from the Wiki, I don't seem to have much luck. But which examples can I practice learning as a beginner with pinpong specifically for the UNIHIKER?
Using the example at https://www.unihiker.com/wiki/Examples/PythonCodingExamples/BasicExamples/examples_py_luminosity_detector/#project-introduction , on a working UNIHIKER board (sic), I receive the following message:
root@unihiker1:~/projects/sensors# python
Python 3.7.3 (default, Mar 23 2024, 16:12:05)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pinpong.board import *
>>> from pinpong.extension.unihiker import *
This feature is only available for unihiker!!!
root@unihiker1:~/projects/sensors#
The pinpong library version is 0.6.1. Why cannot pinpong detect that it is running on a UNIHIKER board?
How to resolve this error message? Thanks.
Regards.
The pinpong environment is reported as:
# pinpong
__________________________________________
| ____ _ ____ |
| / __ \(_)___ / __ \____ ____ ____ _ |
| / /_/ / / __ \/ /_/ / __ \/ __ \/ __ `/ |
| / ____/ / / / / ____/ /_/ / / / / /_/ / |
|/_/ /_/_/ /_/_/ \____/_/ /_/\__, / |
| v0.6.1 Designed by DFRobot /____/ |
|__________________________________________|
[1]Environment information: Python3.7.3 Linux-4.4.143-67-rockchip-g01bbbc5d1312-aarch64-with-debian-10.13