I have Teensy 3.2.
I want to know if I can control the power Pins with code? I mean can i switch the power on and off on that particular pin?

For example, I want to connect a fan on Pin 26 (that is 3.6 to 6.0 volt pin) and turn it on and off for a particular condition like when temperature goes above 26C turn it on, etc. Is it possible? What command you use for powering Pin 26 On/Off (if possible).

Thanks in anticipation.