AW-CU488 Thing Plus (RTL8721DM) 与 Ameba 相容的 ARDUINO 范例表

Arduino内建许多Example, 底下的列表是Ameba支援的内建范例
请参考以下连结来设置 Ameba与Arduino IDE。 https://www.amebaiot.com.cn/cn/amebad-arduino-getting-started/
有关 Arduino 内建范例详细信息,请参阅以下连结。 https://www.arduino.cc/en/Tutorial/BuiltInExamples/
CategoryNameCommentRemarks
01. BasicsAnalogReadSerialConnect potentiometer to 3.3V
ADC pin used, up to 3.3V.
ADC pin options A0, A1, A2, A3, A4, A5 and A6.
ADC pin reading voltage range 0 to 3.3V.
BareMinimum  
BlinkLED_BUILTIN sets to on-board LED (blue). 
DigitalReadSerial  
FadeFor “analogWrite()”, use PWM capable pin.PWM capable Pin 3, 4, 5, 6, 7, 8, 10, 11, 12, 14, 15, 17, and 26.
ReadAnalogVoltageADC pin used, up to 3.3V. 
02. DigitalBlinkWithoutDelayLED_BUILTIN is on-board LED (blue). 
Button LED options, on-board LED, LED_BUILTIN (blue).
Debounce 
DigitalInputPullup 
StateChangeDetection 
toneKeyboardADC pin used, up to 3.3V.
For “analogRead()”, use ADC pin name (A0 to A6) instead the integer number.
For “tone()” and “noTone()”, use PWM capable pin.
 
toneMelody 
toneMultiple 
tonePitchFollower 
03. AnalogAnalogInOutSerialADC pin used, up to 3.3V.
For “analogWrite()”, use PWM capable pin.
 
AnalogInputLED options, on-board LED.
AnalogWriteMega 
Calibration 
Fading 
Smoothing 
04. CommunicationASCIITable  
DimmerFor “analogWrite()”, use PWM capable pin. 
GraphConnect potentiometer to 3.3V.
ADC pin used, up to 3.3V.
 
MidiUse Serial1, MIDI jack pin 5 connected to SERIAL1_TX;
Use Serial2, MIDI jack pin 5 connected to SERIAL2_TX.
 
MultiSerial  
PhysicalPixel LED options, on-board LED.
ReadASCIIStringFor “analogWrite()”, use PWM capable pin. 
SerialCallResponseADC pin used, up to 3.3V.
For “analogRead()”, use ADC pin name (A0 to A6) instead the integer number.
 
SerialCallResponseASCIIADC pin used, up to 3.3V. 
SerialEvent  
SerialPassthrough Serial options, Serial, Serial1 or Serial2.
VirtualColorMixerADC pin used, up to 3.3V. 
05. ControlArrays  
ForLoopIteration  
IfStatementConditionalADC pin used, up to 3.3V. 
switchCaseADC pin used, up to 3.3V. 
switchCase2  
WhileStatementConditionalADC pin used, up to 3.3V.
For “analogWrite()”, use PWM capable pin.
 
06. DisplaybarGraphADC pin used, up to 3.3V. 
RowColumnScanning 
07. StringsCharacterAnalysis  
StringAdditionOperator  
StringAppendOperator  
StringCaseChanges  
StringCharacters  
StringComparisonOperatorsADC pin used, up to 3.3V. 
StringIndexOf  
StringLength  
StringLengthTrim  
StringReplace  
StringStartsWithEndsWith  
StringSubstring  
StringToInt  
Copyrights ©瑞晟微电子(苏州)有限公司 2021. All rights reserved. 使用条款
请先确认已安装QQ通讯软体