m5stack / M5StickC

M5StickC Arduino Library
MIT License
477 stars 222 forks source link

M5StickC - Question #84

Closed markbirss closed 4 years ago

markbirss commented 4 years ago

Where to connect RX,TX on M5StickC ?

EeeeBin commented 4 years ago

All the output pins you can use In StickC: tx: 0, 32, 33, 26 rx: 0, 32, 33, 26, 36

markbirss commented 4 years ago

@EeeeBin

I connect to G26 , G36 and GND? How do I define which I used ? For the Terminal example ?

image

EeeeBin commented 4 years ago
  // Serial2.begin(unsigned long baud, uint32_t config, int8_t rxPin, int8_t txPin, bool invert)
  Serial2.begin(115200, SERIAL_8N1, 36, 26);
markbirss commented 4 years ago

Ah ok, thank you for your feedback