Hi.
Referring to the example "Adafruit ina219 getcurrent" example, line 15 reports:
uint32_t currentFrequency;
may you explain what does it mean?
It seems to me that the program works even if you delete the line.
Thanks
Paolo
INA219 getcurrent example
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
Re: INA219 getcurrent example
uint32_t currentFrequency; is telling the program to use an Unsigned INTeger 32 bits long on the variable instead of whatever the default is. Most times the default works but the result is unknown and may cause problems.
Please be positive and constructive with your questions and comments.