microsoft / jacdac

Device and service catalogs for Jacdac.
https://aka.ms/jacdac
Creative Commons Attribution 4.0 International
66 stars 25 forks source link

current meter reading display not very good #1222

Closed mmoskal closed 1 year ago

mmoskal commented 1 year ago

Could we either show mA or always show 3 decimal points for the DC Current Measurement service? Right now it's really confusing as the length of the display changes.

pelikhan commented 1 year ago

We could move the service to use mA instead of A?

pelikhan commented 1 year ago

The module should implement the reading_resolution register to give a hint to the UI about the amount of significant numbers to show after the decimal point.