扫描日期:2023年12月29日
包名称:com.lekpkd.duinojoy
SHA-256:789632b9b83d349b5743529025df0c56f4390ccf43920a47faeffa394418c662
SHA-1:1c5cf1265cdd4e147e2715d0c7109c0abab22392
更多
杜伊诺欢乐是经由蓝牙模块与Arduino的通信简单虚拟操纵杆
查看示例如何在https://www.instructables.com/id/Simple-RC-Car-Arduino-Nano-HC-05/使用
***********************
测试
***********************
//连接
// Arduino的蓝牙>>>
// D10(如RX)>>>的Tx
// D11(如TX)>>>的Rx
的#include
SoftwareSerial蓝牙(10,11); // RX,TX
空隙设置(){
Serial.begin(19200); //显示到Arduino的IDE串行监视器
bluetooth.begin(9600); //使用蓝牙模块进行通信
}
空隙环(){
而(bluetooth.available())//等待从蓝牙数据
{
炭A = bluetooth.read(); //读取数据为CHAR从软件序列
Serial.print( “收到:”);
Serial.println(一); //打印数据串行监视器
}
}
Last updated on 2020年01月30日
Simple Virtual Joystick for Arduino with Bluetooth module
- Added Lao language