Analog Input less precise



  • Hi there,

    Is there any way I can configure Evok to be less precise on Analog input?

    I'm using it for simple on/off detection, so I would be ok if I could set analog INPUT result to be rounded to whole volts.

    For example:
    Instead of current reading 0.006V I need to result be 0V.

    Is this possible?
    I was unable to find any documentation of evok, is it available somewhere?

    Thank you!
    Best regards,
    Jirkaehm



  • Hi there,

    Is there any way I can configure Evok to be less precise on Analog input?

    I'm using it for simple on/off detection, so I would be ok if I could set analog INPUT result to be rounded to whole volts.

    For example:
    Instead of current reading 0.006V I need to result be 0V.

    Is this possible?
    I was unable to find any documentation of evok, is it available somewhere?

    Thank you!
    Best regards,
    Jirkaehm



  • Well you could do that in your app, but if you want to do it in evok, than https://github.com/UniPiTechnology/evok ... ok.py#L302 is the place to do.



  • Hi Tomas,

    I was hoping for a configuration switch

    But thank you for direction!