mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.3.1 DAC8550
This commit is contained in:
parent
ea12c76e13
commit
86a365af13
@ -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-23
|
||||||
|
- add support for ARDUINO_ARCH_MBED
|
||||||
|
|
||||||
## [0.3.0] - 2024-01-20
|
## [0.3.0] - 2024-01-20
|
||||||
- Fix #8, improve handling SPI dependency.
|
- Fix #8, improve handling SPI dependency.
|
||||||
- update examples
|
- update examples
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// FILE: DAC8550.cpp
|
// FILE: DAC8550.cpp
|
||||||
// AUTHOR: Rob Tillaart
|
// AUTHOR: Rob Tillaart
|
||||||
// PURPOSE: Arduino library for DAC8550 SPI Digital Analog Convertor
|
// PURPOSE: Arduino library for DAC8550 SPI Digital Analog Convertor
|
||||||
// VERSION: 0.3.0
|
// VERSION: 0.3.1
|
||||||
// DATE: 2021-02-04
|
// DATE: 2021-02-04
|
||||||
// URL: https://github.com/RobTillaart/DAC8550
|
// URL: https://github.com/RobTillaart/DAC8550
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// FILE: DAC8550.h
|
// FILE: DAC8550.h
|
||||||
// AUTHOR: Rob Tillaart
|
// AUTHOR: Rob Tillaart
|
||||||
// PURPOSE: Arduino library for DAC8550 SPI Digital Analog Convertor
|
// PURPOSE: Arduino library for DAC8550 SPI Digital Analog Convertor
|
||||||
// VERSION: 0.3.0
|
// VERSION: 0.3.1
|
||||||
// DATE: 2021-02-04
|
// DATE: 2021-02-04
|
||||||
// URL: https://github.com/RobTillaart/DAC8550
|
// URL: https://github.com/RobTillaart/DAC8550
|
||||||
|
|
||||||
@ -12,7 +12,7 @@
|
|||||||
#include "SPI.h"
|
#include "SPI.h"
|
||||||
|
|
||||||
|
|
||||||
#define DAC8550_LIB_VERSION (F("0.3.0"))
|
#define DAC8550_LIB_VERSION (F("0.3.1"))
|
||||||
|
|
||||||
|
|
||||||
#define DAC8550_POWERDOWN_NORMAL 0
|
#define DAC8550_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
|
||||||
|
@ -8,6 +8,7 @@ DAC8550 KEYWORD1
|
|||||||
begin KEYWORD2
|
begin KEYWORD2
|
||||||
setValue KEYWORD2
|
setValue KEYWORD2
|
||||||
getValue KEYWORD2
|
getValue KEYWORD2
|
||||||
|
|
||||||
setPowerDown KEYWORD2
|
setPowerDown KEYWORD2
|
||||||
getPowerDownMode KEYWORD2
|
getPowerDownMode KEYWORD2
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/RobTillaart/DAC8550"
|
"url": "https://github.com/RobTillaart/DAC8550"
|
||||||
},
|
},
|
||||||
"version": "0.3.0",
|
"version": "0.3.1",
|
||||||
"frameworks": "*",
|
"frameworks": "*",
|
||||||
"platforms": "*",
|
"platforms": "*",
|
||||||
"headers": "DAC8550.h"
|
"headers": "DAC8550.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name=DAC8550
|
name=DAC8550
|
||||||
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 DAC8550 SPI DAC Digital Analog Convertor
|
sentence=Arduino library for DAC8550 SPI DAC Digital Analog Convertor
|
||||||
|
Loading…
Reference in New Issue
Block a user