Search found 1 match

by huntertfl
Tue Nov 14, 2017 6:24 am
Forum: General Discussion
Topic: does esp32 support bi-direction gpio?
Replies: 1
Views: 4352

does esp32 support bi-direction gpio?

Use ESP32 to access A7108, a 433M transceiver, which requires 3-line SPI interface, through spec, the data pin is bi-direction, I configured GPIO21 as GPIO_MODE_INPUT_OUTPUT mode: #define GPIO_DATA 21 #define GPIO_IO_PIN_SEL (((uint64_t)1)<<GPIO_DATA) ... io_conf.pin_bit_mask = GPIO_IO_PIN_SEL; //se...