Test application to read the 1-Wire Weather Station.
The weather station consists of the following devices
on the trunk of the 1-Wire Net:
   DS1820 - temperature measurement
   DS2423 - counter for reading wind speed (page 15)
   
   DS2407 - switch to isolate 8 DS2401's for wind 
            direction on channel B.
     or 
   DS2450 - wind direction value for channels 
	    A, B, C, D on the 1-Wire Net DS2450 
	    Quad A/D Converter  

If you don't have an ini.txt file it will create one
considering that you have the DS2450 version of the 
weather station.  The ini.txt file consists of the 
serail numbers of all the parts.  It is one column 
starting with all the DS2401s and DS2407 or the DS2450, 
the DS1820 and the DS2423.  If using the weather station 
with the DS2401s they will have to be in order for the
wind direction application.  Along with which way is north 
at the bottom of the file.  The direction defaults to 0
for north.

Required on the command line is the 1-Wire Net port name:

    example:  "COM1"                (Win32 DS2480B)
              "/dev/cua0"           (Linux DS2480B)
              "1"                   (Win32 TMEX)
	      "/dev/ports/serial1"  (BeOS DS2480B)

This application uses either the 'general' or 'userial'
1-Wire Net implementations '\source\lib\userial\todo.c' or
'\source\lib\general\todo.c' 

The link file, depending on your platform, can be found in 
'\source\lib\general\link' or '\source\lib\userial\link'.

All application files can be found in the 
'\source\apps' directory. 
All header and utility files can be found in the 
'\source\common' directory. 

Application File(s):			'\source\apps'
mweather.c  - 	reads a 1-Wire Weather Station with DS2407 
		and/or DS2450

Common Module File(s):			'\source\common'
atod20.c   -    module to do scale set up, conversion, 
                read, and write for channels A,B,C,D 
                of the DS2450 1-Wire Quad A/D Converter 
nt1d.c     -    module to read the DS2423 1-kbit/4-kbit 
                1-Wire RAM with Counter associated 
                to the memory page
crcutil.c  -    keeps track of the CRC for 8 and 16 
                bit operations 
findtype.c - 	 finds all of the devices of the same type 
               (family code) on a 1-Wire Net
owerr.c    -    Error handling routines.  Provides exception
                stack and printError functions.
ownet.h    -    include file for 1-Wire Net library
ioutil.c   - 	I/O utility functions
swt12.c    -    performs operations on a DS2407 Dual 
                Addressable Switch and tests the different 
                channels
swt12.h    -    include this file to test the DS2407 Dual 
		          Addressable Switch
temp10.c   -    module to read the temperature measurement 
		          for the DS1920/DS1820/DS18S20 1-Wire 
		          thermometer
weather.c  -    to find the type of weather station, modules to 
                find the direction of the weather station, 
                and read/write output files
weather.h   -   include this file for the Weather Station struct