Is that correct calculation?
5Volt
40mA
125Ohm
0,2Watt

3.3Ohm each 0.25W resistor to connect 39 resistors in 40 rotary encoder. Is this calculation correct ?