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

outdated

max30101 sensor driver

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
0
points
41
downloads

Publisher

verified publisheratsign.org

Weekly Downloads

max30101 sensor driver

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dart_periphery

More

Packages that depend on max30101