I have been sitting 3 days and reading hundreds of websites, forums and articles and still not sure how I can do this. I am very new and this is a huuuuge task for me.
I have a small electronic device which I can connect to my pc with an USB cable. I need to write a driver which
1- connect to this device
2- read the power and current in this device (the info is in the device) and return the information to my PC.
...