Arduino Development for OSX and iOS (2015)
3. Controlling Arduino from OSX
3.2 Installing Firmata on Arduino Board
Firmata is a protocol for communicating with microcontrollers from software on a computer (or smartphone/tablet, etc). The protocol can be implemented in firmware on any microcontroller architecture as well as software on any computer software package.