Boron - Power Source Type Detection

Tags: #<Tag:0x00007fe222cf7590>


@rickkas7 I am working on implementing your library to detect the type of power source for the Boron (specifically if it is receiving power from USB).

Your library is awesome, and I am starting the basic example but I am receiving the following error:

I have double checked the .cpp and .h and it is as shown on GitHub.

Any suggestions regarding the two errors would be appreciated, thank you!


Did you both include the .cpp and .h files manually and include the DiagnosticsHelperRK library? You need to do one or the other, but not both.


@rickkas7, ahhhh, such a rookie move on my part. I had both included, I removed one and it compiled perfectly.

Thank you very much for an insanely fast response!