大约有 2,000 项符合查询结果(耗时:0.0052秒) [XML]
APP INVENTOR硬件交互学习教程03——巧借arduino nano 配置HC-05 - 创客硬...
...intln("Enter AT commands!");
}
void loop() {
// read from port 1, send to port 0:
if (EEBlue.available()) {
int inByte = EEBlue.read();
Serial.write(inByte);
}
// read from port 0, send to port 1:
&nbs...
虚拟机安装CentOS出错:EDD:Error 8000 reading sector 2106934 - 环境配置...
EDD:Error 8000 reading sector 2106934
No DEFAULT or UI configuration directive found!
boot:
Getting closer!
When i start to install every thing seem to be fine.
1.Select language k
2.select location k
3.configure keyboard k
4.network config k
then it gets stuck on a purple screen with n...
串口Read不到数据的问题 - 用户反馈 - 清泛IT社区,为创新赋能!
用户发送的是 8n1 的格式,但是ai2的串口貌似不支持这种格式。写串口正常,读串口为空,len为0。
目前经过测试验证,应该是 \n 作为结束符的。发送时,也是。
ai2使用 physicaloid 库完成的串口功能。
APP INVENTOR硬件交互学习教程07——多个参数上报 - 创客硬件开发 - 清泛IT...
...loop() {
if(Serial.available()) {
inByte = Serial.read();
}delay(1000);
sendPara();
}
复制代码
4.后续扩展,还可以添加更多的参数。
关于php的socket初探 - PHP - 清泛IT论坛,有思想、有深度
...是“一切皆文件”,都可以用“打开open –> 读写write/read –> 关闭close”模式来操作。我的理解就是Socket就是该模式的一个实现,socket即是一种特殊的文件,一些socket函数就是对其进行的操作(读/写IO、打开、关闭)
既然Uni...
APP INVENTOR硬件交互学习教程04——蓝牙控制继电器 - 创客硬件开发 - 清泛...
...loop() {
if(Serial.available()) {
inByte = Serial.read();
if(inByte == 'H'){ digitalWrite(relayPin, HIGH);}
if(inByte == 'L'){ digitalWrite(relayPin, LOW);}
} }
复制代码三、app inventor
3.1界面
...
APP INVENTOR硬件交互学习教程06——硬件参数上报 - 创客硬件开发 - 清泛IT...
...loop() {
if(Serial.available()) {
inByte = Serial.read();
if(inByte == 'H'){
digitalWrite(relayPin, HIGH);
Serial.print("ON");
}
if...
BLE(二)信道&数据包&协议栈格式 - 创客硬件开发 - 清泛IT社区,...
...访问行为,包括:
访问有关的权限(access permissions),Readable、Writeable以及Readable and writable;加密有关的权限(encryption permissions),Encryption required和No encryption required;认证有关的权限(authentication permissions),Authentication Requir...
Arduino101(Genuino 101)&App Inventor – RGB LED控制 - 创客硬件开...
...ControlLED("19B10010-E8F2-537E-4F6C-D104768A1214"); // BLE AnalogRead Service
// BLE LED Switch Characteristic - custom 128-bit UUID, read and writable by central
BLEUnsignedIntCharacteristic LEDStatus("19B10011-E8F2-537E-4F6C-D104768A1214", BLERead | BLEWrite );
int...
Lua简明教程 - 脚本技术 - 清泛IT论坛,有思想、有深度
...ite("too young, too naive!\n")
else
local age = io.read()
print("Your age is "..age)
end复制代码
上面的语句不但展示了if-else语句,也展示了
1)“~=”是不等于,而不是!=
2)io库的分别从stdin和stdout读写的read...