简体   繁体   English

Arduino GPIO上的串行数据输出

[英]serial data output on arduino GPIO

How do I have serial data come out of an arduino's GPIO pin? 我如何从Arduino的GPIO引脚输出串行数据? I don't mean for the serial monitor but an 8 bit number? 我不是指串行监视器,而是8位数字? Then, how do I get another arduino to read that number correctly through one of it's GPIO pins? 然后,如何获得另一个arduino以通过其GPIO引脚之一正确读取该数字? Basically, I'm trying to make a serial network between two arduinos without using the UART pins. 基本上,我想在不使用UART引脚的情况下在两个arduino之间建立串行网络。

SoftwareSerial实现软件UART。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM