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

commHeaders/registerArrays.h

Committer:
PixArtVY
Date:
2018-07-23
Revision:
5:577976dae20d
Parent:
3:979019410df2

File content as of revision 5:577976dae20d:

const uint8_t initialize[][2] = {
    { 0x09, 0x5A },     //Disables write-protect.
    { 0x0D, 0xB5 },     //Sets X-axis resolution (necessary value here will depend on physical design and application).
    { 0x0E, 0xFF },     //Sets Y-axis resolution (necessary value here will depend on physical design and application).
    { 0x19, 0x04 },     //Sets 12-bit X/Y data format.
    //{ 0x4B, 0x04 },     //Needed for when using low-voltage rail (1.7-1.9V): Power saving configuration.
};
#define initialize_size (sizeof(initialize)/sizeof(initialize[0]))