## 通信
> 這些例子包含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