0.4.1 DAC8551

This commit is contained in:
Rob Tillaart 2024-05-23 19:44:28 +02:00
parent 86a365af13
commit eacdd96708
7 changed files with 13 additions and 8 deletions

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/).
## [0.4.1] - 2024-05-23
- add support for ARDUINO_ARCH_MBED
## [0.4.0] - 2024-01-20
- Fix #19, improve handling SPI dependency.
- update examples

View File

@ -2,7 +2,7 @@
// FILE: DAC8551.cpp
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for DAC8551 SPI Digital Analog Convertor
// VERSION: 0.4.0
// VERSION: 0.4.1
// URL: https://github.com/RobTillaart/DAC8551

View File

@ -4,7 +4,7 @@
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for DAC8551 SPI Digital Analog Convertor
// could work with DAC8550, not tested
// VERSION: 0.4.0
// VERSION: 0.4.1
// HISTORY: See DAC8551.cpp
// URL: https://github.com/RobTillaart/DAC8551
//
@ -14,7 +14,7 @@
#include "SPI.h"
#define DAC8551_LIB_VERSION (F("0.4.0"))
#define DAC8551_LIB_VERSION (F("0.4.1"))
#define DAC8551_POWERDOWN_NORMAL 0
@ -24,7 +24,10 @@
#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
#else
#define __SPI_CLASS__ SPIClass

View File

@ -24,14 +24,12 @@ They all have classes derived 1 to 1 from DAC8551.
**Warning** this library is not tested extensively.
## [0.4.0] - 2024-01-20
- Fix #19, improve handling SPI dependency.
- update examples
----
#### 0.3.0 Breaking change
The version 0.3.0 has breaking changes in the interface.

View File

@ -11,6 +11,7 @@ DAC8551 KEYWORD1
begin KEYWORD2
setValue KEYWORD2
getValue KEYWORD2
setPowerDown KEYWORD2
getPowerDownMode KEYWORD2

View File

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

View File

@ -1,5 +1,5 @@
name=DAC8551
version=0.4.0
version=0.4.1
author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Arduino library for DAC8501, DAC8531, DAC8550 and DAC8551 SPI 16-bit Digital Analog Convertor.