CODE BLOCKS
Working With xBee Radios
Connecting Arduino / MAX and Processing
Mapping Values: example code for serial communication and data mapping (scaling) for media control.
Mapping Single Bytes: examples of processing, Max/MSP and arduino for sending ONE BYTE at a time. This is simple code that works for single sensors but does not scale easily — and has some serious limitations.
Serial communication of Large Numbers: A more flexible strategy for sending big values. Max and Processing handle this differently — so there are two sets of code.
Simple Serial in Max: Base code for serial in Max/MSP.
Sound Mapping in Max.
Basic Serial – Arduino and Max (Examples from Grad Class Spring 2008)