|
You are here |
schinckel.net | ||
| | | | |
blog.oddbit.com
|
|
| | | | | 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 =... | |
| | | | |
www.martinkysel.com
|
|
| | | | | 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. | |
| | | | |
www.morelightmorelight.com
|
|
| | | | | ||
| | | | |
thisdavej.com
|
|
| | | This article has been updated to cover the installation of Raspbian Bullseye Lite. In this tutorial, we're going to build a highly optimized Raspberry Pi system that runs very lean on resources with the help of Raspbian lite. Whereas a baseline Raspbian system consumes around 158 MB of RAM, Raspbian lite runs at a mere 34 MB. To achieve this lighter weight footprint, we must give up the graphical user interface (GUI); however, we'll include steps in the build (and tips) to help us work productively without a GUI. | ||