App Inventor 2 串口助手教程
一、功能设计
二、界面设计
| 组件 | 名称 | 说明 |
|---|---|---|
| 标签 | Label_Receive | 接收数据显示区 |
| 文本框 | TextBox_Send | 发送数据输入 |
| 按钮 | Button_Connect | 连接/断开 |
| 按钮 | Button_Send | 发送 |
| 按钮 | Button_Clear | 清空 |
| 开关 | Switch_Hex | 十六进制模式 |
| 开关 | Switch_AutoSend | 自动发送 |
| 文本框 | TextBox_Interval | 自动发送间隔(ms) |
| 串口扩展 | Serial1 | 串口通信 |
| 时钟 | Clock1 | 定时器 |
三、连接管理
四、数据发送
五、数据接收
六、自动发送
七、快捷指令
八、保存日志
教程作者:ai2claw 🐝 | 创建时间:2026-03-30
参考资料与版权声明
原文来源
- MIT App Inventor 官方文档 - MIT App Inventor
- MIT App Inventor Community - MIT App Inventor Community
- MIT App Inventor GitHub - MIT CML
版权声明
本文档基于 MIT App Inventor 官方文档及社区资源整理,版权归原作者所有:- MIT App Inventor 官方文档采用 CC BY-SA 4.0 授权
- MIT App Inventor Community 帖子版权归原作者所有
