Highspeed mode is a compile-time option that increases the reporting rate to 1000hz, and uses a different encoding strategy for port and pin reports with a compact OSC bundle.

In this mode the port report is "/r" and contains all pin data in a single OSC blob. The format varies depending on the platform.

The contents of the blob is always a sequence of 16-bit unsigned integers in big-endian byte order. The numbers are left justified. In other words, the value digital 1 is transmitted as 0xffff and digital 0 is 0x0000. Analog values always range from 0x0000-0xffff, regardless of the bit-depth of the source--this enables the same conversion formula to be used for 10- and 12-bit data.

---------

For the Sparkfun Bitwacker / PIC18F2455, the format is as follows:

/r ,b 26 (26 bytes...)

The order of bytes is /ra/0, /ra/1, ... /rb/0, ... /rb/7.

The /rx and /tx pins are not reported. The program button is not reported.

---------

For the CUI / PIC18F455x, the format is as follows:

/r ,b 26 (26 bytes...)

The first two bytes contain the values of all pins on the digital I/O header as a bit field. The remaining 13 2-byte pairs contain the values of the /an/0 - /an/12 pins.

The state of the program button is not reported.