PMT9123 OTS on Nucleo (Initial Release)
Fork of Pixart_9123_Nucleo_Library by
Diff: PMT9123Set.h
- Revision:
- 0:7aefc9ab3301
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PMT9123Set.h Thu May 11 17:32:04 2017 +0000 @@ -0,0 +1,35 @@ +const uint8_t init_PMT9123_register_array[][2] = { + // Tracking Optimization + {0x11,0xfc}, + {0x14,0xff}, + {0x38,0x17}, + {0x39,0x06}, + {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}, + // Latency Improvement + {0x1c,0x24}, + {0x26,0xa2}, + {0x56,0x32}, + {0x65,0x1f}, + // Z-Height Optimization + {0x75,0x2a}, + {0x76,0x00}, + {0x77,0x12}, + {0x7a,0x01}, + {0x7b,0x01}, +}; + +#define INIT_PMT9123_REG_ARRAY_SIZE (sizeof(init_PMT9123_register_array)/sizeof(init_PMT9123_register_array[0]))