Arduino内置教程-通讯

通讯

这些例子包括允许Arduino联系在电脑上运行的Processing sketches。对于更多信息或者下载Processing,请查看processing.org。这里也有可以和每个Arduino sketch通讯的Max/MSP路径。对于更多关于Max/MSP,请看Cycling 74。

These examples include code that allows the Arduino to talk to Processing sketches running on the computer. For more information or to download Processing, see processing.org. There are also Max/MSP patches that can communicate with each Arduino sketch as well. For more on Max/MSP see Cycling 74.
ASCIITable: Demonstrates Arduino's advanced serial output functions.
Dimmer: Move the mouse to change the brightness of an LED.
Graph: Send data to the computer and graph it in Processing.
Midi: Send MIDI note messages serially.
Multi Serial Mega: Use two of the serial ports available on the Arduino Mega.
Physical Pixel: Turn a LED on and off by sending data to your Arduino from Processing or Max/MSP.
Read ASCII String: Parse a comma-separated string of integers to fade an LED.
Serial Call Response: Send multiple variables using a call-and-response (handshaking) method.
Serial Call Response ASCII: Send multiple variables using a call-and-response (handshaking) method, and ASCII-encode the values before sending.
Serial Event: Demonstrates the use of SerialEvent().
Virtual Color Mixer: Send multiple variables from Arduino to your computer and read them in Processing or Max/MSP.

标签: arduino内置教程, arduino通讯