Hey all, i may just be tired or whatnot but i am drawing a blank on how to tell the ATMEGA to turn on a pin via some type of USB command once the Arduino is connected to USB.
Is this possible in some way to do this via USB (Using the COM port maybe?)?
Is this possible in some way to do this via USB (Using the COM port maybe?)?
Yes, it is. The Serial Monitor (rightmost button on the IDE) is one example of an application that connects to the COM port that the Arduino is on the other end of. Type something in the message field at the top, and press the Send button. That message will be sent to the Arduino. The Serial methods can be used on the Arduino to interact with the COM port.