How are the pegs programmed?
The peg code was programmed in assembly using Atmel’s AVRStudio 3.56 and AVRStudio 4. The firmware is loaded (via the ISP connector) onto the ATTiny12 using an AVRISP. The AVRISP handles all of the timing and communication issues for loading the on-board flash memory with the assembled program code. For miniaturization a small low-profile 6-pin connector was chosen. As a result, it was necessary to construct a special adapter to go from the peg’s 2mm pitch header to the AVRISP’s 0.100″ header.