max30101 1.0.0-RC3 copy "max30101: ^1.0.0-RC3" to clipboard
max30101: ^1.0.0-RC3 copied to clipboard

Package which integrates with the max30101 sensor, producing illustrative heart rate and O2 saturation readings

example/max30101_example.dart

import 'package:max30101/max30101.dart';

late Max30101 pulseOxymeter;

void onBeat(bool beatDetected, double bpm, double sao2) {
  printWithTimestamp ("onBeat called with beatDetected:$beatDetected bpm:$bpm sao2:$sao2");
}

void main() {
  Max30101 max30101 = Max30101(RealI2CWrapper(1), false, debug:false);

  max30101.runSampler(onBeat);
}
2
likes
130
points
59
downloads

Publisher

verified publisheratsign.org

Weekly Downloads

Package which integrates with the max30101 sensor, producing illustrative heart rate and O2 saturation readings

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dart_periphery

More

Packages that depend on max30101