CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

max30100 or max30102 header code for ccs c

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ceronimo



Joined: 19 Jan 2010
Posts: 9

View user's profile Send private message Send e-mail

max30100 or max30102 header code for ccs c
PostPosted: Wed May 26, 2021 3:00 am     Reply with quote

There is a header code written in arduino for max30100 or max30102 sensor.

I need the equivalent of this in "ccs c".

I need to use it on pic16f or pic18f series.

I need help with this. Confused

E-mail:[email protected]
temtronic



Joined: 01 Jul 2010
Posts: 9241
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed May 26, 2021 10:40 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group