0.5.1 DAC8552

This commit is contained in:
Rob Tillaart 2024-05-23 19:17:39 +02:00
parent 219fd1f713
commit ea12c76e13
5 changed files with 13 additions and 6 deletions

View File

@ -6,6 +6,10 @@ 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.5.1] - 2024-05-22
- improve support for ARDUINO_ARCH_MBED
## [0.5.0] - 2024-01-20 ## [0.5.0] - 2024-01-20
- Fix #16, improve handling SPI dependency. - Fix #16, improve handling SPI dependency.
- update examples - update examples

View File

@ -2,7 +2,7 @@
// FILE: DAC8552.cpp // FILE: DAC8552.cpp
// AUTHOR: Rob Tillaart // AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for DAC8552 SPI Digital Analog Convertor // PURPOSE: Arduino library for DAC8552 SPI Digital Analog Convertor
// VERSION: 0.5.0 // VERSION: 0.5.1
// DATE: 2017-12-14 // DATE: 2017-12-14
// URL: https://github.com/RobTillaart/DAC8552 // URL: https://github.com/RobTillaart/DAC8552

View File

@ -3,7 +3,7 @@
// FILE: DAC8552.h // FILE: DAC8552.h
// AUTHOR: Rob Tillaart // AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for DAC8552 SPI Digital Analog Convertor // PURPOSE: Arduino library for DAC8552 SPI Digital Analog Convertor
// VERSION: 0.5.0 // VERSION: 0.5.1
// DATE: 2017-12-14 // DATE: 2017-12-14
// URL: https://github.com/RobTillaart/DAC8552 // URL: https://github.com/RobTillaart/DAC8552
@ -12,7 +12,7 @@
#include "SPI.h" #include "SPI.h"
#define DAC8552_LIB_VERSION (F("0.5.0")) #define DAC8552_LIB_VERSION (F("0.5.1"))
#define DAC8552_POWERDOWN_NORMAL 0 #define DAC8552_POWERDOWN_NORMAL 0
@ -22,7 +22,10 @@
#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/DAC8552" "url": "https://github.com/RobTillaart/DAC8552"
}, },
"version": "0.5.0", "version": "0.5.1",
"license": "MIT", "license": "MIT",
"frameworks": "*", "frameworks": "*",
"platforms": "*", "platforms": "*",

View File

@ -1,5 +1,5 @@
name=DAC8552 name=DAC8552
version=0.5.0 version=0.5.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 DAC8532 and DAC8552 SPI Digital Analog Convertor. sentence=Arduino library for DAC8532 and DAC8552 SPI Digital Analog Convertor.