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

Revision:
4:8f7d8ff001f8
Parent:
3:979019410df2
--- a/commHeaders/SPIcommFunctions.h	Wed Jul 18 18:33:38 2018 +0000
+++ b/commHeaders/SPIcommFunctions.h	Mon Jul 23 22:14:06 2018 +0000
@@ -47,7 +47,6 @@
     cs = 0;                                 //Set chip select low/active
     addr = addr & 0x7F;                     //Set MSB to 0 to indicate read operation
     spi.write(addr);                        //Write the given address
-    wait_us(1);                             //Add a tiny delay after sending address for some internal cycle timing.
     uint8_t data_read = spi.write(0x00);    //Throw dummy byte after sending address to receieve data
     cs = 1;                                 //Set chip select back to high/inactive
     return data_read;                       //Returns 8-bit data from register