Installation on Mac OS X Platform
Start with the command line (open any Finder window, type Shift+Command+U), then double-click "Terminal". Enter the command line to install the PinPong library.
$ pip install pinpong
For help, enter pinpong in the terminal to output the current version information, official documentation URL, library list view, and port number.
Starting Your First Program
- Connect the Arduino Uno board to your computer.
- Copy the code of the "blink" example program from the "PINPONG Examples" in this document to your Python editor and run the code.
- Next, please check out other tutorials or run other example programs to further your learning.
You can run the "blink" example program with the following command:
$ python blink.py