You just cannot send it this way.. You have to break it down in bytes,
store them in a list and send it...
2010/9/6 Kaan AKŞİT :
> Dear all,
>
> I am having some trouble with sending 32 bit integers with write function of
> endpoint class.
>
> I am having trouble with the following line:
>
> self.
Dear all,
I am having some trouble with sending 32 bit integers with write function of
endpoint class.
I am having trouble with the following line:
self.ep.write(240)
Output:
Traceback (most recent call last):
File "usbir.py", line 114, in
sys.exit(main())
File "usbir.py", line 10