Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid syntax for integer with base 16 in h2b #3

Open
davidhelms opened this issue Dec 6, 2017 · 2 comments
Open

invalid syntax for integer with base 16 in h2b #3

davidhelms opened this issue Dec 6, 2017 · 2 comments

Comments

@davidhelms
Copy link

I'm trying to use the ubit-sniffer tool
When I uflash using the following command from the readme

$ uflash -r precompiled/radiobit.hex tools/ubit-sniffer/middleware/ubit-sniffer-mw.py

If I connect to the serial port with screen, I see the following error

Traceback (most recent call last):
File "main", line 98, in
File "main", line 28, in readhex
File "main", line 37, in h2b
ValueError: invalid syntax for integer with base 16

@virtualabs
Copy link
Owner

The ubit-sniffer-mw.py is a middleware Python program for the Micro:Bit, it is intended to communicate with a CLI tool through serial, not directly with screen or minicom.

Please use the provided ubit-sniffer.py CLI tool to interact with the Micro:Bit, once flash with the ubit-sniffer-mw.py python program (your uflash command is correct by the way !).

@crashish
Copy link

crashish commented Jun 1, 2018

I'm seeing that "Line 37 ValueError: invalid syntax for integer with base 16" scrolls on the Micro:Bit's LED matrix during boot-up with this middleware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants