Explore >> Select a destination


You are here

schinckel.net
| | blog.oddbit.com
13.1 parsecs away

Travel
| | I recently acquired both a Raspberry Pi and a PiFace IO board. I had a rough time finding examples of how to read the input ports via interrupts (rather than periodically polling for values), especially for the newer versions of the PiFace python libraries. After a little research, here's some simple code that will print out pin names as you press the input buttons. Button 3 will cause the code to exit: #!/usr/bin/python import pifacecommon.core import pifacecommon.interrupts import os import time quit =...
| | hackaday.io
12.2 parsecs away

Travel
| | I've posted the scripts used to generate the anti-aliased text used in the User Interface. The first is a Photoshop script,CreateFontData.jsx. This makes a set of PNG files, one for each character. The second isConvertText.py, a Python script that takes the output of CreateFontData and generates C code for display the characters on the Epson LCD used in the project. Note these scripts have some hard-coded pathnames in them (to the development folder) but this is pretty easy to find and modify.
| | www.martinkysel.com
13.0 parsecs away

Travel
| | For two strings A and B, we define the similarity of the strings to be the length of the longest prefix common to both strings.
| | travisdowns.github.io
54.4 parsecs away

Travel
| A blog about low-level software and hardware performance.