ArduSat API
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
SAT_Temp Class Reference

Library to query the on board temperature sensors. More...

#include <SAT_Temp.h>

Public Member Functions

 SAT_Temp (uint8_t tempid)
 
void init (uint8_t nodeid)
 
float getTemp ()
 

Detailed Description

Library to query the on board temperature sensors.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Author
Jorge Ortiz and NanoSatisfi, Inc.
Date
May 2013

Constructor & Destructor Documentation

SAT_Temp::SAT_Temp ( uint8_t  tempid)

Tempurature sensor constructor

Parameters
tempid- The id of the tempurature sensor. There are four of these sensors.

Member Function Documentation

float SAT_Temp::getTemp ( )

Returns the tempurature in Celsius from the sensor.

void SAT_Temp::init ( uint8_t  nodeid)

Initializes the tempurature sensor for this node.

Parameters
nodeid- The id of the user's arduino on the ArduSat. This allows the supervisor to know which arduino node to send the data back to. The id is assigned by NanoSatisfi.

The documentation for this class was generated from the following file: