Changeset - 911461738d90
[Not reviewed]
default
0 3 0
ethanzonca@CL-ENS241-08.cedarville.edu - 12 years ago 2013-01-18 15:43:21
ethanzonca@CL-ENS241-08.cedarville.edu
Added heater support to master
3 files changed with 9 insertions and 0 deletions:
0 comments (0 inline, 0 general)
master/master/config.h
Show inline comments
 
@@ -21,6 +21,8 @@
 
#define MODULE_ID '1'
 
#define BOARDTEMP_ADDR 0x90
 
 
#define HEATER_THRESHOLD 70
 
 
// --------------------------------------------------------------------------
 
// Error Codes config (led.c, used throughout code)
 
// --------------------------------------------------------------------------
master/master/master.c
Show inline comments
 
@@ -124,6 +124,7 @@ int main(void)
 
		{
 
			led_on(LED_CYCLE);
 
			
 
			heater_regulateTemp();
 
			
 
			// Print out GPS debug
 
			//snprintf(debugBuf, 128, "GPS> time: %s lat: %s lon: %s speed: %s hdop: %s course: %s\r\n",
master/master/master.cproj
Show inline comments
 
@@ -138,6 +138,12 @@
 
    <Compile Include="lib\boardtemp.h">
 
      <SubType>compile</SubType>
 
    </Compile>
 
    <Compile Include="lib\heater.c">
 
      <SubType>compile</SubType>
 
    </Compile>
 
    <Compile Include="lib\heater.h">
 
      <SubType>compile</SubType>
 
    </Compile>
 
    <Compile Include="lib\i2c.c">
 
      <SubType>compile</SubType>
 
    </Compile>
0 comments (0 inline, 0 general)