AppyBuilder + Arduino. (home automation). Toggler button doubt

Hi guys.

I’m having a little problems in the blocks from an app for home automation, in special with the button toggle.
I wanna control via an android app an arduino microcontroller, I’m looking for turn on/off lights (with 4-way relay module), gather information from a temperature/humidity sensor (dht22), sense presence with a PIR sensor. all via bluetooth.

Screen Shot 2016-05-09 at 8.20.02 PM.png

I want to send a letter when the button is on, and another when the button turns off. this is for the connection via bluetooth and interface with arduino. this is the code block i think will works, but when compile an error appears.

Screen Shot 2016-05-09 at 7.20.20 PM.png

I really appreciate any help.


What is AppyBuilder??


I really appreciate any help.

You fix my Ford, and I'll fix your non-Arduino code problem.

To help you need to provide all the details. Arduino code, Appybuilder code and the schematic.

Sounds like an ideal question to ask in the Appybuilder support forums;