I want to control an Arduino from a Wemos D1 via TX/RX commands.
So i have to generate a serial command first from the Wemos side. The Arduino is connected to the Tx/Rx pins and should receive the commands.
According to the wiki: https://www.letscontrolit.com/wiki/inde ... _Reference it seems simple to generate a serial command. So my rules look like this:
Code: Select all
on wemosUP#State do
if [wemosUP#Switch]=1
<TurnOn>
endif
endon
Hope someone can point out my mistake.
Cheers
ED
P.S.: Is there another way to send commands to an Anrduino besides the serial communication?