added init function from NXP Rapid ioT SDK, read_proximity_sensors function now works well.
Dependents: rIoTwear-touch rIoTwear-snake
Revision 3:b0a2ba594005, committed 2019-12-27
- Comitter:
- batman52
- Date:
- Fri Dec 27 15:16:40 2019 +0000
- Parent:
- 2:f88a77463a32
- Commit message:
- removed printf in service method
Changed in this revision
sx9500.cpp | Show annotated file Show diff for this revision Revisions of this file |
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"); + */ }