mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.2.4 DAC8552
This commit is contained in:
parent
0edc75ad8b
commit
bb018852dc
@ -1,3 +1,18 @@
|
|||||||
|
platforms:
|
||||||
|
rpipico:
|
||||||
|
board: rp2040:rp2040:rpipico
|
||||||
|
package: rp2040:rp2040
|
||||||
|
gcc:
|
||||||
|
features:
|
||||||
|
defines:
|
||||||
|
- ARDUINO_ARCH_RP2040
|
||||||
|
warnings:
|
||||||
|
flags:
|
||||||
|
|
||||||
|
packages:
|
||||||
|
rp2040:rp2040:
|
||||||
|
url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
# Choosing to run compilation tests on 2 different Arduino platforms
|
# Choosing to run compilation tests on 2 different Arduino platforms
|
||||||
platforms:
|
platforms:
|
||||||
@ -9,3 +24,5 @@ compile:
|
|||||||
- esp32
|
- esp32
|
||||||
# - esp8266
|
# - esp8266
|
||||||
# - mega2560
|
# - mega2560
|
||||||
|
- rpipico
|
||||||
|
|
||||||
|
44
libraries/DAC8552/CHANGELOG.md
Normal file
44
libraries/DAC8552/CHANGELOG.md
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# Change Log DAC8552
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||||
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
|
||||||
|
## [0.2.4] - 2022-10-30
|
||||||
|
- add changelog.md
|
||||||
|
- add rp2040 to build-CI
|
||||||
|
|
||||||
|
|
||||||
|
## [0.2.3] - 2021-12-15
|
||||||
|
- update library.json
|
||||||
|
- update license
|
||||||
|
- update unit test
|
||||||
|
- minor edits
|
||||||
|
|
||||||
|
## [0.2.2] - 2021-08-29
|
||||||
|
- add support for HSPI / VSPI ESP32 ++
|
||||||
|
|
||||||
|
## [0.2.1] - 2021-06-02
|
||||||
|
- compile ESP32 + fix for channel B
|
||||||
|
|
||||||
|
## [0.2.0] - 2020-12-18
|
||||||
|
- add arduino-ci + unit test
|
||||||
|
- add slave select pin for HW constructor
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
|
## [0.1.3] - 2020-06-07
|
||||||
|
- fix library.json
|
||||||
|
|
||||||
|
## [0.1.2] - 2020-04-06
|
||||||
|
- minor refactor
|
||||||
|
- update readme.md
|
||||||
|
|
||||||
|
## [0.1.1] - 2017-12-19
|
||||||
|
- fix begin() bug
|
||||||
|
|
||||||
|
## [0.1.0] - 2017-12-14
|
||||||
|
- initial version
|
||||||
|
|
@ -2,19 +2,10 @@
|
|||||||
// 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.2.3
|
// VERSION: 0.2.4
|
||||||
// URL: https://github.com/RobTillaart/DAC8552
|
// URL: https://github.com/RobTillaart/DAC8552
|
||||||
//
|
//
|
||||||
// HISTORY:
|
// HISTORY: see changelog.md
|
||||||
// 0.1.0: 2017-12-14 initial version
|
|
||||||
// 0.1.1: 2017-12-19 fix begin() bug
|
|
||||||
// 0.1.2 2020-04-06 minor refactor, readme.md
|
|
||||||
// 0.1.3 2020-06-07 fix library.json
|
|
||||||
// 0.2.0 2020-12-18 add arduino-ci + unit test
|
|
||||||
// add slave select pin for HW constructor
|
|
||||||
// 0.2.1 2021-06-02 compile ESP32 + fix for channel B
|
|
||||||
// 0.2.2 2021-08-29 add support for HSPI / VSPI ESP32 ++
|
|
||||||
// 0.2.3 2021-12-15 update library.json, license, unit test, minor edits
|
|
||||||
|
|
||||||
|
|
||||||
#include "DAC8552.h"
|
#include "DAC8552.h"
|
||||||
|
@ -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.2.3
|
// VERSION: 0.2.4
|
||||||
// HISTORY: See DAC8552.cpp
|
// HISTORY: See DAC8552.cpp
|
||||||
// URL: https://github.com/RobTillaart/DAC8552
|
// URL: https://github.com/RobTillaart/DAC8552
|
||||||
//
|
//
|
||||||
@ -13,7 +13,7 @@
|
|||||||
#include "SPI.h"
|
#include "SPI.h"
|
||||||
|
|
||||||
|
|
||||||
#define DAC8552_LIB_VERSION (F("0.2.3"))
|
#define DAC8552_LIB_VERSION (F("0.2.4"))
|
||||||
|
|
||||||
|
|
||||||
#define DAC8552_POWERDOWN_NORMAL 0
|
#define DAC8552_POWERDOWN_NORMAL 0
|
||||||
|
@ -75,10 +75,6 @@ but waits until (TODO CHECK DATASHEET)
|
|||||||
| DAC8552_POWERDOWN_HIGH_IMP | 3 |
|
| DAC8552_POWERDOWN_HIGH_IMP | 3 |
|
||||||
|
|
||||||
|
|
||||||
## Future
|
|
||||||
|
|
||||||
- testing
|
|
||||||
|
|
||||||
|
|
||||||
## Operation
|
## Operation
|
||||||
|
|
||||||
@ -101,3 +97,8 @@ See examples
|
|||||||
**demo_powerdown.ino**
|
**demo_powerdown.ino**
|
||||||
- idem
|
- idem
|
||||||
|
|
||||||
|
|
||||||
|
## Future
|
||||||
|
|
||||||
|
- testing
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/RobTillaart/DAC8552"
|
"url": "https://github.com/RobTillaart/DAC8552"
|
||||||
},
|
},
|
||||||
"version": "0.2.3",
|
"version": "0.2.4",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"frameworks": "arduino",
|
"frameworks": "arduino",
|
||||||
"platforms": "*",
|
"platforms": "*",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name=DAC8552
|
name=DAC8552
|
||||||
version=0.2.3
|
version=0.2.4
|
||||||
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 DAC8552 SPI Digital Analog Convertor
|
sentence=Arduino library for DAC8552 SPI Digital Analog Convertor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user