0.3.1 AD56X8

This commit is contained in:
Rob Tillaart 2024-05-24 17:10:48 +02:00
parent e2becd81d4
commit 8920e94c9d
5 changed files with 12 additions and 6 deletions

View File

@ -1,7 +1,7 @@
// //
// FILE: AD56X8.cpp // FILE: AD56X8.cpp
// AUTHOR: Rob Tillaart // AUTHOR: Rob Tillaart
// VERSION: 0.3.0 // VERSION: 0.3.1
// DATE: 2022-07-28 // DATE: 2022-07-28
// PURPOSE: Arduino library for AD56X8, SPI 8 channel Digital Analog Convertor. // PURPOSE: Arduino library for AD56X8, SPI 8 channel Digital Analog Convertor.

View File

@ -2,7 +2,7 @@
// //
// FILE: AD56X8.h // FILE: AD56X8.h
// AUTHOR: Rob Tillaart // AUTHOR: Rob Tillaart
// VERSION: 0.3.0 // VERSION: 0.3.1
// DATE: 2022-07-28 // DATE: 2022-07-28
// PURPOSE: Arduino library for AD56X8, SPI 8 channel Digital Analog Convertor. // PURPOSE: Arduino library for AD56X8, SPI 8 channel Digital Analog Convertor.
@ -10,11 +10,14 @@
#include "Arduino.h" #include "Arduino.h"
#include "SPI.h" #include "SPI.h"
#define AD56X8_LIB_VERSION (F("0.3.0")) #define AD56X8_LIB_VERSION (F("0.3.1"))
#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

@ -6,6 +6,9 @@ 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.1] - 2024-05-24
- add support for ARDUINO_ARCH_MBED
## [0.3.0] - 2024-01-19 ## [0.3.0] - 2024-01-19
- fix #10, improve handling SPI dependency. - fix #10, improve handling SPI dependency.

View File

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

View File

@ -1,5 +1,5 @@
name=AD56X8 name=AD56X8
version=0.3.0 version=0.3.1
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 AD56X8, SPI 8 channel Digital Analog Convertor. sentence=Arduino library for AD56X8, SPI 8 channel Digital Analog Convertor.