Snake game written in ESP8266 with OLED display
The snake will move faster as it gains more points
requirements:
hardware requirements:
- NodeMCU (ESP8266)
- SSD1306 0.96 inch OLED display
- 4x push button
- 4x 10k or 4.7k resistor
- bread board
to build this project:
git clone "https://github.com/Empitrix/oled-snake" && cd ./oled-snake
make menuconfig # to setup port and flash size
after setting up port and flash size in menuconfig
compile it using:
make all
make flash # to upload into ESP8266
All of the keys are pull-down
D6
for (UP) keyD7
for (DOWN) keyD8
for (RIGHT) keyD5
for (LEFT) key