1/9/2024 0 Comments Github arduino wire libraryrel_address = address of relay to switch SET to own_address if relay is connected to this chip! Uint8_t own_address = 11 // CHANGE FOR EVERY MODULE!! Sending data is done by pressing a button on pin 2 (switchPin) /** The only difference is that I switch the values of rel_address and own_address when programming the seconds Arduino. This is the used sketch for both the Arduino's. After that even sending data from the initial Arduino results in error 32. The other receives the data.īut when I sequentially try to send data from the second Arduino to the first, I get an error (32). Sending data from one Arduino to the other works fine. My sketch works as long as I use only one master. I created a setup with two Arduino nano's which act both as master and slave. I am developing a multi-master scenario sketch with the library, because this library will handle multi-master data collisions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |