mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.2.6 DAC8554
This commit is contained in:
parent
53b492d46e
commit
d1f3f2f1b9
@ -6,11 +6,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
|
||||
## [0.2.6] - 2023-10-19
|
||||
- update readme.md
|
||||
- minor edits
|
||||
|
||||
|
||||
## [0.2.5] - 2022-10-31
|
||||
- add changelog.md
|
||||
- add rp2040 to build-CI
|
||||
|
||||
|
||||
## [0.2.4] - 2021-12-15
|
||||
- update library.json
|
||||
- update license
|
||||
|
@ -2,10 +2,9 @@
|
||||
// FILE: DAC8554.cpp
|
||||
// AUTHOR: Rob Tillaart
|
||||
// PURPOSE: Arduino library for DAC8554 SPI Digital Analog Convertor
|
||||
// VERSION: 0.2.4
|
||||
// VERSION: 0.2.6
|
||||
// DATE: 2017-12-19
|
||||
// URL: https://github.com/RobTillaart/DAC8554
|
||||
//
|
||||
// HISTORY: see changelog.md
|
||||
|
||||
|
||||
#include "DAC8554.h"
|
||||
|
@ -3,15 +3,15 @@
|
||||
// FILE: DAC8554.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// PURPOSE: Arduino library for DAC8554 SPI Digital Analog Convertor
|
||||
// VERSION: 0.2.5
|
||||
// HISTORY: See DAC8554.cpp
|
||||
// VERSION: 0.2.6
|
||||
// DATE: 2017-12-19
|
||||
// URL: https://github.com/RobTillaart/DAC8554
|
||||
//
|
||||
|
||||
#include "Arduino.h"
|
||||
#include "SPI.h"
|
||||
|
||||
#define DAC8554_LIB_VERSION (F("0.2.5"))
|
||||
#define DAC8554_LIB_VERSION (F("0.2.6"))
|
||||
|
||||
#define DAC8554_POWERDOWN_NORMAL 0x00
|
||||
#define DAC8554_POWERDOWN_1K 0x40
|
||||
@ -99,5 +99,5 @@ private:
|
||||
};
|
||||
|
||||
|
||||
// -- END OF FILE --
|
||||
// -- END OF FILE --
|
||||
|
||||
|
@ -2,8 +2,12 @@
|
||||
[![Arduino CI](https://github.com/RobTillaart/DAC8554/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
||||
[![Arduino-lint](https://github.com/RobTillaart/DAC8554/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/DAC8554/actions/workflows/arduino-lint.yml)
|
||||
[![JSON check](https://github.com/RobTillaart/DAC8554/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/DAC8554/actions/workflows/jsoncheck.yml)
|
||||
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/DAC8554.svg)](https://github.com/RobTillaart/DAC8554/issues)
|
||||
|
||||
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/DAC8554/blob/master/LICENSE)
|
||||
[![GitHub release](https://img.shields.io/github/release/RobTillaart/DAC8554.svg?maxAge=3600)](https://github.com/RobTillaart/DAC8554/releases)
|
||||
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/DAC8554.svg)](https://registry.platformio.org/libraries/robtillaart/DAC8554)
|
||||
|
||||
|
||||
# DAC8554
|
||||
|
||||
@ -19,6 +23,10 @@ The DAC8554 is a SPI based 16 bit DAC with four channels.
|
||||
|
||||
## Interface
|
||||
|
||||
```cpp
|
||||
#include "DAC8554.h"
|
||||
```
|
||||
|
||||
### Core
|
||||
|
||||
- **DAC8554(uint8_t slaveSelect, uint8_t address = 0)** Constructor for hardware SPI,
|
||||
@ -52,7 +60,7 @@ The **selectVSPI()** or the **selectHSPI()** needs to be called
|
||||
BEFORE the **begin()** function.
|
||||
|
||||
|
||||
#### experimental
|
||||
#### Experimental
|
||||
|
||||
- **void setGPIOpins(uint8_t clk, uint8_t miso, uint8_t mosi, uint8_t select)**
|
||||
overrule GPIO pins of ESP32 for hardware SPI.
|
||||
@ -107,5 +115,26 @@ See examples
|
||||
|
||||
## Future
|
||||
|
||||
- testing
|
||||
#### Must
|
||||
|
||||
- improve documentation
|
||||
- testing with hardware
|
||||
|
||||
|
||||
#### Should
|
||||
|
||||
#### Could
|
||||
|
||||
- performance measurements
|
||||
|
||||
|
||||
#### Wont
|
||||
|
||||
|
||||
## Support
|
||||
|
||||
If you appreciate my libraries, you can support the development and maintenance.
|
||||
Improve the quality of the libraries by providing issues and Pull Requests, or
|
||||
donate through PayPal or GitHub sponsors.
|
||||
|
||||
Thank you,
|
||||
|
@ -15,9 +15,9 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/RobTillaart/DAC8554"
|
||||
},
|
||||
"version": "0.2.5",
|
||||
"version": "0.2.6",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"frameworks": "*",
|
||||
"platforms": "*",
|
||||
"headers": "DAC8554.h"
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=DAC8554
|
||||
version=0.2.5
|
||||
version=0.2.6
|
||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
sentence=Arduino library for DAC8554 SPI Digital Analog Convertor
|
||||
|
Loading…
Reference in New Issue
Block a user