Tata > ASCII
#include <Tata.h> /* This example controls the state of Pin 13 with ascii commands: Computer > ascii > Arduino/Tata > digialWrite > Pin 13 Send the following ascii messages: "HIGH" "LOW" Please note that you must always end your messages with a carriage return. */ // HARDWARE CONNECTIONS int LED = 13; void messageReceived() { if ( Tata.type() == ASCII ) { if ( Tata.checkWord("HIGH") ) { digitalWrite(LED,HIGH); } else if ( Tata.checkWord("LOW") ){ digitalWrite(LED,LOW); } } void setup() { Tata.begin(57600,messageReceived,"Pin13"); pinMode(LED, OUTPUT); } void loop() { Tata.process(); }