I want to program a microcontroller (AVR) to control some leds through USB. It\'s just out of interest in how to build and program USB devices.
There are some AVR microcontrolle
One good way to go is just to develop a HID device, since the driver is built in to most higher level OSes and pretty flexible for simple IO like you are talking about. Another good option is just using a USB RS232 device or software. I use PICs which have a number of nice devices with USB onboard.