X-Git-Url: http://git.tdb.fi/?p=model-railway-devices.git;a=blobdiff_plain;f=arducontrol%2Fcommands.h;h=7e2370a2d8d94abb818803f4d8d000a299221b02;hp=eae919cee32b0a9778bc4663542248e01ecbd205;hb=9106943c465894bd1a8862b0a6d7ffdd89f8b643;hpb=518d6e4805e36ee0fc0585d1595d394f33495108 diff --git a/arducontrol/commands.h b/arducontrol/commands.h index eae919c..7e2370a 100644 --- a/arducontrol/commands.h +++ b/arducontrol/commands.h @@ -5,6 +5,7 @@ enum Command { POWER_ON = 0x01, POWER_OFF = 0x02, + READ_POWER_STATE = 0x03, READ_TRACK_CURRENT = 0x08, SET_OVERCURRENT_LIMIT = 0x09, READ_INPUT_VOLTAGE = 0x0A, @@ -23,6 +24,7 @@ enum Command OVERCURRENT = 0xA0, TRACK_CURRENT = 0xC0, INPUT_VOLTAGE = 0xC1, + POWER_STATE = 0xC2, S88_DATA = 0xD0 };