pinpong FAQ

Frequently Asked Questions

Question: Can the hardware controlled by the PinPong library run independently of the computer?

Answer: PinPong is a Python library, mainly for the interaction between hardware and Python. Therefore, only devices that can run Python (Note: Python and MicroPython are different) can use it. If you want to operate independently of a PC, you can use portable single-board computers like Raspberry Pi or unihiker.


Question: What should I do if I encounter a SerialException: could not open port 'COM': PermissionError(13, 'Access denied.', None, 5) when running the program?

Answer: This error indicates that a device is occupying the serial port, or the last program did not close properly, or the currently recognized serial port is wrong.

If it was able to be used normally in the past but cannot be used locally, it is generally because the serial port is occupied. You can try to close the last program and other software that occupies the serial port, or re-plug the USB port and restart the computer.

If it is the first time to use this master board, it may be that the serial port driver is not installed, and you need to install the driver once (it is recommended to use the one-click driver installation function built into Mind+), or open the device manager to see if there is a port (COM).