ESP32

ESP32, UART, uart_queue_events

CoyoteUgly 2018. 8. 19. 21:11
ESP32, UART, uart_queue_events



0. 참고 사이트


1. 모듈


2. 보드 연결

UART2 line를 사용합니다.
Tx 17, Rx 16

UART2 line를 사용합니다.
Rx 17, Tx 16


출처: http://coyoteugly.tistory.com/category/ESP32 [마이콤 개발자를 위한 여행]


3. 소스

https://github.com/sglee0223/esp32/tree/master/uart_queue_events


4. 결과 화면

stm32f1 보드가 500ms마다 Tx를 하면

A thread 에서 QueueEvent를 통해 Rx를 하며 

B thread에서는 500ms마다 Tx를 합니다.



'ESP32' 카테고리의 다른 글

ESP32, Bluetooth, ble_ibeacon  (0) 2018.08.20
ESP32, UART, uart_nonblocking_select  (0) 2018.08.19
ESP32, I2C, SSD1306 OLED  (0) 2018.08.17
ESP32, I2C, LCD1602  (0) 2018.08.16
ESP32, GPIO, LED Blink  (0) 2018.08.16