bh4rum 发表于 2014-5-12 18:00:40

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

本帖最后由 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.

废墟 发表于 2014-5-13 19:19:33

使用的时候要注意不能和Servo.h也就是舵机库同时使用

mondaywoo 发表于 2015-8-12 23:31:01

初学者学习
页: [1]
查看完整版本: 原来串口不够用了还有:Software serial 软件串口