Okay. It's kinda buggy at the moment - the digiusb keeps being crashed by INT0 when the line changes too quickly. I'm thinking I'll need to add an analog low pass filter before the pin, I can't think of a better way to do it in software - all my experiments failed. I'll try write up a bit of documentation or do a tutorial video thing once I have it working really nicely. <3