V=IR. The voltage difference affects the amount of current flowing. If it is over the current sinkable by the GPIO design (usually 1 or 2mA), it will cause issues.
V=IR. The voltage difference affects the amount of current flowing. If it is over the current sinkable by the GPIO design (usually 1 or 2mA), it will cause issues.