0.1.4 DAC8550

This commit is contained in:
Rob Tillaart 2023-10-19 15:27:18 +02:00
parent dc533888ca
commit 53b492d46e
6 changed files with 42 additions and 14 deletions

View File

@ -5,6 +5,11 @@ 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.1.4] - 2023-10-19
- update readme.md
## [0.1.3] - 2022-10-31
- add changelog.md
- add rp2040 to build-CI

View File

@ -2,10 +2,9 @@
// FILE: DAC8550.cpp
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for DAC8550 SPI Digital Analog Convertor
// VERSION: 0.1.3
// VERSION: 0.1.4
// DATE: 2021-02-04
// URL: https://github.com/RobTillaart/DAC8550
//
// HISTORY: see changelog.md
#include "DAC8550.h"
@ -162,5 +161,5 @@ void DAC8550::swSPI_transfer(uint8_t value)
}
// -- END OF FILE --
// -- END OF FILE --

View File

@ -3,17 +3,16 @@
// FILE: DAC8550.h
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for DAC8550 SPI Digital Analog Convertor
// VERSION: 0.1.3
// HISTORY: See DAC8550.cpp
// VERSION: 0.1.4
// DATE: 2021-02-04
// URL: https://github.com/RobTillaart/DAC8550
//
#include "Arduino.h"
#include "SPI.h"
#define DAC8550_LIB_VERSION (F("0.1.3"))
#define DAC8550_LIB_VERSION (F("0.1.4"))
#define DAC8550_POWERDOWN_NORMAL 0
@ -77,5 +76,5 @@ private:
};
// -- END OF FILE --
// -- END OF FILE --

View File

@ -2,8 +2,11 @@
[![Arduino CI](https://github.com/RobTillaart/DAC8550/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
[![Arduino-lint](https://github.com/RobTillaart/DAC8550/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/DAC8550/actions/workflows/arduino-lint.yml)
[![JSON check](https://github.com/RobTillaart/DAC8550/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/DAC8550/actions/workflows/jsoncheck.yml)
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/DAC8550.svg)](https://github.com/RobTillaart/DAC8550/issues)
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/DAC8550/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/release/RobTillaart/DAC8550.svg?maxAge=3600)](https://github.com/RobTillaart/DAC8550/releases)
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/DAC8550.svg)](https://registry.platformio.org/libraries/robtillaart/DAC8550)
# DAC8550 - experimental
@ -21,6 +24,9 @@ It is derived from the DAC8551 library.
## Interface
```cpp
#include "DAC8550"
```
### Core
@ -50,7 +56,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
AFTER the **begin()** function.
@ -79,9 +85,28 @@ See examples
## Future
- testing with real hardware
#### Must
- improve documentation
#### Should
- testing with real hardware
#### Could
- improve code incl readability
- spiData => spiDataOut
#### 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,

View File

@ -15,8 +15,8 @@
"type": "git",
"url": "https://github.com/RobTillaart/DAC8550"
},
"version": "0.1.3",
"frameworks": "arduino",
"version": "0.1.4",
"frameworks": "*",
"platforms": "*",
"headers": "DAC8550.h"
}

View File

@ -1,5 +1,5 @@
name=DAC8550
version=0.1.3
version=0.1.4
author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Arduino library for DAC8550 SPI DAC Digital Analog Convertor