You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/local/lib/python3.5/dist-packages/rpi_rf/rpi_rf.py:77: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(self.gpio, GPIO.OUT)
2019-04-04 19:57:37 - [INFO] Send: 1111111 [protocol: 1, pulselength: 1, length: default, repeat: 10]
Traceback (most recent call last):
File "Send.py", line 49, in
rfdevice.tx_code(args.code, args.protocol, args.pulselength, args.length)
TypeError: tx_code() takes from 2 to 4 positional arguments but 5 were given
Not only does send script not handle cleanup on error correctly, as noted with the warning above, but the send script fails completely. Please fix your code.
The text was updated successfully, but these errors were encountered:
Something really wrong with send script, tried
python3 Send.py -p 1 -t 1 1111111
/usr/local/lib/python3.5/dist-packages/rpi_rf/rpi_rf.py:77: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(self.gpio, GPIO.OUT)
2019-04-04 19:57:37 - [INFO] Send: 1111111 [protocol: 1, pulselength: 1, length: default, repeat: 10]
Traceback (most recent call last):
File "Send.py", line 49, in
rfdevice.tx_code(args.code, args.protocol, args.pulselength, args.length)
TypeError: tx_code() takes from 2 to 4 positional arguments but 5 were given
Not only does send script not handle cleanup on error correctly, as noted with the warning above, but the send script fails completely. Please fix your code.
The text was updated successfully, but these errors were encountered: