Currently m want to operate relay by arduino board,
just i found this code to operate relay or get output by help of firmata.
i gat below mention code to operate/to get output from pin.
just i want to know how to add ASCII code to this program? meant instead of mouse i want to operate relay by pressing key like "A" for on and "a" for off.