Update hardware details, including a BOM
Refactor the hardware init, make the LED work

Refactor hardware initialization into an init() function and tweak
various things to make the LED output work. Not least, account for
some annoying read-modify-write semantics on this PIC (which doesn't have an independent output latch register).