Changing the Mode of Operation of Pins: pinMode(pin, mode) Used in void setup() to configure a specified pin to behave either as an INPUT or an OUTPUT. pinMode(pin, OUTPUT); // sets ‘pin’ to output Arduino digital pins default to inputs, so they don’t need to […]
Recent Comments