## 通信
> 这些例子包含Arduino与运行在电脑上的**Processing程序**通信的代码。
> 关于Processing更多信息,请访问其[官方网站](https://processing.org/)
> 例子中也含有能与Arduino工程通信的**Max/MSP**的**程序包**(patch)。想要了解更多信息请看[Cycling 74](https://cycling74.com/)。
> 有与Arduino内容重复的。
> 希望多关注Processing代码,来学习Processing的使用。
* * * * *
~~~
├─04.Communication 通信
│ ├─ASCIITable ASCIl表:通过串口输出ASCII码表,
│ ├─Dimmer 调光器:与processing通信,通过移动鼠标来改变led的亮度,
│ ├─Graph 数据图表:与processing通信,绘制电位器的数据图像,
│ ├─Midi MIDI音乐:串口发送MIDI音符
│ ├─MultiSerial 多串口:使用Arduino Mega上的两个串口
│ ├─PhysicalPixel 控制LED:与processing通信,控制led,
│ ├─ReadASCIIString 读取ASCII字符串:通过串口读的数值控制REG LED,
│ ├─SerialCallResponse 串口双向调用 (握手连接):使用握手方式发送多个变量,
│ ├─SerialCallResponseASCII 串口双向调用(使用ASCII字符串):使用握手方式发送多个变量,并且在转发之前将这些变量的值通过ASCII解码为字符串。
│ ├─SerialEvent 串口事件:串口高级用法SerialEvent举例
│ ├─SerialPassthrough 一个板子上,同时用两个串口通信,
│ └─VirtualColorMixer 虚拟调色盘:与processing通信,通过串口发送多个数据,来控制电脑端的颜色,
~~~
- 说明
- 系统示例文件目录结构及说明
- 01.Basics
- AnalogReadSerial
- BareMinimum
- Blink
- DigitalReadSerial
- Fade
- ReadAnalogVoltage
- 02.Digital
- BlinkWithoutDelay
- Button
- Debounce
- DigitalInputPullup
- StateChangeDetection
- toneKeyboard
- toneMelody
- toneMultiple
- tonePitchFollower
- 03.Analog
- AnalogInOutSerial
- AnalogInput
- AnalogWriteMega
- Calibration
- Fading
- Smoothing
- 04.Communication
- ASCIITable
- Dimmer
- Graph
- Midi
- MultiSerial
- PhysicalPixel
- ReadASCIIString
- SerialCallResponse
- SerialCallResponseASCII
- SerialEvent
- SerialPassthrough
- VirtualColorMixer
- 05.Control
- Arrays
- ForLoopIteration
- IfStatementConditional
- switchCase
- switchCase2
- WhileStatementConditional
- 06.Sensors
- ADXL3xx
- Knock
- Memsic2125
- Ping
- 07.Display
- barGraph
- RowColumnScanning
- 08.Strings
- CharacterAnalysis
- StringAdditionOperator
- StringAppendOperator
- StringCaseChanges
- StringCharacters
- StringComparisonOperators
- StringConstructors
- StringIndexOf
- StringLength
- StringLengthTrim
- StringReplace
- StringStartsWithEndsWith
- StringSubstring
- StringToInt
- 09.USB
- Keyboard
- KeyboardLogout
- KeyboardMessage
- KeyboardReprogram
- KeyboardSerial
- KeyboardAndMouseControl
- Mouse
- ButtonMouseControl
- JoystickMouseControl
- 10.StarterKit_BasicKit (与特定硬件相关,暂无)
- p02_SpaceshipInterface
- p03_LoveOMeter
- p04_ColorMixingLamp
- p05_ServoMoodIndicator
- p06_LightTheremin
- p07_Keyboard
- p08_DigitalHourglass
- p09_MotorizedPinwheel
- p10_Zoetrope
- p11_CrystalBall
- p12_KnockLock
- p13_TouchSensorLamp
- p14_TweakTheArduinoLogo
- p15_HackingButtons
- 11.ArduinoISP(暂无)
- ArduinoISP