-
Notifications
You must be signed in to change notification settings - Fork 0
Getting started
-
Download and install the latest version of Processing from https://processing.org/download/
-
Start Processing
-
In Processing:
Tools > Add Tool… to install the Upload to Pi tool (this allows you to write sketches on your laptop, but have them run on the Pi)
Sketch > Import Library… to install the Hardware I/O library (this allows you to use the expansion header pins from Processing)
-
In Processing:
Processing > Preferences…
Click the link to the
preferences.txtfile towards the bottom of the dialogA Finder window should open
-
Close Processing completely
e.g. via Processing > Quit Processing
-
Open the
preferences.txtfile in a text editor -
Find the line starting with
gohai.uploadtopi.hostname=and replace the value with the IP address or hostname you want to work with
-
In Processing:
Tools>Upload to PiThis will stop any sketch currently running on the Pi, and upload and run your current sketch instead. It will also put into the Pi's "autostart" - i.e. automatically launched whenever the Pi gets power.