text: Forth
  Forth on RPi the gb_common.h right after include <math.h>
  #ifdef MATH #include <math.h> #endif #ifdef GERTBOARD #include "gb_common.h" #endif
  Then add your own word definitions at the end of the section with word definitions, around line 2704, right after #endif /* COMPILERW */ in atlast.c
  #ifdef GERTBOARD prim P_gert_io() // state --- { // Setup and restore io rev of RPi io port int rev; Sl(1); if (S0 == 21) { // find out which rev of RPi.o and gb_common.h from the gertboard_sw directory to atlast-1.2 directory (it's there if you have run make in this directory as well).
  Add gb_common.o to the file Makefile in atlast-1.2.
  ATLOBJ = atlast.o gb_common RPi. io port negative edge unsigned int i; clock_t start, end; start = clock(); Sl(1); if (S0 == 21) { // find out which rev of RPi 3.
  prim P_sleep() // microsec --- { Sl(1); usleep(S0); Pop; }
  Now we can do:
  sudo ./atlast : use 1 ; : free 0 ; : leds 25 24 23 22 21 18 17 11 10 9 8 7 ; : on 12 0 do 1 setio 1000000 sleep loop ; : off 12 0 do 0 setio 1000000 sleep loop ;
  Now type:
  use gertboard leds on leds off free gertboard