?? tempunit.txt
字號:
;************************************************
;* Main Program LCD Temperature & Clock *
;* Readout Unit *
;* *
;* Copyright 2001-2003 Wayne Peacock *
;* First Revision 19/06/2001 *
;* Second Revision 02/03/2002 *
;* * Add Upload of Time - Working *
;* * Add Toggle to Backlight Button *
;* Third Revision 01/10/2002 *
;* * High Resolution conversion fixed for *
;* negative temperature values! *
;* *
;* Displays temperature in high resolution *
;* on a 2x24 LCD panel with real time clock. *
;* RS232 included for temperature output and *
;* setting RTC *
;************************************************
;* See Schematic for Hardware connections *
;* *
;* Disclaimer: *
;* The Author takes no responsibility for the *
;* use of this code. Use at your own risk! *
;* *
;* This code or part there of is licensed only *
;* for private use and NOT for commercial use. *
;* *
;* Please contact the author 'Wayne Peacock' *
;* <wpeacock@senet.com.au> before using the code*
;* or part there of in a commercial project. *
;************************************************
Note: There are current issues with the interupts for the serial comms. There are problems if the 'Set clock' string is sent to the the AVR during a temperature dump. Please modifiy the code for your use. If you do not want logging remove it.
lcd24.asm - Main Subroutine
Support code:
1302sub.asm
lcd4.asm
delay.asm
serial.asm
convert.asm
DS1820sub.asm
DS1820search.asm
Assembled using AVRASM: AVR macro assembler version 1.54 (AVR Studio 3.53)
Total Code size 981 words
Protel 98 Files
AtmelLCD2.sch : Schematic File
Wayne's Embedded Life
http://users.senet.com.au/~wpeacock
DS1820 Temperature Sensor Readout Unit with Real Time Clock
http://users.senet.com.au/~wpeacock/avr/tempavr.html
Regards
Wayne Peacock
wpeacock@senet.com.au
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -