Ameba ARDUINO: [RTL8195AM][RTL8710AF][RTL8711AM] 与 Ameba 相容的 ARDUINO 范例表
Arduino内建许多Example, 底下的列表是Ameba支援的内建范例
Category | Name | Comment |
01. Basics | AnalogReadSerial | |
BareMinimum | ||
Blink | ||
DigitalReadSerial | ||
Fade | ||
ReadAnalogVoltage | 仅限于RTL8195AM | |
02. Digital | BlinkWithoutDelay | |
Button | ||
Debounce | ||
DigitalInputPullup | ||
StateChangeDetection | ||
toneMelody | ||
toneMultiple | 请更改代码以使用引脚9和10代替引脚6和7 | |
03. Analog | AnalogInOutSerial | |
AnalogInput | ||
Calibration | ||
Fading | ||
Smoothing | ||
04. Communication | ASCIITable | |
Dimmer | ||
Graph | ||
Midi | 唯一的串行端口用于Log UART。请更改使用softserial | |
PhysicalPixel | ||
ReadASCIIString | 请更改代码以使用引脚11、12、13代替引脚3、5和6 | |
SerialEvent | ||
05. Control | Arrays | |
ForLoopIteration | ||
IfStatementConditional | 请将LED连接到引脚13 | |
switchCase | ||
switchCase2 | ||
WhileStatementConditional | ||
06. Display | barGraph | |
RowColumnScanning | 请更改代码以使用引脚1代替引脚19 | |
07. Strings | CharacterAnalysis | |
StringAdditionOperator | ||
StringAppendOperator | ||
StringCaseChanges | ||
StringCharacters | ||
StringComparisonOperators | 请在第119行的范例代码中将A5更改为A2 | |
StringConstructors | ||
StringIndexOf | ||
StringLength | ||
StringLengthTrim | ||
StringReplace | ||
StringStartsWithEndsWith | ||
StringSubstring | ||
StringToInt |
Copyrights ©瑞晟微电子(苏州)有限公司 2021. All rights reserved. 使用条款