-- a temperature display using
-- an LM75 and a HD44780 LCD controller
include 16c84_10
include jlib
include lm75
include hd447804
const lm75_address = 0
hd44780_clear
forever loop
var byte t, d
var bit f
lm75_read_fdt( lm75_address, f, d, t )
hd44780_line1
if f then
hd44780 = "-"
else
hd44780 = "+"
end if
print_decimal_2( hd44780, d, " " )
hd44780 = "."
print_decimal_1( hd44780, t, "0" )
delay_200mS
end loop
| file: /Techref/microchip/language/jal/doc/e0004.jal, 0KB, , updated: 1998/12/23 19:08, local time: 2025/10/24 19:33,
216.73.216.180,10-8-63-169:LOG IN
|
| ©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.massmind.org/techref/microchip/language/jal/doc/e0004.jal"> microchip language jal doc e0004</A> |
| Did you find what you needed? |
Welcome to massmind.org! |
Welcome to www.massmind.org! |
.