
Arduino
Bobsweetie
不经思考的人生是不值得过的
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
arduino将从串口接收到的数据打印出来
/*Test the communication between ROS and arduino throuth serial bob 2016,1,9 */ char byte1; String str1 = ""; void setup() { Serial.begin(9600); pinMode(13, OUTPUT); } void loop() { while (S原创 2016-01-16 14:38:48 · 18967 阅读 · 0 评论 -
开辟线程进行pc(ubuntu)和arduino串口通信的python程序
#!/usr/bin/env python #coding=utf-8 import serial import time import threading import glob inhead = 'RECV' #接收数据头 outhead = 'SEND' #发送数据头 class SerialData(threading.Thread):#创建threading.Thread的子原创 2016-01-16 14:54:38 · 2949 阅读 · 0 评论