The "files" section (below) has a downloadable link for the example .ino file. The code is very simple and implementing it in plain C using the standard, or open, SDK shouldn't present any problems.The are basically only three, very short, routines.LatchOn()LatchOff()ChkAutoOff()The...