Skip to content

mike290/Amforth-utilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amforth-utilities

Forth files written for use with Amforth on ATMega328P Arduino or similar. Requires Amforth (http://amforth.sourceforge.net/) and use of amforth-shell.py to resolve register names.

dot-2dr.frt (.2dr)

Prints a signed number n with two digits after the decimal point
right justifed by r places e.g 25 5 .2dr | 0.25   -12 7 2d.r |  -0.12

dot-temp.frt (.temp)

Prints the temperature read by a DS18B20 sensor connected to Arduino pin 12
to two decimal places. (Requires dot-2dr.frt)

dot-vcc.frt (.vcc)

Prints out the current Vcc of an ATMega by comparing it with the internal 1.1V reference.
(Requires dot-2dr.frt)

About

Forth files written for use with Amforth on ATMega

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages