Instructions how to calculate the value of current limiting resistor
A current limiting resistor should be used if you want to drive an LED from a microcontroller, for example STM32. Here is a tutorial which will tell you how to calculate the value of a current limiting resistor for an LED.