大约有 3 项符合查询结果(耗时:0.0021秒) [XML]
App Inventor 2 串口通信教程 - USB串口与蓝牙串口 · App Inventor 2 中文网
...块接收数据(来自手机 App)
if (Serial.available() > 0) {
char command = Serial.read();
switch (command) {
case '1':
// 打开 LED
digitalWrite(13, HIGH);
Serial.println("LED ON");
break;
case '0':
// 关闭 LED
digital...
BLE 低功耗蓝牙调试助手:扫描、连接、读写、订阅通知(附 .aia 源码) · ...
...读 UUID、使用 BLE 时出现 error 3300 9005、BLE 接收数据乱码、CH582 与 App Inventor 连接。
界面
图为由最终 .aia 生成的布局预览(列表内容为示例),不是真机截图。
怎么用
准备:一块会广播的 ...
手机串口调试助手:USB OTG 收发文本与十六进制、定时发送(附 .aia 源码)...
...:支持 OTG 的安卓手机、OTG 转接头、USB 转 TTL 串口模块(CH340 / CP2102 / FT232 / PL2303 均可),或者直接接 Arduino 开发板的 USB 口。
打开串口:选波特率(与设备一致,Arduino 常用 9600 或 115200),点「打开串口」。第一次会弹出 US...
