2014-09-16 9:51 GMT-03:00 Gerry :
> I have the following code but it is NOT getting any data.
>
> import usb.core
> import usb.util
> import sys
> VENDOR_ID = 0x24c0
> PRODUCT_ID = 0x0003
> device = usb.core.find(idVendor=VENDOR_ID, idProduct=PRODUCT_ID)
> if device is None:
> sys.exit("Could
I have the following code but it is NOT getting any data.
import usb.core
import usb.util
import sys
VENDOR_ID = 0x24c0
PRODUCT_ID = 0x0003
device = usb.core.find(idVendor=VENDOR_ID, idProduct=PRODUCT_ID)
if device is None:
sys.exit("Could not find the Weather Station")
else:
print (devi