๐Ÿ“ฃ๐Ÿ“ช ๐Ÿšš Adafruit will not be shipping USPS orders Monday October 14, 2019 ๐Ÿ—“. Expedited USPS orders placed after 11am ET ๐Ÿ•š Friday October 11 will go out Tuesday October 15 ๐Ÿ“ฃ๐Ÿ“ช๐Ÿšš
0

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
screenshot_2019_5_28_21_42_34.png (27.23 KiB) Viewed 79 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 https://github.com/rlunglh/IOT_with_you ... 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 picoc@microimagesys.com

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

Please be positive and constructive with your questions and comments.