Closed ffleandro closed 7 years ago
I tried the original pyslinger code and it works fine, even with larger codes. So I guess there is some kind of limitation in the comunication packet size between pigpio python client and pigpiod process.
I improved the code to break the wave generation when size gets too big by making multiple calls to pigpio.add_wave_generic()
and everything works fine.
I'll try testing tomorrow with sending commands to a real device.
If someone needs this code let me know so I can make a pull request. Closing this issue since the problem was in my port and not the original code.
As mentioned in the issue #9 , I've ported the code to use the pigpio daemon instead of the C standalone code wrapped in Python.
I'm using pyslinger and getting the following error with codes larger than 14 bytes.
Code generating error (14 bytes total):
"1100000101100000000000000100010000000000000000000000000000000000000000000000000000000000000000000000000001000100"
Code successfully executed (13 bytes total):
"11000001011000000000000001000100000000000000000000000000000000000000000000000000000000000000000001000100"
Error log:I will try to use the original pyslinger and also the C library code and report my results. Can someone also do this test to compare results?