aromring / MAX30102_by_RF

Arduino C code for MAX30102 pulse oximetry sensor (MAXIM Integrated, Inc.)
166 stars 73 forks source link

File names and case sensitivity #19

Closed mgaman closed 4 years ago

mgaman commented 4 years ago

I just took your code and repurposed it in a Linux/Visual Studio Code environment. It is quite a simple process as follows:

  1. The *.ino file is renamed to main.cpp
  2. The header files are moved to the "include" directory.
  3. In Linux files names are case-sensitive (unlike Windows). So references to must be rewritten as

You mention pin 10 as an interrupt pin without using it as an interrupt at all, rather as just GPIO. This may account for sampling problems. I shall try and adjust the code to work with true interrupts.

aromring commented 4 years ago

Thank you.