Adafruit is open, safely ... and shipping all orders at this time! Read more!

ESP32 picoc C Language Interpreter
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

ESP32 picoc C Language Interpreter

by rlunglh on Thu May 30, 2019 12:32 pm

screenshot_2019_5_28_21_42_34.png (27.23 KiB) Viewed 147 times

Above is a screen shot of a TFT320x240 display attached to the ESP32 running the C Language Interpreter.

Just wanted to let everyone know that I have posted an Arduino sketch specifically for ESP32 devices that implements a C Language interpreter including all the common analog and digital Write function, PWM, highly accurate servo positioning, support for SPI attached color graphic displays, support of 128x64 OLED displays, and support for the WaveShare 1.54 200x200 ePaper display. It also supports the BME280 environmental sensor and provided the basis for adding almost any sensor library available in the Arduino IDE. Thanks to Adafruit for all your great libraries! There is a document describing its setup and use at ... preter.pdf This also provides the links needed to install the Interpreter. The environment includes support for Single stepping code and conditional start and stop Debug functions along with conditional Watch and dropWatch support for variable inspection.

This is a particularly interesting project since the ESP32 platforms are the only Arduino IDE compatible hosts that have the memory resources needed to host this interpreter.

The basis of the interpreter is the picoc Interpreter which is a well behaved foundation for building a C language interpreter accessed via your browsers.

All interaction with the interpreter i.e. editing code, program file browsing, running programs, and debugging is done through a web browser interface. The arduino IDE is just used to compile the interpreter code and upload it to your ESP32. After uploading the ESP32 is a standalone C language interpreter, debugger, and file system for your programs.

Free to use and modify under The MIT License (MIT).

email questions to

Posts: 1
Joined: Thu May 30, 2019 12:10 pm

Please be positive and constructive with your questions and comments.