Wiring and Pure Data using the Firmata Protocol
This tutorial introduces the basic interfacing between the Wiring hardware and Pure Data http://puredata.info. The brief for the tutorial will be to send and received data to the Wiring board using the StandFirmata example. It assumes the Wiring software and Pure Data are installed and the proper Wiring setup has been previously completed. For more Information on Wiring install check out the tutorials about Wiring installation and software setup.
Upload the StandardFirmata example from the Wiring IDE placed in Help->Examples->Firmata->examples->StandardFirmata.
Download the pure data files here
Open the wiring-test.pd and setup the port. Click the message "devices" to print the available port in the console and choose the correct port using the hradio component placed at left upper side.
To turn ON or OFF the on-board LED use the toggle component named WLED.
To read analog values, click the object "pd old analog/digital controls" and choose the pin you want to activate.