ACS712 Current Sensor Arduino Library 1.0.0
This is a library for the ACS712 current sensor.
Loading...
Searching...
No Matches
ACS712 Class Reference

#include <ACS712-SOLDERED.h>

Inherits _ACS712.

Public Member Functions

 ACS712 (int _pin, int mVperA)
 
- Public Member Functions inherited from _ACS712
 _ACS712 (uint8_t analogPin, float volts=5.0, uint16_t maxADC=1023, uint8_t mVperA=100)
 
int mA_AC (uint8_t freq=50)
 
int mA_DC ()
 
void setMidPoint (uint16_t mp)
 
uint16_t getMidPoint ()
 
void incMidPoint ()
 
void decMidPoint ()
 
void autoMidPoint (uint8_t freq=50)
 
void setFormFactor (float ff=ACS712_FF_SINUS)
 
float getFormFactor ()
 
void setNoisemV (uint8_t noisemV=21)
 
uint8_t getNoisemV ()
 
void setmVperAmp (uint8_t mva)
 
uint8_t getmVperAmp ()
 

Constructor & Destructor Documentation

◆ ACS712()

ACS712::ACS712 ( int  _pin,
int  mVperA 
)
inline

The documentation for this class was generated from the following file: