Error with hex()
Opened this issue · 0 comments
Moritz448 commented
If i run the example.sh, i got this Error:
Traceback (most recent call last): File "duck2spark.py", line 155, in <module> main(sys.argv[1:]) File "duck2spark.py", line 140, in main result = generate_source(payload, init_delay=init_delay, loop_count=loop_count, loop_delay=loop_delay, blink=blink) File "duck2spark.py", line 65, in generate_source declare += str(hex(payload[c])) + ", " TypeError: hex() argument can't be converted to hex
But if I remove the hex() command, the "Rubber Spark" ;) runs any kind of stupid stuff.
Yours,
Moritz