home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 April / CHIP4_98.ISO / software / ccconrad / basic.exe / CHIP / Programme.Bas / Utility / Ser_kty.bas < prev    next >
Encoding:
BASIC Source File  |  1997-11-16  |  416 b   |  17 lines

  1. ' Temperaturmessung mit kty-Sensor, Ausgabe zur seriellen Schnittstelle
  2.  
  3. DEFINE   sample  AD[1]
  4. DEFINE   temp    WORD
  5.  
  6. #m1
  7. LOOKTAB temptab, sample, temp       'aktuellen Abtastwert umrechnen
  8. PRINT "sample="; sample; "   Temp=";temp
  9. PAUSE 50
  10. goto m1
  11.  
  12. END
  13.  
  14. TABLE TempTab "kty.tab"             'Tabelle definieren (Datei h510.tab
  15.                                     'mu▀ im Programmverzeichnis stehen)
  16.  
  17.