问题描述
大家好。
我想要闪烁三种不同的Led与主和从avr eith spi协议
我用spi协议连接两个avr问题是当我按下三个按钮中的一个按钮时,三个LED指示灯闪烁。因为三个LED的接收条件相同。所以我想让第二个avr知道我在第一个avr中按下了哪个按钮。
我尝试了什么:
我用spi协议连接两个avr问题是当我按下三个按钮中的一个时,三个LED指示灯闪烁。因为三个LED的接收条件相同。所以我想让第二个avr知道我在第一个avr中按下了哪个按钮。
Hello every one .
I want to blink three different Led with master and slave avr eith spi protocol
I have interfaced the two avr with spi protocol the problem is when i press one of the three push buttons the three leds blinks. Because the receive condition is the same for the three leds . So i want to make the 2nd avr knows that which button i have pressed in the first avr.
What I have tried:
I have interfaced the two avr with spi protocol the problem is when i press one of the three push buttons the three leds blinks. Because the receive condition is the same for the three leds . So i want to make the 2nd avr knows that which button i have pressed in the first avr.
推荐答案
这篇关于将主avr中的数据发送到slave avr中的特定引脚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!