mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.2.5 DAC8552
This commit is contained in:
parent
05b37036df
commit
a285798689
@ -6,11 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
|
||||
## [0.2.5] - 2023-10-19
|
||||
- update readme.md (badges)
|
||||
|
||||
|
||||
## [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
|
||||
|
@ -2,10 +2,9 @@
|
||||
// FILE: DAC8552.cpp
|
||||
// AUTHOR: Rob Tillaart
|
||||
// PURPOSE: Arduino library for DAC8552 SPI Digital Analog Convertor
|
||||
// VERSION: 0.2.4
|
||||
// VERSION: 0.2.5
|
||||
// DATE: 2017-12-14
|
||||
// URL: https://github.com/RobTillaart/DAC8552
|
||||
//
|
||||
// HISTORY: see changelog.md
|
||||
|
||||
|
||||
#include "DAC8552.h"
|
||||
@ -193,5 +192,5 @@ void DAC8552::swSPI_transfer(uint8_t value)
|
||||
}
|
||||
|
||||
|
||||
// -- END OF FILE --
|
||||
// -- END OF FILE --
|
||||
|
||||
|
@ -3,17 +3,16 @@
|
||||
// FILE: DAC8552.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// PURPOSE: Arduino library for DAC8552 SPI Digital Analog Convertor
|
||||
// VERSION: 0.2.4
|
||||
// HISTORY: See DAC8552.cpp
|
||||
// VERSION: 0.2.5
|
||||
// DATE: 2017-12-14
|
||||
// URL: https://github.com/RobTillaart/DAC8552
|
||||
//
|
||||
|
||||
|
||||
#include "Arduino.h"
|
||||
#include "SPI.h"
|
||||
|
||||
|
||||
#define DAC8552_LIB_VERSION (F("0.2.4"))
|
||||
#define DAC8552_LIB_VERSION (F("0.2.5"))
|
||||
|
||||
|
||||
#define DAC8552_POWERDOWN_NORMAL 0
|
||||
@ -79,5 +78,5 @@ private:
|
||||
};
|
||||
|
||||
|
||||
// -- END OF FILE --
|
||||
// -- END OF FILE --
|
||||
|
||||
|
@ -2,8 +2,11 @@
|
||||
[![Arduino CI](https://github.com/RobTillaart/DAC8552/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
||||
[![Arduino-lint](https://github.com/RobTillaart/DAC8552/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/DAC8552/actions/workflows/arduino-lint.yml)
|
||||
[![JSON check](https://github.com/RobTillaart/DAC8552/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/DAC8552/actions/workflows/jsoncheck.yml)
|
||||
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/DAC8552.svg)](https://github.com/RobTillaart/DAC8552/issues)
|
||||
|
||||
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/DAC8552/blob/master/LICENSE)
|
||||
[![GitHub release](https://img.shields.io/github/release/RobTillaart/DAC8552.svg?maxAge=3600)](https://github.com/RobTillaart/DAC8552/releases)
|
||||
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/DAC8552.svg)](https://registry.platformio.org/libraries/robtillaart/DAC8552)
|
||||
|
||||
|
||||
# DAC8552
|
||||
@ -20,6 +23,10 @@ The DAC8552 is a SPI based 16 bit DAC with two channels.
|
||||
|
||||
## Interface
|
||||
|
||||
```cpp
|
||||
#include "DAC8552.h"
|
||||
```
|
||||
|
||||
### Core
|
||||
|
||||
- **DAC8552(uint8_t slaveSelect)** Constructor for hardware SPI,
|
||||
@ -51,7 +58,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. needs to be called
|
||||
@ -100,5 +107,27 @@ 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/DAC8552"
|
||||
},
|
||||
"version": "0.2.4",
|
||||
"version": "0.2.5",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"frameworks": "*",
|
||||
"platforms": "*",
|
||||
"headers": "DAC8552.h"
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=DAC8552
|
||||
version=0.2.4
|
||||
version=0.2.5
|
||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
sentence=Arduino library for DAC8552 SPI Digital Analog Convertor
|
||||
|
Loading…
Reference in New Issue
Block a user