USB programming

前端 未结 10 1823
不思量自难忘°
不思量自难忘° 2021-01-30 11:19

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

10条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-30 12:16

    I created a USB-keyboard adapter last year for my capstone. I did not do the host programming but used existing code that you can find on the web.But I did program the device side and for that I got a lot of help from this website Teensy Look into their "Code Library" which has code for Keyboard, Mouse and others. Also, the USB protocol handbook will always be useful and you should always consult it when you are doing stuff with USB.

提交回复
热议问题