Note that the reduced number of LED pins in a four-port configuration presents some design limitations but the configuration flexibility of the GPIO pins allows for intuitive LED implementation.
To prevent damage to the interface and the LEDs themselves, provide separate current limiting resistors for each LED connected.
Consider attaching filter capacitors to these outputs if the LEDs are placed close to the board edge and near noisy external interconnects that can cause EMI issues.
Adequate separation in routing from noisy signals helps prevent such issues.
注意,四端口配置中LED引脚数量的减少带来了一些设计限制,但GPIO引脚的配置灵活性允许直观的LED实现。为防止损坏接口和LED本身,为连接的每个LED提供单独的限流电阻器。如果LED靠近电路板边缘且靠近可能导致EMI问题的噪声外部互连,请考虑将滤波电容器连接到这些输出。路由与噪声信号的充分分离有助于防止此类问题。