Skip to content

Instantly share code, notes, and snippets.

@clasqui
clasqui / README.md
Last active October 14, 2017 01:49
Adafruit LCD text scroll function for Raspberry Pi

Adafruit LCD text scroll function for Raspberry Pi

This tiny function, written in python, allows you to easily scroll text of any length in the LCD 16x2 of Adafruit, which only allows 16 characters per row.

#Install And Use To use this function just download the file named ScrollLCD.py and in your code import it. It takes two obligatory parameters, lcd and text.

Example:

@Bouke
Bouke / gist:11261620
Last active March 4, 2025 11:36
Multiple Python installations on OS X

Previous versions used homebrew to install the various versions. As suggested in the comments, it's better to use pyenv instead. If you are looking for the previous version of this document, see the revision history.

$ brew update
$ brew install pyenv
$ pyenv install 3.5.0
$ pyenv install 3.4.3
$ pyenv install 3.3.6
$ pyenv install 3.2.6
$ pyenv install 2.7.10

$ pyenv install 2.6.9