2012-07-22
Over this weekend I have been working on faerii, a USB controlled RGB LED based around the ATtiny85.
Here is a picture of the breadboard prototype
![]() |
| faerii breadboard prototype |
Over this weekend I have been working on faerii, a USB controlled RGB LED based around the ATtiny85.
Here is a picture of the breadboard prototype
![]() |
| faerii breadboard prototype |
Here are some notes I made while trying to understand the opcodes in this fun article on generating small elf binaries. Hopefully they will be of use.
00000000 B801000000 mov eax, 1
00000005 BB2A000000 mov ebx, 42
0000000A CD80 int 0x80
In the above snippet:
By default system python loads "fake" readline (fake because it actually uses libedit) from /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so. Even if you install readline (which goes into /Library/Python/2.7/site-packages), it will still load it, even if you fiddle …
In case I forget again why the window spectrum is computed when doing DFT, the answer is that discretisation leads to aliasing artefacts.
Consider the DFT of a x(t)=1. Its DFT is calculated by calculating the sum sin(2 pi f t)*x(t) and cos(2 pi …
Lyx 2.0 and onwards on OS X will use spellchecker provided by the OS X. Note however that the language it will use for spellchecking is determined by the document's language setting, not your system language setting.
Furthermore, in version 2.0.3, if you change your document's language …
Some notes on using the popular Bluetooth serial module RF-0417C:
Replacing the SuperDrive with a hard disk seems to be a Bad Idea at least in my 13" mid-2010 MBP: my 320GB WD Scorpio Blue took over a minute to copy 60MB. That is so 80s.
Interestingly, when I put the hard drive back to where it belongs, and put …
Cheers,
Steve …
Cheers,
Steve
The hijack iPhone library implements Manchester encoding for digital communication. Manchester encoding maps 0 to high-low transition, and 1 to low-high transition.
The iPhone library generates the transitions using full or half period of a sine wave, using a full period when a bit run is detected. An example of …
Of all Brendanites, the worst off are the criminals and other malcontents. Water-boarding is par-for-course as is other cruel and unusual punishments, like electric-clamps-on-nipples and listening to boy bands non-stop. By the O'Neill doctrine, if it worked before then whatever it is is OK now and forever. Amen.
Use git init to create an empty git repository, then edit .git/config to add the svn remotes:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[svn-remote "svn"]
url = file:///home/steve/code/svn-repos/foo
fetch = trunk:refs/remotes/trunk
branches = branches/*:refs/remotes/*
tags = tags/*:refs …
svn st | grep '^?' | sed 's/^[? ]*/"/' | sed 's/\$/"/' | xargs svn add
Cheers,
Steve
It is possible to leave Australia without an overseas SIM card and
Cheers,
Steve
Here is my firehol.conf that allows multicast mDNS packets through:
# define mdns so we will accept it
server_mdns_ports="udp/5353"
client_mdns_ports="5353"
interface eth+ multi
policy return
server mdns accept
server multicast accept
interface eth+ home src "\${home_ips}"
server all accept
client all accept
Initially I had the server …
Just finished packaging my engineering thesis project into a more portable format: an altoids tin! I have seen people put some neat stuff inside them, and I am chuffed I managed to as well :) Though I had to cut through the lid for the display. And I only had to …
Got parts from element14 today: hook probes and right-angle 3.5mm mono plug. Modded my DSO nano probes, replacing the micro-tweezer probes and the connector. Interestingly the factory probed using a stereo connector, but the mono replacement works just as well.
This along with BenF 3.61a firmware upgrade has …
Found NGC 4594, aka the Sombrero Galaxy.
Cheers,
Steve