Reference firmware for PixArt's PAT9125EL 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.

Welcome to the code repository for PixArt's PAT9125EL sensor and evaluation board.

For general information about this product, please visit this product's components page here:
https://os.mbed.com/components/PAT9125EL-Evaluation-Board/

For guides and tips on how to setup and evaluate the PAT9125EL sensor with the Nordic nRF52-DK microcontroller using this reference code, please visit this guide:
https://os.mbed.com/teams/PixArt/code/9125_referenceCode/wiki/Guide-for-nRF52-DK-Platform

For guides and tips on how to setup and evaluate the PAT9125EL sensor with any microcontroller using this reference code, please visit this guide:
https://os.mbed.com/teams/PixArt/code/9125_referenceCode/wiki/Guide-for-Any-Platform

Committer:
PixArtVY
Date:
Fri Feb 23 23:32:40 2018 +0000
Revision:
0:e9cce1154246
Child:
3:979019410df2
First release of 9125 firmware.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
PixArtVY 0:e9cce1154246 1 const uint8_t initialize[][2] = {
PixArtVY 0:e9cce1154246 2 { 0x09, 0x5A }, //Disables write-protect.
PixArtVY 0:e9cce1154246 3 { 0x0D, 0xB5 }, //Sets X-axis resolution (necessary value here will depend on physical design and application).
PixArtVY 0:e9cce1154246 4 { 0x0E, 0xFF }, //Sets Y-axis resolution (necessary value here will depend on physical design and application).
PixArtVY 0:e9cce1154246 5 { 0x19, 0x04 }, //Sets 12-bit X/Y data format. 0x04 is default (neither axis inverted, using 12-bit data instead of 8-bit data).
PixArtVY 0:e9cce1154246 6 //{ 0x4B, 0x04 }, //Needed for when using low-voltage rail (1.7-1.9V): Power saving configuration.
PixArtVY 0:e9cce1154246 7 };
PixArtVY 0:e9cce1154246 8 #define initialize_size (sizeof(initialize)/sizeof(initialize[0]))