I'm new to writing DD's and seem to get most of it, but am troubled with one thing I am trying to do. My device sends data back as unsigned integer (2 bytes), but I want to store it to a float variable that has a scaling factor, and can be displayed with a display_format (of something like "0.2f". Can someone point me in the right direction? POST_READ only allows simple getval/setval builtins, so I do not now how to write the new value to a local variable.Yes, I know I can probably learn this at one of the workshops, but I need to get this done very soon.
Thanks,
Ron G