pinMode

Is pinMode() necessary for operation? I haven't been including it in my programs.

Your question seems very vague. If you ever want to use a pin as a digital output, you either need to use pinMode() to set it as such, or you need to manipulate the appropriate digital I/O registers yourself.

  • Ben

Thanks.

How do you manipulate the registers to configure an output pin? I can't use any wiring commands for my EE class. Is there a tutorial on this procedure?

I can’t use any wiring commands for my EE class.

Wiring commands? Like “Wire do this” or “Wire short out” or “Wire release smoke”?

http://www.arduino.cc/en/Reference/PortManipulation