![]() ![]() Either switch would control the LED on the OTHER Arduino. 347 Communications jobs available in Canton, MI on . Due to the serial port flow control provides a mechanism for blocking communication when communication is not possible for some reason, often using hardware. but wouldn't actually be symmetrical 'inside'. Would the whole thing be 'symmetrical', apart from one Arduino being master, the other slave? I think I'll leave worrying about that for another day when my brain is fresher!) I think it would LOOK symmetrical. (If you can work up such a device without repeatedly getting confused as to which LED is controlled, and which is reporting, etc, ,my hat is off to you. ![]() The switch would take the place of the 'Turn LED On' / 'Turn LED Off' buttons, and the LED would take the place of the 'Input due to (other!) switch was high/ low.' text. That 'master Arduino' would only need a switch and an LED to be 'powerful' enough to take the place of the Windows XP machine. I challenge my Arduino friends to do the fairly simple exercise of writing Arduino code to have another Arduino in place of the Windows XP computer in the diagram above. If you know how to connect something else to a serial stream, and can send things to the Arduino over a 'Tx to other device' line, and read bytes received over a 'Rx from other device' line, you can use the Arduino code I've presented here with the software and serial device of your choosing. You don't, by the way, have to do this with Delphi or with a Windows computer as the master. There are a lot of rems in that Delphi code to help you understand what is going on. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
September 2023
Categories |