JetBot bill of materials

For PiOLED header it has two sources:

And the former is said to have 36 pins and the latter is said to have 40 pins.
Do they both work?

Hi Andrey1984,
Yes, they both work, as you only use the 6 pins.

You would break 3 rows of headers away from either the 36-pin or the 40-pin strip, and put the 6-pin headers on the PiOLED pads, as seen in this Hardware Setup guide.

Hope this helps!