PixArt Optical Track Sensor, OTS, demo program for P9130 sensor with library. Imported and modified from P9126 demo program. Initial release v1.0.

Dependencies:   Pixart_OTS

Fork of OTS_P9130_Demo by Hill Chen

Files at this revision

API Documentation at this revision

Comitter:
PixArtHC
Date:
Wed Mar 06 21:25:04 2019 +0000
Parent:
4:1b406caf9581
Commit message:
PixArt Optical Track Sensor, OTS, demo program for P9130 sensor with library. Imported and modified from P9126 demo program. Initial release v1.0.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Mar 06 21:17:05 2019 +0000
+++ b/main.cpp	Wed Mar 06 21:25:04 2019 +0000
@@ -3,7 +3,7 @@
  * SPDX-License-Identifier: Apache-2.0
  */
 
-/* PAT9125EL: Optical Tracking Sensor.
+/* PAT9130EW: Optical Tracking Sensor.
  * By PixArt Imaging Inc.
  * Primary Engineer: Hill Chen (PixArt USA)
  *
@@ -22,7 +22,7 @@
 SPI spi(p23, p24, p25); //mosi, miso, sclk
 DigitalOut cs(p22);     //chip select
 
-static const Pixart_OTS_Model OTS_MODEL = PIXART_OTS_MODEL_9125;
+static const Pixart_OTS_Model OTS_MODEL = PIXART_OTS_MODEL_9130;
 
 int main()
 {