int i = 0;
byte[] Parameter = new byte[4]; Parameter[0] = (byte)(i & 0x000000ff); Parameter[1] = (byte)((i & 0x0000ff00) >> 8); Parameter[2] = (byte)((i & 0x00ff0000) >> 16); Parameter[3] = (byte)((i & 0xff000000) >> 24); // SetSpeed = new byte[] { 0x55, 0xAA, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x12, 0x00, 0x13, 0x01 }; // Writer(); SetSpeed = new byte[] { 0x55, 0xAA, 0x01, 0x00, Parameter[0], Parameter[1], Parameter[2], Parameter[3], 0x21, 0x00, 0x22, 0x01 };//checkenrolled Writer(); SetSpeed = new byte[] { 0x55, 0xAA, 0x01, 0x00, Parameter[0], Parameter[1], Parameter[2], Parameter[3], 0x22, 0x00, 0x23, 0x01 };//enrollStart Writer();
can you please send command of 12 bytes for enrollstart and enrollechecked
@user88797 started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
int i = 0;
can you please send command of 12 bytes for enrollstart and enrollechecked