0.3.2 MAX6675

This commit is contained in:
Rob Tillaart 2024-06-03 15:07:14 +02:00
parent fb0e49fbea
commit a7f09164d1
5 changed files with 13 additions and 7 deletions

View File

@ -6,12 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/). and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.3.2] - 2024-06-03
- add support for ARDUINO_ARCH_MBED
## [0.3.1] - 2024-04-09 ## [0.3.1] - 2024-04-09
- update GitHub actions - update GitHub actions
- add array example - add array example
- minor edits - minor edits
## [0.3.0] - 2024-01-19 ## [0.3.0] - 2024-01-19
- Fix #9, improve handling SPI dependency. - Fix #9, improve handling SPI dependency.

View File

@ -1,7 +1,7 @@
// //
// FILE: MAX6675.cpp // FILE: MAX6675.cpp
// AUTHOR: Rob Tillaart // AUTHOR: Rob Tillaart
// VERSION: 0.3.1 // VERSION: 0.3.2
// PURPOSE: Arduino library for MAX6675 chip for K type thermocouple // PURPOSE: Arduino library for MAX6675 chip for K type thermocouple
// DATE: 2022-01-11 // DATE: 2022-01-11
// URL: https://github.com/RobTillaart/MAX6675 // URL: https://github.com/RobTillaart/MAX6675

View File

@ -2,7 +2,7 @@
// //
// FILE: MAX6675.h // FILE: MAX6675.h
// AUTHOR: Rob Tillaart // AUTHOR: Rob Tillaart
// VERSION: 0.3.1 // VERSION: 0.3.2
// PURPOSE: Arduino library for MAX6675 chip for K type thermocouple // PURPOSE: Arduino library for MAX6675 chip for K type thermocouple
// DATE: 2022-01-12 // DATE: 2022-01-12
// URL: https://github.com/RobTillaart/MAX6675 // URL: https://github.com/RobTillaart/MAX6675
@ -23,10 +23,14 @@
#include "SPI.h" #include "SPI.h"
#define MAX6675_LIB_VERSION (F("0.3.1")) #define MAX6675_LIB_VERSION (F("0.3.2"))
#ifndef __SPI_CLASS__ #ifndef __SPI_CLASS__
#if defined(ARDUINO_ARCH_RP2040) // MBED must be tested before RP2040
#if defined(ARDUINO_ARCH_MBED)
#define __SPI_CLASS__ SPIClass
#elif defined(ARDUINO_ARCH_RP2040)
#define __SPI_CLASS__ SPIClassRP2040 #define __SPI_CLASS__ SPIClassRP2040
#else #else
#define __SPI_CLASS__ SPIClass #define __SPI_CLASS__ SPIClass

View File

@ -15,7 +15,7 @@
"type": "git", "type": "git",
"url": "https://github.com/RobTillaart/MAX6675" "url": "https://github.com/RobTillaart/MAX6675"
}, },
"version": "0.3.1", "version": "0.3.2",
"license": "MIT", "license": "MIT",
"frameworks": "*", "frameworks": "*",
"platforms": "*", "platforms": "*",

View File

@ -1,5 +1,5 @@
name=MAX6675 name=MAX6675
version=0.3.1 version=0.3.2
author=Rob Tillaart <rob.tillaart@gmail.com> author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com> maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Arduino library for MAX6675 chip for K type thermocouple. sentence=Arduino library for MAX6675 chip for K type thermocouple.