Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15427

SPI communication, slave talks to master

$
0
0

I have an ESP8266 as the master for my project and arduino nano for the slaves.
I've already managed to get my master to talk to my exclave.
My slaves must send information to the master at all times. For example, 1 is used to control the menu and the other for limit switches, so they can send messages to the master at any time.

If the master runs in a loop to interrogate slave 1, then slave 2, then slave 3, this will be done quickly, but how can I be sure I haven't lost any information? Is it possible for the slave to know that it's being interrogated and only respond at that moment?
It's on this functional part that I'm not sure how to proceed, as the master doesn't always communicate with the slaves.

Thank you in advance for your help.

5 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 15427

Trending Articles