Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed SDFileSystem
max6675_4.h
- Committer:
- BoostNori
- Date:
- 2020-03-19
- Revision:
- 0:d68d5418c985
File content as of revision 0:d68d5418c985:
#ifndef MAX6675_4_h #define MAX6675_4_h #include "mbed.h" class max6675_4 { SPI& spi_4; DigitalOut ncs_4; public: max6675_4(SPI& _spi_4, PinName _ncs_4); void select_4(); void deselect_4(); float read_temp_4(); private: PinName _CS_pin_4; PinName _SO_pin_4; PinName _SCK_pin_4; int _units_4; float _error_4; }; #endif