M5 Tough GPIO pin order

  • I am very new to this and have just bought an M5 Tough. For my project (ESPAltherma) I know I need to use the black GPIO port. I am don't understand the schematics, but I assume pin 1 is next to the red connector above it and pin 4 is at the bottom next to the blue connector. Is that correct?