Installation on Mac OS X Platform

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

Installation on Mac OS X Platform 1

Installation on Mac OS X Platform 2

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

  1. Connect the Arduino Uno board to your computer.
  2. Copy the code of the "blink" example program from the "PINPONG Examples" in this document to your Python editor and run the code.
  3. 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