This adds support to read the min/max temp, as well as the current+min/max VCCINT and VCCAUX registers (VCCBRAM could be added, but is normally the same as VCCINT).
This can be helpful for troubleshooting devices. I did change the JSON output format slightly to make it more "human friendly" by adding line breaks. However someone parsing the output should still be able to use their previous code, provided it can deal with reading in line ends.
The current/min/max could be made a dict for each top-level entry too, but I thought that would break existing code (e.g., since "temp" would no longer be a single value). Hopefully this is useful without breaking any use-cases currently!
This adds support to read the min/max temp, as well as the current+min/max VCCINT and VCCAUX registers (VCCBRAM could be added, but is normally the same as VCCINT).
This can be helpful for troubleshooting devices. I did change the JSON output format slightly to make it more "human friendly" by adding line breaks. However someone parsing the output should still be able to use their previous code, provided it can deal with reading in line ends.
The current/min/max could be made a dict for each top-level entry too, but I thought that would break existing code (e.g., since "temp" would no longer be a single value). Hopefully this is useful without breaking any use-cases currently!