adding MAX31856 support#56
Conversation
|
I took a quick look - have to think on it. I'm not a huge fan of this many #ifs - especially big #ifs in termocouple readout function. Perhaps it would be better somehow to create single function for each thermocouple type and as parameter just make it read A or B thermoucouple - and call proper one. Or even dedicated files for each max types and use only one.. just thinking out loud... |
|
yup did not want to change too much code wise. |
|
also is it by design that the int_temp is the mean over both TC CJ? |
|
Hi, I'm also interested on this feature. What is the state and what needs to be done to be approved? |
This adds MAX31856 support, the module supports different types of thermocouple.
By defining any TCTYPE (K,J,S,...) in
PIDKiln.hadafruit_max31856 lib is imported for reading the temperatures.