Well, I didn't started development of the driver, I am not even a developer. So this could be the way, how to make it easier, just to modify existing Arduino code to provide the data which existing driver needs. Thanks for this info.
In my opinion the best way is to reuse all the things that already exists. I found a base code for the arduino, then I studied the USB_Dewpoint INDI driver and the commends that it sends out the the expected response. With these infos I adapted the arduino code to receive and respond to the serials commands with the values.
It can be use also as is without usb connection. It starts in auto mode and it check the temp_amb against the dew poit plus a value and it adapts the pwn output from 0 to 100% when the temp_amb is near the dew point.