This repository has been archived by the owner on Jun 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Class Instantiation
Arnd edited this page Jun 22, 2018
·
3 revisions
The INA226 class instantiation has no parameters and does not actually perform any actions. The begin() function call does all of the heavy lifting and initialization. This split is done since some of the initialization functionality might not have been defined at the point in time that the INA226 class is instantiated, this is due to the way that the Arduino IDE works and there is no control of that from the programmer's side.
INA226_Class INA226(); // instantiate the class
/* Program code follows */