Max30102 library. Thus, you should have the latest version of Arduino IDE.