Skip to content

AssertionError#2 #21

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

Open
Zezredes opened this issue Dec 5, 2016 · 0 comments
Open

AssertionError#2 #21

Zezredes opened this issue Dec 5, 2016 · 0 comments

Comments

@Zezredes
Copy link

Zezredes commented Dec 5, 2016

Hi, we have the same problem as hippyjim had.
None of the commands work, same error always.
Should mention install pySerial in the tutorial btw for the noobs like me
Using Win10, Codebug is connecting as COM2
Downloaded the 0.8.5 cbg

import codebug_tether
codebug = codebug_tether.CodeBug()
codebug.set_pixel(2, 1, 1)
Traceback (most recent call last):
File "<pyshell#2>", line 1, in
codebug.set_pixel(2, 1, 1)
File "C:\Users\Asus\AppData\Local\Programs\Python\Python35-32\lib\site-packages\codebug_tether\core.py", line 313, in set_pixel
self.set_bit(channel, bit_index, state)
File "C:\Users\Asus\AppData\Local\Programs\Python\Python35-32\lib\site-packages\codebug_tether\serial_channel_device.py", line 151, in set_bit
self.or_mask(channel_index, 1 << bit_index)
File "C:\Users\Asus\AppData\Local\Programs\Python\Python35-32\lib\site-packages\codebug_tether\serial_channel_device.py", line 146, in or_mask
bytes((mask,)))
File "C:\Users\Asus\AppData\Local\Programs\Python\Python35-32\lib\site-packages\codebug_tether\serial_channel_device.py", line 200, in transaction
assert self.serial_port.read(1) == ACK_BYTE
AssertionError

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

1 participant