Main Page | File List | Globals | Related Pages

c/thermometer.c File Reference

This is the main file for AvrTherm. More...

#include "globals.h"
#include "ds1621.h"
#include "timer.h"
#include "hd44780.h"
#include "i2c.h"
#include <avr/pgmspace.h>
#include <avr/interrupt.h>
#include <stdlib.h>

Functions

void init (void)
 initialize all data structures and electrical interfaces
u08 print_tempchar (u08 temp, u08 base)
 Print one digit of a number on the display.
void print_temperature (hires_temp_t temp)
 Print the temperature on the attached display.
int main (void)
 the main method

Variables

const char welcome[] PROGMEM = " AVRTherm v1.0C"
 Welcome message displayed at startup.


Detailed Description

This is the main file for AvrTherm.

This file contains the main method for AvrTherm


Function Documentation

u08 print_tempchar u08  temp,
u08  base
 

Print one digit of a number on the display.

Parameters:
temp The number to display
base The base that should be used to convert the number

void print_temperature hires_temp_t  temp  ) 
 

Print the temperature on the attached display.

Parameters:
temp The temperature to display


Generated on Wed Oct 27 10:57:05 2004 by  doxygen 1.3.9.1