Step 2 – You will have to use a different approach depending on which board you are wiring the Rotary Encoder to.
For the JustBoom Zero Boards it is advisable to use a low profile SMD female header and solder the wires directly on its pads.
On the JustBoom DAC and Digi HATs you can use right angled or straight 20×2 male headers. The right angled type is particularly indicated as it will allow for a more comfortable wiring. The wires will have to be terminated with Dupont connectors. Alternatively you can buy ready made cables and simply cut one end to solder it on the Rotary Encoder pins.
For the JustBoom HAT and in case you use 20×2 straight male header for the JustBoom DAC and Digi HATs you will have to make sure that the Dupont connectors are of a suitable height.