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
Diff: commHeaders/SPIcommFunctions.h
- Revision:
- 3:979019410df2
- Parent:
- 1:4ea157704c58
- Child:
- 4:8f7d8ff001f8
--- a/commHeaders/SPIcommFunctions.h Wed Feb 28 21:25:38 2018 +0000
+++ b/commHeaders/SPIcommFunctions.h Wed Jul 18 18:33:38 2018 +0000
@@ -106,7 +106,7 @@
totalY += deltaY;
pc.printf("deltaX: %d\t\t\tdeltaY: %d\n\r", deltaX, deltaY); //Prints each individual count of deltaX and deltaY.
- pc.printf("X-axis Counts: %d\t\t\tY-axis Counts: %d\n\r", totalX, totalY); //Prints the total movement made during runtime.
+ pc.printf("X-axis Counts: %d\t\tY-axis Counts: %d\n\r", totalX, totalY); //Prints the total movement made during runtime.
}
deltaX = 0; //Resets deltaX and Y values to zero, otherwise previous data is stored until overwritten.
PAT9125EL | Versatile Low-Energy Surface Tracking Sensor