Digital Thermometer Programs For The Parallax BASIC Stamp

The programs contained within are the results of experiments with the 
Parallax BASIC Stamp.  I really did not create anything new; I simply
put together and refined fragments of existing programs.

Sources:

  App Note #7 - Reading a thermister
  App Note #4 - Displaying data on an LCD panel
  RANDLCD.BAS - Demo by Jim Remington; displaying decimal data on an LCD


Connections:

  Thermistor is connected to Stamp pin 7


  LCD        (Function)         Stamp
  ---------------------         -----
  pin 1         Vss             gnd
  pin 2         Vdd             +5
  pin 3         Vo              gnd
  pin 4         RS              pin 4
  pin 5         R/W             gnd
  pin 6         E               pin 5
  pin 7         DB0             gnd
  pin 8         DB1             gnd
  pin 9         DB2             gnd
  pin 10        DB3             gnd
  pin 11        DB4             pin 0
  pin 12        DB5             pin 1
  pin 13        DB6             pin 2
  pin 14        DB7             pin 4


Program Displays:

  DIGITEMP.BAS = [TEMP xxxF/xxxC]
  DIGITMPF.BAS = [ TEMP IS xxxF  ]
  DIGITMPC.BAS = [ TEMP IS xx.xC ]


Notes:

DIGITMPC.BAS is a little interesting in that the celsius conversion formula
is 'cheated' to derive tenths.  All three programs (okay, they're the same
base program modified...) demonstrate some of the unique features of Stamp
BASIC (like lookup tables for ASCII strings and automatic data type con-
version).

I spent a lazy day refining the programs to lean them out as much as possible
without making them difficult to read.  If you find a way to improve any of 
these programs, or would simply like to pass a long a suggestion (please do!),
please send me a note via CompuServe or the Parallax BBS.

Jon Williams
Riverside, CA
CIS 73110,3272

