AMB82-MINI (RTL8735B) 与 Ameba 相容的 ARDUINO 范例表
Arduino内建许多Example, 底下的列表是Ameba支援的内建范例
请参考以下连结来设置 Ameba与Arduino IDE。 https://www.amebaiot.com/cn/amebapro2-amb82-mini-arduino-getting-started/
有关 Arduino 内建范例详细信息,请参阅以下连结。 https://www.arduino.cc/en/Tutorial/BuiltInExamples/
请参考以下连结来设置 Ameba与Arduino IDE。 https://www.amebaiot.com/cn/amebapro2-amb82-mini-arduino-getting-started/
有关 Arduino 内建范例详细信息,请参阅以下连结。 https://www.arduino.cc/en/Tutorial/BuiltInExamples/
Category | Name | Comment | Remarks |
01. Basics | AnalogReadSerial | Connect potentiometer to 3.3V. ADC pin used, up to 3.3V. | ADC pin options A0, A1, A2, A3, A4, A5, A6 and A7. ADC pin reading voltage range 0 to 3.3V. |
BareMinimum | |||
Blink | LED_BUILTIN sets to LED_B (on-board LED blue) | LED options, on-board LED, LED_B (blue) or LED_G (green). | |
DigitalReadSerial | |||
Fade | For “analogWrite()”, use PWM capable pin. | PWM capable Pin 1, 2, 3, 4, 5, 6, 7, 8, and 23 (LED_B, for LED usage only). | |
ReadAnalogVoltage | ADC pin used, up to 3.3V. | ||
02. Digital | BlinkWithoutDelay | LED_BUILTIN sets to LED_B (on-board LED blue) | LED options, on-board LED. Button options, on-board button. |
Button | |||
Debounce | |||
DigitalInputPullup | |||
StateChangeDetection | |||
toneKeyboard | ADC pin used, up to 3.3V. For “analogRead()”, use ADC pin name (A0 to A7) instead the integer number. For “tone()” and “noTone()”, use PWM capable pin. | ||
toneMelody | |||
toneMultiple | |||
tonePitchFollower | |||
03. Analog | AnalogInOutSerial | ADC pin used, up to 3.3V. For “analogWrite()”, use PWM capable pin. | |
AnalogInput | LED options, on-board LED. | ||
AnalogWriteMega | |||
Calibration | |||
Fading | |||
Smoothing | |||
04. Communication | ASCIITable | ||
Dimmer | For “analogWrite()”, use PWM capable pin. | ||
Graph | Connect potentiometer to 3.3V. ADC pin used, up to 3.3V. | ||
Midi | Use 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. | ||
ReadASCIIString | For “analogWrite()”, use PWM capable pin. | ||
SerialCallResponse | ADC pin used, up to 3.3V. For “analogRead()”, use ADC pin name (A0 to A7) instead the integer number. | ||
SerialCallResponseASCII | ADC pin used, up to 3.3V. | ||
SerialEvent | |||
SerialPassthrough | Serial options, Serial, Serial1 or Serial2. | ||
VirtualColorMixer | ADC pin used, up to 3.3V. | ||
05. Control | Arrays | ||
ForLoopIteration | |||
IfStatementConditional | ADC pin used, up to 3.3V. | ||
switchCase | ADC pin used, up to 3.3V. | ||
switchCase2 | |||
WhileStatementConditional | ADC pin used, up to 3.3V. For “analogWrite()”, use PWM capable pin. | ||
06. Display | barGraph | ADC pin used, up to 3.3V. | |
RowColumnScanning | ADC pin used, up to 3.3V. For “analogRead()”, use A6 and A7 instead of A0 and A1. After line 101, add delay(1); | ||
07. Strings | CharacterAnalysis | ||
StringAdditionOperator | |||
StringAppendOperator | |||
StringCaseChanges | |||
StringCharacters | |||
StringComparisonOperators | ADC pin used, up to 3.3V. | ||
StringConstructors | Select “Arduino_STD_PRINTF” from Arduino IDE menu “Tools/* Standard Lib Enable”. | ||
StringIndexOf | |||
StringLength | |||
StringLengthTrim | |||
StringReplace | |||
StringStartsWithEndsWith | |||
StringSubstring | |||
StringToInt |
Realtek IoT/Wi-Fi MCU Solutions . All Rights Reserved. 使用条款