ESP32 Tiny Basic Plus PC V2 - arrays and snake

Published: 13 June 2021
on channel: Rob Cai
2,334
41

ESP32 Tiny Basic Plus PC is a simple, small and unexpansive retro style PC, running an extended version of Tiny Basic Plus, where more new features have been added. Some of them are: graphical capabilities, uses of floating numbers, possibility to drive the inputs/output (both with digital and analogue signals) of five pins, sound output, timing and many mathematical functions. In this actual version the possibility to use arrays for variables has been introduced. This allow the realization of the game "snake", since the code has to memorize the coordinates of each snake pixel.

This breadboard is in practice a "stand alone" microcontroller that does not need an external computer to be programmed: the code can be written directly "on the fly" in BASIC, and the programs can be saved and loaded on a micro-SD card. Finally, the program "autorun.bas" is executed automatically at the start, if present.


If you want to build your own, you can follor the Instructable
https://www.instructables.com/ESP32-P...

Again, I wish to express my tanks to Fabrizio Di Vittorio for his awesome ESP32 VGA library. For more details, see here: http://www.fabglib.org/


Many thanks also to Fernando Garcia for introducing the graphics in the previous version of Tiny Basic Plus.


On this page of the site you can watch the video online ESP32 Tiny Basic Plus PC V2 - arrays and snake with a duration of online in good quality, which was uploaded by the user Rob Cai 13 June 2021, share the link with friends and acquaintances, this video has already been watched 2,334 times on youtube and it was liked by 41 viewers. Enjoy your viewing!