eForth1  v2.4
eforth1.ino.cpp File Reference

More...

#include "src/eForth1.h"
Include dependency graph for eforth1.ino.cpp:

Macros

#define TRIG_PIN   9
 
#define ECHO_PIN   3
 

Functions

void trig ()
 
void echo ()
 
void setup ()
 
void loop ()
 

Variables

const PROGMEM char code []
 
unsigned int d0 = 0
 
unsigned long t0
 

Detailed Description

  • HC-SR04 ultrasound

Macro Definition Documentation

◆ TRIG_PIN

#define TRIG_PIN   9

◆ ECHO_PIN

#define ECHO_PIN   3

Function Documentation

◆ trig()

void trig ( )

◆ echo()

void echo ( )

◆ setup()

void setup ( )

◆ loop()

void loop ( )

Variable Documentation

◆ code

const PROGMEM char code[]
Initial value:
=
": dist 0 CALL ?DUP IF . CR THEN ;\n"
"' dist 500 0 TMISR\n"
"1 timer\n"

◆ d0

unsigned int d0 = 0

◆ t0

unsigned long t0