AMB25 (RTL8720DF) 與 Ameba 相容的 ARDUINO 範例表
Arduino內建許多Example, 底下的列表是Ameba支援的內建範例
請參考以下連結來設置 Ameba與Arduino IDE。 https://www.amebaiot.com/zh/amebad-amb25-arduino-getting-started/
有關 Arduino 內建範例詳細信息,請參閱以下連結。 https://www.arduino.cc/en/Tutorial/BuiltInExamples/
請參考以下連結來設置 Ameba與Arduino IDE。 https://www.amebaiot.com/zh/amebad-amb25-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 A4 (PB1), A5 (PB2), A6 (PB3). ADC pin reading voltage range 0 to 3.3V. |
BareMinimum | |||
Blink | LED_BUILTIN sets to any GPIO pins. | ||
DigitalReadSerial | |||
Fade | For “analogWrite()”, use PWM capable pin. | PWM capable Pin 2, 3, 4, 5, 6, 7, 14, 15, 16, 17, 18, and 19. | |
ReadAnalogVoltage | ADC pin used, up to 3.3V. | ||
02. Digital | BlinkWithoutDelay | LED_BUILTIN sets to any GPIO pins. | |
Button | |||
Debounce | |||
DigitalInputPullup | |||
StateChangeDetection | |||
toneKeyboard | ADC pin used, up to 3.3V. For “analogRead()”, use ADC pin name (A4 to A6) 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 | |||
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 | |||
SerialCallResponse | ADC pin used, up to 3.3V. For “analogRead()”, use ADC pin name (A4 to A6) instead the integer number. | ||
ReadASCIIString | For “analogWrite()”, use PWM capable pin. | ||
SerialEvent | |||
SerialPassthrough | Serial options, Serial, Serial1 or Serial2. | ||
VirtualColorMixer | ADC pin used, up to 3.3V. | ||
05. Control | Arrays | ADC pin used, up to 3.3V. For “analogWrite()”, use PWM capable pin. | |
ForLoopIteration | |||
IfStatementConditional | |||
switchCase | |||
switchCase2 | |||
WhileStatementConditional | |||
06. Display | barGraph | ADC pin used, up to 3.3V. | |
RowColumnScanning | ADC pin used, up to 3.3V. In line 41, replace, pin 11 and pin 10 with pin 1 and pin 0 respectively. For “analogRead()”, use A4 and A5 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. | ||
StringIndexOf | |||
StringLength | |||
StringLengthTrim | |||
StringReplace | |||
StringStartsWithEndsWith | |||
StringSubstring | |||
StringToInt |
Realtek IoT/Wi-Fi MCU Solutions . All Rights Reserved. 使用條款