Sample Test Program for SparkFun APDS9960 Library. Currently only tested with HRM1017.

Dependencies:   SparkFun_APDS9960 mbed

Fork of SparkFun_APDS9960_Sample by devsar devsar

Sample Program for APDS9960 library using HRM1017. Tested Pin Connection:

APDS9960 <=======> HRM1017

  • VL (Not Connected)
  • GND <=======> GND (0V)
  • VCC <=======> VDD (3.3V)
  • SDA <=======> P0_22 (sda I2C0)
  • SCL <=======> P0_20 (scl I2C0)
  • INT <=======> P0_2

Gesture result is printed out using Serial (PC).

PS: Currently planning to use HRM1017 BLE to send the result to smartphone.

APDS9960 Pinout: https://learn.sparkfun.com/tutorials/apds-9960-rgb-and-gesture-sensor-hookup-guide

HRM1017 Pinout: http://developer.mbed.org/platforms/mbed-HRM1017/

Files at this revision

API Documentation at this revision

Comitter:
devsar
Date:
Mon Apr 06 23:59:56 2015 +0000
Parent:
1:530e1adf4cf4
Commit message:
Remove BLE library (not use it yet)

Changed in this revision

BLE_API.lib Show diff for this revision Revisions of this file
nRF51822.lib Show diff for this revision Revisions of this file
diff -r 530e1adf4cf4 -r 83b667fcc0fd BLE_API.lib
--- a/BLE_API.lib	Sun Apr 05 13:54:46 2015 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#8c645f5694b2
diff -r 530e1adf4cf4 -r 83b667fcc0fd nRF51822.lib
--- a/nRF51822.lib	Sun Apr 05 13:54:46 2015 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#bdc690669431