Library to interface the SCP1000 temperature and pressure sensor.
SCP1000 Class Reference
|SCP1000 (PinName mosi, PinName miso, PinName sclk, PinName cs)|
|unsigned long||readPressure ()|
|Read the pressure. |
|Read the temperature. |
Class to interface with the SCP1000 pressure and temperature sensor.
Constructor & Destructor Documentation
mosi SPI MOSI pin miso SPI MISO pin sclk SPI SCLK pin cs Chip select pin
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 2 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, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Library to interface with the SCP1000 pressure and temperature sensor.
Member Function Documentation
|unsigned long readPressure||(||)|
Generated on Tue Dec 18 2018 06:44:59 by 1.7.2