2017-03-24 20:40:56 +00:00
|
|
|
module.exports =
|
|
|
|
{
|
|
|
|
Command:
|
|
|
|
{
|
|
|
|
Error: 0x00,
|
|
|
|
Ping: 0x01,
|
|
|
|
Reply: 0x02,
|
|
|
|
GetMode: 0x03,
|
2017-04-16 11:40:34 +00:00
|
|
|
SetMode: 0x04,
|
2017-05-06 13:27:20 +00:00
|
|
|
GetRange: 0x05,
|
|
|
|
SetRange: 0x06,
|
2017-04-16 11:40:34 +00:00
|
|
|
UpdateFirmware: 0xFF
|
2017-03-24 20:40:56 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
Mode:
|
|
|
|
{
|
|
|
|
Static: 0x01,
|
|
|
|
Custom: 0x02,
|
|
|
|
Alternate: 0x03,
|
|
|
|
Slide: 0x04
|
|
|
|
//ADC: 0x05
|
|
|
|
}
|
|
|
|
};
|