Communication Protocol

This is the definition of the communication protocol between the hardware and the software.
It is purely ASCII/text, so that debugging is easy. Simply open your favourite serial terminal and try the commands. The commands start with a single letter, some options and an closing [Return]. All answers are followed by a return as well.

The port settings are: 115200 Baud, 8 Bit, 1 Stopbit, No Parity.

Commands

Examples

Example for the C command:
C 1 500 2 0 4 423 7 432 0 2047[Return]
or
C 0=1 4=3212 2=0[Return]
or
C0=1C4=3212C2=0[Return]
or
Coil 0 = 3000, coil 4 is 120 and the last coil will be coil 5 with a value of 1024 for its DAC.[Return]

Variables

Functions

None yet...
But there will be some for testing of the resistivity and the inductivity of the coil.