sparkfun / SparkFun_MAX3010x_Sensor_Library

An Arduino Library for the MAX3015 particle sensor and MAX30102 Pulse Ox sensor
Other
221 stars 148 forks source link

Example4 "byte sampleRate = 100; " #14

Closed nseidle closed 6 years ago

nseidle commented 6 years ago

From @pengu-lee on April 2, 2018 14:17

Hi, i found that sampleRate could be more than 255, but the data type of sampleRate is byte, maybe short or int is more proper.

_Copied from original issue: sparkfun/MAX30105_Particle_SensorBreakout#5

nseidle commented 6 years ago

Yep. You are correct. I'll get that example fixed.