Reference firmware for PixArt's PMT9123 sensor and evaluation board. "Hello World" and "Library" contain the exact same files. Please import just one of the two into your mBed compiler as a new program and not as a library.
commHeaders/registerArrays.h
- Committer:
- PixArtVY
- Date:
- 2018-04-10
- Revision:
- 0:71ff24e8c21e
File content as of revision 0:71ff24e8c21e:
const uint8_t optimize[][2] = { { 0x11, 0x0C }, //Tracking performance optimization { 0x14, 0x04 }, { 0x25, 0x0F }, { 0x27, 0xAA }, { 0x34, 0x80 }, { 0x35, 0x03 }, { 0x39, 0x89 }, { 0x4D, 0x79 }, { 0x53, 0x96 }, { 0x58, 0x66 }, { 0x5D, 0x56 }, { 0x5E, 0xF5 }, { 0x5F, 0xCA }, { 0x61, 0xD3 }, { 0x6F, 0xEF }, { 0x70, 0xB2 }, { 0x7D, 0xA2 }, { 0x1C, 0x24 }, //Latency optimization { 0x26, 0xA2 }, { 0x56, 0x32 }, { 0x65, 0x1F }, { 0x75, 0x2A }, //Tracking distance (Z) optimization { 0x76, 0x00 }, { 0x77, 0x12 }, { 0x7A, 0x01 }, { 0x7B, 0x01 }, }; #define optimize_size (sizeof(optimize)/sizeof(optimize[0]))