mk serial protocol question

  • this one is mostly for tehn.

    is there any way to query an mk device to see how many grids are active? there is the to-device command to set it, but is there any from-device command that reports it? (a look through firmware/encoder/mk.c suggests not, but I figured I'd ask.)

  • just posted the protocol to the wiki.

    no, i didn't add something for this, but indeed it'd be helpful.

    we can always change the firmware, given the bootloader.

    perhaps the protocol should be two-byte. the first byte is the ID/opcode with read/write as the low bit. the second byte is either dnc (read) or the value (0-4, for write).

  • in fact yes, this seems like a good idea. for confirmation of write, and a less stupid query tool.