I have created a helphul tutorial about the STK500 and STK501 development board with a ATmega128. The tutorial helps you understand the STK500 and STK501 hardware. Usage of FreeRTOS (Real Time Operating System) is explained, as is Blue Tooth usage and the Sonic distance meter PING))). I explain how some hardware works and what code to use e.g. the LEDs, DDRx and PORTx.
All code is tested and works.
Code is accompanied by illustrations (e.g. Timers and how to connect the hardware).