pinpong library introduction

Introduction

The PinPong library is a Python library for controlling open-source hardware master boards. It allows you to get started with using Python to control open-source hardware in just 5 minutes.

With the PinPong library, you can directly program various common open-source hardware with Python code. The principle is to burn a specific firmware into the open-source hardware, enabling it to communicate with the computer via the serial port and execute various commands.

The name of the PinPong library is composed of "Pin" and "Pong". "Pin" refers to the pin, and "PinPong" is a homophone of "ping-pong", indicating the reciprocation of signals.

The design of the PinPong library is intended to free developers from the constraints of complex hardware models during the development process and shift the focus to software implementation. Even if the Arduino is used for program writing in the early stage of development, and the control board is changed during deployment, the program can run normally by modifying the hardware parameters, realizing the concept of "write once, run anywhere".

Note: The current PinPong library is being rapidly updated. It already supports the Arduino uno, leonardo, micro:bit , unihiker ,raspberry pi, and over 100+ sensors. Other master boards and more extension libraries will be gradually supported.

Recommended reading process for this document:

  1. Check the installation tutorial to prepare.
  2. Check the examples for a quick start test.
  3. Check the tutorial for systematic learning.