Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Currently the USBDevice library (or at least the USBHID portion of it) lies about being self-powered and drawing 0ma. I realize every USB hard drive ever made does this, and it's certainly fine for hobbying, but it's not fine for a production device. My proposal is that the API be changed to allow the maximum power consumption to be specified in the constructor.