added init function from NXP Rapid ioT SDK, read_proximity_sensors function now works well.
Dependents: rIoTwear-touch rIoTwear-snake
Diff: sx9500.cpp
- Revision:
- 3:b0a2ba594005
- Parent:
- 2:f88a77463a32
diff -r f88a77463a32 -r b0a2ba594005 sx9500.cpp --- a/sx9500.cpp Thu Dec 19 17:06:08 2019 +0000 +++ b/sx9500.cpp Fri Dec 27 15:16:40 2019 +0000 @@ -184,6 +184,8 @@ return; RegIrqSrc.octet = read_single(SX9500_REG_IRQSRC); + + /* printf("95irq:"); if (RegIrqSrc.bits.conv_done) { printf("conv_done:\r\n"); @@ -208,5 +210,6 @@ } printf("\r\n"); + */ }