hi,
is there any C/C++ API to read power measures from the SmartPower3 as there was for the original SmartPower? I need to read power values at runtime from a C++ program and using minicom may be a bit tricky....
thank you.
C/C++ API to log from SmartPower3
-
- Posts: 20
- Joined: Wed Dec 29, 2021 4:10 am
- languages_spoken: english
- ODROIDs: HC1, HC2, C1, SP3
- Has thanked: 4 times
- Been thanked: 10 times
- Contact:
Re: C/C++ API to log from SmartPower3
Hi,
it is plain CSV from a serial line. You will find plenty of examples for that. The tricky part is to make it robust, i.e. identify incomplete lines and such. But I am sure somebody already has solved this for CSV-files.
it is plain CSV from a serial line. You will find plenty of examples for that. The tricky part is to make it robust, i.e. identify incomplete lines and such. But I am sure somebody already has solved this for CSV-files.
Who is online
Users browsing this forum: No registered users and 1 guest