How do I calibrate an AVR's RC oscillator using the UART?
Clearly I'm looking for the Atmel-provided datasheet, AVR054: Run-time calibration of the internal RC oscillator. I think it could be adapted to PC-to-AVR communication without too much trouble...