0.3.1 AD568X

This commit is contained in:
Rob Tillaart 2024-05-24 17:08:58 +02:00
parent dcaa087650
commit e2becd81d4
5 changed files with 12 additions and 6 deletions

View File

@ -1,7 +1,7 @@
// //
// FILE: AD568X.cpp // FILE: AD568X.cpp
// AUTHOR: Rob Tillaart // AUTHOR: Rob Tillaart
// VERSION: 0.3.0 // VERSION: 0.3.1
// DATE: 2023-09-18 // DATE: 2023-09-18
// PURPOSE: Arduino library for AD568X series Digital Analog Convertor. // PURPOSE: Arduino library for AD568X series Digital Analog Convertor.
// URL: https://github.com/RobTillaart/AD568X // URL: https://github.com/RobTillaart/AD568X

View File

@ -2,7 +2,7 @@
// //
// FILE: AD568X.h // FILE: AD568X.h
// AUTHOR: Rob Tillaart // AUTHOR: Rob Tillaart
// VERSION: 0.3.0 // VERSION: 0.3.1
// DATE: 2023-09-18 // DATE: 2023-09-18
// PURPOSE: Arduino library for AD568X series Digital Analog Convertor. // PURPOSE: Arduino library for AD568X series Digital Analog Convertor.
// URL: https://github.com/RobTillaart/AD568X // URL: https://github.com/RobTillaart/AD568X
@ -11,11 +11,14 @@
#include "Arduino.h" #include "Arduino.h"
#include "SPI.h" #include "SPI.h"
#define AD568X_LIB_VERSION (F("0.3.0")) #define AD568X_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 #7, improve handling SPI dependency. - Fix #7, improve handling SPI dependency.

View File

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

View File

@ -1,5 +1,5 @@
name=AD568X name=AD568X
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 AD568X series Digital Analog Convertor. sentence=Arduino library for AD568X series Digital Analog Convertor.