logo elektroda
logo elektroda
X
logo elektroda

How to implement version reading from MAX17043 in esphome?

pier 429 0
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20864306
    pier
    Level 24  
    Hi.

    I have such a library for reading MAX17043:
    Code: C / C++
    Log in, to see the code


    I would like to modify two things in it.
    Firstly to add units (% V) to the measurement results
    and additionally to format the voltage so that it is with one decimal place, currently the voltage measurement result is in such a form: 4132
    Will you guide me on how to do this?
  • ADVERTISEMENT
ADVERTISEMENT