![]() ![]() 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. |