Sog Yang / AS7000
Embed: (wiki syntax)

« Back to documentation index

AS7000 Class Reference

AS7000 Class Reference

Class for operating AMS AS7000 sensor over I2C. More...

#include <AS7000.h>

Public Member Functions

 AS7000 (PinName SDA, PinName SCL)
 Create AS7000 instance.
void enable (void)
 Heart Rate Sensor Enbable API,it include startup senario.
void hr_only (void)
 Hreat Rate Sensor sensing and data.

Detailed Description

Class for operating AMS AS7000 sensor over I2C.

Definition at line 28 of file AS7000.h.


Constructor & Destructor Documentation

AS7000 ( PinName  SDA,
PinName  SCL 
)

Create AS7000 instance.

Definition at line 8 of file AS7000.cpp.


Member Function Documentation

void enable ( void   )

Heart Rate Sensor Enbable API,it include startup senario.

Definition at line 23 of file AS7000.cpp.

void hr_only ( void   )

Hreat Rate Sensor sensing and data.

Definition at line 45 of file AS7000.cpp.