Driver for Auriga On Board Temperature device.
More...
#include <src/MeOnBoardTemp.h>
Driver for Auriga On Board Temperature device.
Class: MeOnBoardTemp
- Description
- Declaration of Class MeOnBoardTemp
- Copyright (C), 2012-2016, MakeBlock
◆ MeOnBoardTemp() [1/2]
| MeOnBoardTemp::MeOnBoardTemp |
( |
void |
| ) |
|
Alternate Constructor which can call your own function to map the On Board Temperature to arduino port, no pins are used or initialized here.
- Parameters
-
◆ MeOnBoardTemp() [2/2]
| MeOnBoardTemp::MeOnBoardTemp |
( |
uint8_t |
port | ) |
|
Alternate Constructor which can call your own function to map the On Board Temperature to arduino port
- Parameters
-
| [in] | port | - RJ25 port from PORT_1 to M2 |
◆ readAnalog()
| int16_t MeOnBoardTemp::readAnalog |
( |
void |
| ) |
|
- Function
- readAnalog
- Description
- Read the analog signal of On Board Temperature.
- Output
- None
- Returns
- The vlaue from On Board Temperature's analog output
- Others
- None
◆ readValue()
| float MeOnBoardTemp::readValue |
( |
void |
| ) |
|
- Function
- readValue
- Description
- Read the value of On Board Temperature.
- Output
- None
- Returns
- The vlaue from On Board Temperature.
- Others
- None
◆ setpin()
| void MeOnBoardTemp::setpin |
( |
uint8_t |
analog_pin | ) |
|
- Function
- setpin
- Description
- Reset the analog available PIN by its arduino port.
- Parameters
-
| [in] | analog_pin | - arduino port for analog signal input |
- Output
- None
- Returns
- None
- Others
- None
The documentation for this class was generated from the following files: