Input and OutputEach of the 54 digital pins on the Mega can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 5 volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. In addition, some pins have specialized functions:
[s]pinMode(5,OUTPUT);digitalWrite(5,HIGH); //pull up aktiviere[/s]n
pinMode(5,INTPUT);digitalWrite(5,HIGH); //pull up aktivieren
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16