Moved the rest of the things that were in use on the Pi over to the Atmel library. Added sf240320 and tested it, and it's working (woohoo). And, surprise, surprise, it's a hell of a lot faster than the Pi... Sad day.