0.4.1 DAC8554

This commit is contained in:
Rob Tillaart 2024-05-23 19:44:52 +02:00
parent eacdd96708
commit 2d274eb80f
7 changed files with 18 additions and 14 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/). and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.4.1] - 2024-05-23
- improve support for ARDUINO_ARCH_MBED
## [0.4.0] - 2024-01-20 ## [0.4.0] - 2024-01-20
- Fix #15, improve handling SPI dependency. - Fix #15, improve handling SPI dependency.
- update examples - update examples

View File

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

View File

@ -3,7 +3,7 @@
// FILE: DAC8554.h // FILE: DAC8554.h
// AUTHOR: Rob Tillaart // AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for DAC8554 SPI Digital Analog Convertor // PURPOSE: Arduino library for DAC8554 SPI Digital Analog Convertor
// VERSION: 0.4.0 // VERSION: 0.4.1
// DATE: 2017-12-19 // DATE: 2017-12-19
// URL: https://github.com/RobTillaart/DAC8554 // URL: https://github.com/RobTillaart/DAC8554
// //
@ -11,7 +11,7 @@
#include "Arduino.h" #include "Arduino.h"
#include "SPI.h" #include "SPI.h"
#define DAC8554_LIB_VERSION (F("0.4.0")) #define DAC8554_LIB_VERSION (F("0.4.1"))
#define DAC8554_POWERDOWN_NORMAL 0x00 #define DAC8554_POWERDOWN_NORMAL 0x00
#define DAC8554_POWERDOWN_1K 0x40 #define DAC8554_POWERDOWN_1K 0x40
@ -20,7 +20,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

@ -18,7 +18,7 @@ Arduino library for DAC8554 SPI Digital Analog Convertor.
The DAC8554 is a SPI based 16 bit DAC with four channels. The DAC8554 is a SPI based 16 bit DAC with four channels.
**Warning** This library is not tested extensively **Warning** This library is not tested extensively.
#### 0.4.0 Breaking change #### 0.4.0 Breaking change
@ -129,7 +129,6 @@ See examples
- improve documentation - improve documentation
- testing with hardware - testing with hardware
#### Should #### Should
#### Could #### Could

View File

@ -10,20 +10,19 @@ begin KEYWORD2
bufferValue KEYWORD2 bufferValue KEYWORD2
setValue KEYWORD2 setValue KEYWORD2
getValue KEYWORD2 getValue KEYWORD2
setSingleValue KEYWORD2 setSingleValue KEYWORD2
bufferPowerDown KEYWORD2 bufferPowerDown KEYWORD2
setPowerDown KEYWORD2 setPowerDown KEYWORD2
getPowerDownMode KEYWORD2 getPowerDownMode KEYWORD2
setSinglePowerDown KEYWORD2 setSinglePowerDown KEYWORD2
broadcastBuffer KEYWORD2 broadcastBuffer KEYWORD2
broadcastValue KEYWORD2 broadcastValue KEYWORD2
broadcastPowerDown KEYWORD2 broadcastPowerDown KEYWORD2
setSPIspeed KEYWORD2 setSPIspeed KEYWORD2
getSPIspeed KEYWORD2 getSPIspeed KEYWORD2
usesHWSPI KEYWORD2 usesHWSPI KEYWORD2

View File

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

View File

@ -1,5 +1,5 @@
name=DAC8554 name=DAC8554
version=0.4.0 version=0.4.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 DAC8534 and DAC8554 SPI Digital Analog Convertor. sentence=Arduino library for DAC8534 and DAC8554 SPI Digital Analog Convertor.