Empty file before writing value
Empty file before writing value

Sort of ugly hack to get it working. Seems like the sleep is necessary, or the change won't be detected (!).

Sorry.
Springworks/usbscale-runner