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.

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers registerArrays.h Source File

registerArrays.h

00001 const uint8_t optimize[][2] = {
00002     { 0x11, 0x0C },     //Tracking performance optimization
00003     { 0x14, 0x04 },
00004     { 0x25, 0x0F },
00005     { 0x27, 0xAA },
00006     { 0x34, 0x80 },
00007     { 0x35, 0x03 },
00008     { 0x39, 0x89 },
00009     { 0x4D, 0x79 },
00010     { 0x53, 0x96 },
00011     { 0x58, 0x66 },
00012     { 0x5D, 0x56 },
00013     { 0x5E, 0xF5 },
00014     { 0x5F, 0xCA },
00015     { 0x61, 0xD3 },
00016     { 0x6F, 0xEF },
00017     { 0x70, 0xB2 },
00018     { 0x7D, 0xA2 },
00019     
00020     { 0x1C, 0x24 },     //Latency optimization
00021     { 0x26, 0xA2 },
00022     { 0x56, 0x32 },
00023     { 0x65, 0x1F },
00024     
00025     { 0x75, 0x2A },     //Tracking distance (Z) optimization
00026     { 0x76, 0x00 },
00027     { 0x77, 0x12 },
00028     { 0x7A, 0x01 },
00029     { 0x7B, 0x01 },
00030 };
00031 #define optimize_size (sizeof(optimize)/sizeof(optimize[0]))