FlashForth: Execution Speed

Where I discuss the various methods of increasing execution speed in Forth and demonstrate the ease in doing so.

Introduction#

In this entry, I showed the relative speeds of board/language combinations from a ARM M0 running CircuitPython to a Pi Pico …

FlashForth: Compile a New Version

Where I describe in detail how to compile a new version of FlashForth.

Introduction#

Its helpful to be able to compile a new version of FlashForth. A simple reason is to increase the baudrate from 38400 to 250000, increasing your productivity. It …

FlashForth: Hardware Abstract Layer (HAL)

UPDATED: This page contains a both a Forth hardware abstraction level (HAL) much like the m328def.inc file for AVR programming in C and an example of debouncing buttons.

New Words#

This HAL provides the words:

I/O Words#

The Arduino pins are defined by bit …

Flashforth: Working with the Uno

Where I describe how to use Forth with an Arduino Uno and make it easier to program the Uno in Forth.

Introduction#

The Arduino Uno benefits from an incredible software framework. Between the programs already developed by the Arduino organization, and the …

FlashForth: blink

Where I demonstrate your first embedded application, much like the C Language “Hello, World” program, blink.

To begin to understand how to program in Forth, I’ll iterate over several versions of blink.

Light the …

FlashForth: Simple Setup

UPDATED: Where I describe how to use FlashForth, a phenomenal version of Forth for the ATmega328P to learn how to use Forth in an embedded system.

Notes for Video#

This video demonstrates the ease of loading FlashForth on to an Arduino Uno, and …