![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ss
max6675_2.h
- Committer:
- SantiagoE
- Date:
- 2021-02-22
- Revision:
- 0:ac37887d5bb2
File content as of revision 0:ac37887d5bb2:
#ifndef MAX6675_2_h #define MAX6675_2_h #include "mbed.h" class max6675_2 { SPI& spi_2; DigitalOut ncs_2; public: max6675_2(SPI& _spi_2, PinName _ncs_2); void select_2(); void deselect_2(); float read_temp_2(); private: PinName _CS_pin_2; PinName _SO_pin_2; PinName _SCK_pin_2; int _units_2; float _error_2; }; #endif