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.
max6675_2.h
00001 #ifndef MAX6675_2_h 00002 #define MAX6675_2_h 00003 00004 #include "mbed.h" 00005 00006 class max6675_2 00007 { 00008 SPI& spi_2; 00009 DigitalOut ncs_2; 00010 public: 00011 00012 max6675_2(SPI& _spi_2, PinName _ncs_2); 00013 void select_2(); 00014 void deselect_2(); 00015 00016 float read_temp_2(); 00017 private: 00018 PinName _CS_pin_2; 00019 PinName _SO_pin_2; 00020 PinName _SCK_pin_2; 00021 int _units_2; 00022 float _error_2; 00023 }; 00024 00025 #endif
Generated on Wed Jul 13 2022 08:50:51 by
