Installed wrong version on Displayotron


#1

Hi there, I just received my displayotron HAT. In my haste, I followed the instructions on the page http://learn.pimoroni.com/tutorial/display-o-tron/getting-started-with-display-o-tron which covers the displayotron 3000. There were some errors, such as:
Installing pyusb for remote control…

Downloading/unpacking pyusb
Could not find a version that satisfies the requirement pyusb (from versions: 1.0.0a2, 1.0.0a2, 1.0.0a3, 1.0.0a3, 1.0.0b1, 1.0.0b2)
Cleaning up…
No distributions matching the version for pyusb
Storing debug log for failure in /root/.pip/pip.log

I eventually followed the instructions here:
https://github.com/pimoroni/dot3k with slightly more success.

When I run the basic samples, they seemed to work initially, but now, when I press ctrl+c to exit, I’m seeing errors:

^CTraceback (most recent call last):
File “./backlight.py”, line 24, in
time.sleep(0.01)
KeyboardInterrupt

and the HAT stays lit.

3 questions:

  1. Are the errors I see after pressing ctrl+c expected?
  2. Can I uninstall the displayotron 3000 bits easily and if so how?
  3. Did I install the right bits for the displayotron HAT?

Many thanks for your patience.


#2
  1. breaking off a script/routine typically yield such messages, yes
  2. that shouldn’t be necessary (see below)
  3. yes, there is only one library for both dot3k and the HAT version

… basically the ‘dot3k’ script that you ran into problems with has been replaced by the ‘displayotron’ one, which (among other things) does away with the pyusb install, which was only used for a specific example and is kind of troublesome at this point.

All that to say that your software state at this point, regardless of you running both install scripts, is completely fine, you can get on with programming your display-o-tron how you’d like. Enjoy!