filmov
tv
MCU6050 controlling a bouncing cube on an other ESP8266 with oled
Показать описание
Overview
Wemos A (OLED Module): Displays the rolling or bouncing cube on the OLED and sends HTTP GET requests to Wemos B when the cube hits the left or right side.
Wemos B (LED Module): Acts as an HTTP server, listens for requests from Wemos A, and controls the LEDs based on the requests received.
Explanation
Wemos B (LED Module):
Acts as an HTTP server.
Listens for requests at specific endpoints (/left and /right).
Controls the LEDs based on the endpoint hit by the HTTP request.
Wemos A (OLED Module):
Sends HTTP GET requests to Wemos B when the cube hits the left or right side of the screen.
Communicates with Wemos B using its IP address and specific URL paths.
Wemos A (OLED Module): Displays the rolling or bouncing cube on the OLED and sends HTTP GET requests to Wemos B when the cube hits the left or right side.
Wemos B (LED Module): Acts as an HTTP server, listens for requests from Wemos A, and controls the LEDs based on the requests received.
Explanation
Wemos B (LED Module):
Acts as an HTTP server.
Listens for requests at specific endpoints (/left and /right).
Controls the LEDs based on the endpoint hit by the HTTP request.
Wemos A (OLED Module):
Sends HTTP GET requests to Wemos B when the cube hits the left or right side of the screen.
Communicates with Wemos B using its IP address and specific URL paths.