instrumentek
Well-known member
Hi, Can someone point me in the direction of any information about disabling the usb port on a Teensy 2.0 ++ for the purpose of saving power? I found this page but says:
There is code at the bottom of the page but i'm not sure what part applies to disabling the USB. I am using the arduino compiler
Disable USB
The USB port consumes power. If you're placing Teensy inside a project where no USB access is need, disabling the USB saves power.
TODO: code samples
Connection to a computer with USB disabled will not damage Teensy, but the computer will not detect anything connected. Pressing the reset button on Teensy will allow the computer to use it again. If you are using Arduino, the Upload button will not be able to reboot Teensy automatically. Usually it's convenient to leave the USB enabled while working on your program, but disable it in the final version.
There is code at the bottom of the page but i'm not sure what part applies to disabling the USB. I am using the arduino compiler