AMB82 MINI (RTL8735B) Supported ARDUINO built-in example table

There are many built-in examples in Arduino. In the table below, we list all examples that are compatible with Ameba.
Please refer the following link to set up Ameba for Arduino IDE.
Refer the following link for Arduino built-in example details.
CategoryNameCommentRemarks
01. BasicsAnalogReadSerialConnect potentiometer to 3.3V.
ADC pin used, up to 3.3V and can be calibrated by using analogSet(float gain, float offset).
ADC pin options A0, A1, A2, A3, A4, A5, A6 and A7.
ADC pin reading voltage range 0 to 3.3V.
ADC value can be calibrated by modifying _offset and _gain using 2 points calibration method. analogSet(float gain, float offset) can be used to update the calibrated offset and gain values.
BareMinimum  
BlinkLED_BUILTIN sets to LED_B (on-board LED blue)LED options, on-board LED, LED_B (blue) or LED_G (green).
DigitalReadSerial  
FadeFor “analogWrite()”, use PWM capable pin.PWM capable Pin 1, 2, 3, 4, 5, 6, 7, 8, and 23 (LED_B, for LED usage only).
ReadAnalogVoltageADC pin used, up to 3.3V and can be calibrated by using analogSet(float gain, float offset). 
02. DigitalBlinkWithoutDelayLED_BUILTIN sets to LED_B (on-board LED blue)LED options, on-board LED.
Button options, on-board button.
Button 
Debounce 
DigitalInputPullup 
StateChangeDetection 
toneKeyboardADC pin used, up to 3.3V and can be calibrated by using analogSet(float gain, float offset).
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. AnalogAnalogInOutSerialADC pin used, up to 3.3V and can be calibrated by using analogSet(float gain, float offset).
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 and can be calibrated by using analogSet(float gain, float offset).
 
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 and can be calibrated by using analogSet(float gain, float offset).
For “analogRead()”, use ADC pin name (A0 to A7) instead the integer number.
Modify code for processing software
xpos = serialInArray[2];
ypos = serialInArray[1];
fgcolor = serialInArray[0];
SerialCallResponseASCIIADC pin used, up to 3.3V and can be calibrated by using analogSet(float gain, float offset). 
SerialEvent  
SerialPassthrough Serial options, Serial, Serial1 or Serial2.
VirtualColorMixerADC pin used, up to 3.3V and can be calibrated by using analogSet(float gain, float offset). 
05. ControlArrays  
ForLoopIteration  
IfStatementConditionalADC pin used, up to 3.3V and can be calibrated by using analogSet(float gain, float offset). 
switchCaseADC pin used, up to 3.3V and can be calibrated by using analogSet(float gain, float offset). 
switchCase2  
WhileStatementConditionalADC pin used, up to 3.3V and can be calibrated by using analogSet(float gain, float offset).
For “analogWrite()”, use PWM capable pin.
 
06. DisplaybarGraphADC pin used, up to 3.3V and can be calibrated by using analogSet(float gain, float offset). 
RowColumnScanningADC pin used, up to 3.3V and can be calibrated by using analogSet(float gain, float offset). For “analogRead()”, use A6 and A7 instead of A0 and A1. After line 101, add delay(1); 
07. StringsCharacterAnalysis  
StringAdditionOperator  
StringAppendOperator  
StringCaseChanges  
StringCharacters  
StringComparisonOperatorsADC pin used, up to 3.3V and can be calibrated by using analogSet(float gain, float offset). 
StringConstructorsSelect “Arduino_STD_PRINTF” from Arduino IDE menu “Tools/* Standard Lib Enable”. 
StringIndexOf  
StringLength  
StringLengthTrim  
StringReplace  
StringStartsWithEndsWith  
StringSubstring  
StringToInt  
Please confirm that QQ communication software is installed