![](/media/cache/profiles/DSC_0020.jpg.50x50_q85.jpg)
MAX30100 pulse rate sensor
Diff: MAX30100.h
- Revision:
- 1:0c2135629097
- Parent:
- 0:faf977308bdc
- Child:
- 2:d329886938f1
diff -r faf977308bdc -r 0c2135629097 MAX30100.h --- a/MAX30100.h Fri Aug 18 01:06:07 2017 +0000 +++ b/MAX30100.h Fri Aug 18 02:58:06 2017 +0000 @@ -156,21 +156,5 @@ writeByte(MAX30100_ADDRESS, MAX30100_LED_CONFIG, ir); writeByte(MAX30100_ADDRESS, MAX30100_SPO2_CONFIG, (sr<<2)|pw); } - -void printRegisters(void){ - Serial.println(readByte(MAX30100_ADDRESS, MAX30100_INT_STATUS), BIN); - Serial.println(readByte(MAX30100_ADDRESS, MAX30100_INT_ENABLE), BIN); - Serial.println(readByte(MAX30100_ADDRESS, MAX30100_FIFO_WR_PTR), BIN); - Serial.println(readByte(MAX30100_ADDRESS, MAX30100_OVRFLOW_CTR), BIN); - Serial.println(readByte(MAX30100_ADDRESS, MAX30100_FIFO_RD_PTR), BIN); - Serial.println(readByte(MAX30100_ADDRESS, MAX30100_FIFO_DATA), BIN); - Serial.println(readByte(MAX30100_ADDRESS, MAX30100_MODE_CONFIG), BIN); - Serial.println(readByte(MAX30100_ADDRESS, MAX30100_SPO2_CONFIG), BIN); - Serial.println(readByte(MAX30100_ADDRESS, MAX30100_LED_CONFIG), BIN); - Serial.println(readByte(MAX30100_ADDRESS, MAX30100_TEMP_INTG), BIN); - Serial.println(readByte(MAX30100_ADDRESS, MAX30100_TEMP_FRAC), BIN); - Serial.println(readByte(MAX30100_ADDRESS, MAX30100_REV_ID), BIN); - Serial.println(readByte(MAX30100_ADDRESS, MAX30100_PART_ID), BIN); -} - +}; #endif \ No newline at end of file