大约有 800 项符合查询结果(耗时:0.0065秒) [XML]
App Inventor 2 JDY-34双模蓝牙模块配置与通信教程 · App Inventor 2 中文网
...功耗蓝牙)
使用 BluetoothLE 扩展
通过Service/Characteristic读写
适合低功耗场景
AT指令配置
通过串口发送AT指令配置模块(需要在未连接状态发送):
指令
功能
示例
...
JPush 极光推送扩展 · App Inventor 2 中文网
...步:监听推送事件
when JPush1.OnNotificationOpened(title, content, extras) {
标签1.Text = content
}
when JPush1.OnMessageReceived(message, extras) {
// 处理自定义消息(透传消息,不显示通知栏)
标签2.Text = message
}
获取设备注册 ID
...
手机蓝牙控制台灯:HC-05 开关、无级调光、定时关灯(附 .aia 源码与单片机...
... RX, TX
const int LAMP = 9; // PWM 引脚,接 MOSFET 模块 SIG
String line;
void setup() {
bt.begin(9600); // HC-05 出厂波特率
pinMode(LAMP, OUTPUT);
analogWrite(LAMP, 0);
}
void loop() {
while (bt.available()) {
char c = bt.read();
if (c == '\n') {
...
使用模拟器构建应用程序 · App Inventor 2 中文网
...luded with the software you already downloaded as part of the App Inventor Extras Package. Navigate to the directory where the App Inventor Extras software was installed, locate the folder called commands-for-appinventor and run the commandrun-emulator.Be patient: The emulator takes a long time to s...
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...
App Inventor 2 蓝牙遥控教程 - 经典蓝牙与BLE控制智能硬件 · App Inventor 2 中文网
..."传感器值:" + byteValues
}
注意事项:
WriteBytes 比 WriteStrings 更可靠(WriteStrings 存在 23 字节硬编码限制)
UUID 需要与硬件端 GATT 服务的 UUID 一致
常见 BLE 模块的默认 UUID:
HM-10:FFE0 / FFE1
ESP32(NimBLE 默认):6E4...
Error 908: Permission Receive SMS - #5 by Taifun - MIT App Inventor Help - MIT App Inventor Community
...eDirect and MakePhoneCallDirect blocks that do the old behavior that needs extra permissions. We chose to have the existing SendMessage and MakePhoneCall blocks launch the default apps via Intents , as recommended by Google policy, which should work for most people.
For receiving, we made it so tha...
App Inventor 2 接入百度网盘API · App Inventor 2 中文网
...oken=[access_token]&method=filemetas&fsids=[1737895653506]&thumb=1&dlink=1&extra=1
5、根据dlink下载 【Web客户端】
https://d.pcs.baidu.com/file/330eb0451pf47ab8514ab5b6f0095c67?fid=2584198580-250528-1737895653506&rt=pr&sign=FDtAERV-DCb740ccc5511e5e8fedcff06b08...
实时开发、测试和调试工具 · App Inventor 2 中文网
... 你可以从计算机上的终端启动 adb。 转到包含 AppInventor Extras 软件的目录并运行命令 adb logcat
这将显示整个(大)系统日志。 如果你正在调试,则应该打开日志,再次模拟该错误,然后查看日志末尾出现的内容。
adb 的实际目...
使用Activity启动器组件 · App Inventor 2 中文网
...性 DataType 和 DataURI 在 App Inventor 中设置这些。 还有一个 Extras 属性,它采用键和值的列表并指定相应键的属性值。 你必须设置的特定值取决于你要启动的活动。
这里有些例子。
警告:这些示例中的值取决于应用程序用户设备...
