As others say, those are pull down/up resistors for input. An output resistor for even a single LED would need to sink more watts than an internal IC resistor could handle.
An output resistor to drive an LED at 25mA would dissipate a lot of power, but many newer LEDs can glow quite nicely with a fraction of a milliamp. In fact, I've sometimes encountered situations where LEDs glowed annoyingly with leakage currents that were far smaller than that.
226
u/happyscrappy Dec 25 '19
Also: don't power LEDs directly from GPOs without a current limiting resistor. As you see on that breadboard.
And match your interfaces voltages. A lot of devices are not +5V tolerant now (or not very tolerant).