Search found 4 matches

by johncblacker
Tue Jan 08, 2019 8:53 pm
Forum: Programs, Libraries and Tools
Topic: uPing - Ping library for MicroPython
Replies: 7
Views: 733

Re: uPing - Ping library for MicroPython

experimenting a little and found that it definitely doesn't like "usocket.SOCK_RAW"; however, I can print usocket.SOCK_RAW and get an output value of 3...
by johncblacker
Tue Jan 08, 2019 8:35 pm
Forum: Programs, Libraries and Tools
Topic: uPing - Ping library for MicroPython
Replies: 7
Views: 733

Re: uPing - Ping library for MicroPython

Running into a problem trying to run uping.ping('192.168.0.2') I get: >>> uping.ping('192.168.0.2') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "uping.py", line 49, in ping OSError: [Errno 22] Invalid argument Tried again: >>> import usocket >>> sock = usocket.socket(...
by johncblacker
Mon Nov 12, 2018 12:29 am
Forum: General Discussion and Questions
Topic: The viper code emitter
Replies: 4
Views: 1403

Re: The viper code emitter

I tried rebuilding circuitpython with the setting changed to enable the viper emitter and when I used a decorator, the board flashed it's error led at me pointing to the line with the decorator on it! Once I took it off, the program took off again. How can I find out what's wrong and fix it?
by johncblacker
Sun Nov 11, 2018 8:18 pm
Forum: Other Boards
Topic: Problems building circuitpython no module named huffman
Replies: 1
Views: 138

Problems building circuitpython no module named huffman

I cloned circuitpython and am trying to build mpy-cross, but I get an error during the build that indicates that an
import Huffman failed with a ModuleNoteFoundError: No module named 'huffman'. How do I get around this error? I will also post this on the Adafruit circuitpython forum as well.