write now working from driver to device
Writing digital value seems to work now