极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 12020|回复: 2

原来串口不够用了还有:Software serial 软件串口

[复制链接]
发表于 2014-5-12 18:00:40 | 显示全部楼层 |阅读模式
本帖最后由 bh4rum 于 2014-5-12 18:02 编辑

{:soso_e102:} IDE已经集成了库文件


In this tutorial you will learn how to implement Asynchronous serial communication on the Arduino in software to communicate with other serial devices. Using software serial allows you to create a serial connection on any of the digital i/o pins on the Arduino. This should be used when multiple serial connections are necessary. If only one serial connection is necessary the hardware serial port should be used. This is a general purpose software tutorial, NOT a specific device tutorial. A tutorial on communicating with a computer is here. Device specific tutorials are on the Tutorial Page. For a good explanation of serial communication see Wikipedia. The software serial connection can run at 4800 baud or 9600 baud reliably.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复

使用道具 举报

发表于 2014-5-13 19:19:33 | 显示全部楼层
使用的时候要注意不能和Servo.h也就是舵机库同时使用
回复 支持 反对

使用道具 举报

发表于 2015-8-12 23:31:01 | 显示全部楼层
初学者学习
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|联系我们|极客工坊

GMT+8, 2026-6-16 17:44 , Processed in 0.035453 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表