temtronic
Joined: 01 Jul 2010 Posts: 9174 Location: Greensville,Ontario
|
|
Posted: Wed May 26, 2021 10:40 am |
|
|
It's not a 'header', it'd be a 'driver'. A set of code to access a peripheral.
If your version of the compiler doesn't have the driver, then simply transpose the Arduino code into CCS C. It's not that difficult to do.
The big issue will be power supplies. You'll either have to select a PIC that operates on the MAX30100 VDDs or use some 'logic level' conversion, or perhaps a ready made 'module'.
Start with getting the hardware operational. Since it appears to be an I2C device, use PCM P's I2C scanner program in the code library to confirm your PIC does 'see' and communicate with the device.
Jay |
|