ZBasic v4.3.10 Supports ESP8266 IoT Devices

Discussion about the ZBasic language including the System Library. If you're not sure where to post your message, do it here. However, do not make test posts here; that's the purpose of the Sandbox.
Post Reply
dkinzer
Site Admin
Posts: 3122
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

ZBasic v4.3.10 Supports ESP8266 IoT Devices

Post by dkinzer »

A new installer can be found on the Downloads Page that contains the ZBasic compiler v4.3.10, ZBasic Library v4.3.1, IDE v1.7.3 and updated documentation. The primary change is support for building applications for the ESP8266 IoT devices available from a variety of sources. At present, no special ZBasic license is required to build ESP8266 applications.

A supplemental manual, ZBasic for ESP8266 is available that describes new ZBasic System Library routines added specifically for the ESP8266. The manual also describes how ESP8266 applications are structurally different from typical ZBasic applications. This information will eventually be incorporated into the ZBasic Language Reference and ZBasic System Library manuals.

ZBasic code is provided for several example applications including TCP and UDP client, TCP and UDP server and an example of using a portion of Flash memory for a SPIFFS file system.
- Don Kinzer
twesthoff
Posts: 247
Joined: 17 March 2006, 6:45 AM
Location: Fredericksburg, VA

ZBasic v4.3.10 Supports ESP8266 IoT Devices

Post by twesthoff »

That is a great idea Don! I wish I had time to work on it now, but it will have to wait.
Tom W
twesthoff
Posts: 247
Joined: 17 March 2006, 6:45 AM
Location: Fredericksburg, VA

Post by twesthoff »

I can't find the examples mentioned above. I only found the blinking Led example. Where are the example ESP8266 programs located?

FYI - I would keep the ESP8266 stuff in a separate manual since it is a different platform and works differently than the AVR Zbasic.
dkinzer
Site Admin
Posts: 3122
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

twesthoff wrote:Where are the example ESP8266 programs located?
There should be a sub-directory in the installation directory called Examples-ESP8266 that contains several projects.

You should copy the project files to a non-protected directory (one not in the "Program Files" tree) to avoid issues with shadow files.
- Don Kinzer
Post Reply