Hi all, apologies if this has been covered elsewhere but I am looking for help making an Arduino send a simple text string upon contact closure on an input pin I have the MAX232 board ebay item 270941700769 it really is a simple operation every time button is pressed I need the same serial string to be output via RS232, any help is much appreciated!
if (digitalRead(some_pin) == HIGH)
Serial.println ("Some string");
while (digitalRead(some_pin) == HIGH) ;
You'll probably need some debouncing but that's the idea.
Rob