JetBot bill of materials

For PiOLED header it has two sources:
https://www.adafruit.com/product/1541
https://www.amazon.com/uxcell-10PCS-40Pin-2-54mm-Header/dp/B015K47OIQ/ref=as_li_ss_tl?ie=UTF8&qid=1549576214&sr=8-15&keywords=right+angle+Double+Row+2.54mm&linkCode=sl1&tag=jbstore074-20&linkId=3863e54f797b255dab12f8a9469d63e6&language=en_US
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!