mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.2.2 DAC8554
This commit is contained in:
parent
32f214a63e
commit
499d0a734e
@ -2,7 +2,7 @@
|
||||
// FILE: DAC8554.cpp
|
||||
// AUTHOR: Rob Tillaart
|
||||
// PURPOSE: Arduino library for DAC8554 SPI Digital Analog Convertor
|
||||
// VERSION: 0.2.1
|
||||
// VERSION: 0.2.2
|
||||
// URL: https://github.com/RobTillaart/DAC8554
|
||||
//
|
||||
// HISTORY:
|
||||
@ -13,7 +13,7 @@
|
||||
// 0.2.0 2020-12-18 add arduino-ci + unit test
|
||||
// 0.2.1 2021-01-10 fix slave select hardware SPI + getValue() + getPowerDownMode().
|
||||
// fix unit test.
|
||||
|
||||
// 0.2.2 2021-06-02 compile ESP32
|
||||
|
||||
#include "DAC8554.h"
|
||||
|
||||
|
@ -3,14 +3,15 @@
|
||||
// FILE: DAC8554.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// PURPOSE: Arduino library for DAC8554 SPI Digital Analog Convertor
|
||||
// VERSION: 0.2.1
|
||||
// VERSION: 0.2.2
|
||||
// HISTORY: See DAC8554.cpp
|
||||
// URL: https://github.com/RobTillaart/DAC8554
|
||||
//
|
||||
|
||||
#include "Arduino.h"
|
||||
#include "SPI.h"
|
||||
|
||||
#define DAC8554_LIB_VERSION (F("0.2.1"))
|
||||
#define DAC8554_LIB_VERSION (F("0.2.2"))
|
||||
|
||||
|
||||
#define DAC8554_POWERDOWN_NORMAL 0x00
|
||||
|
@ -3,7 +3,7 @@
|
||||
[![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)
|
||||
|
||||
# DAC8551
|
||||
# DAC8554
|
||||
|
||||
Arduino library for DAC8554 SPI Digital Analog Convertor
|
||||
|
||||
@ -47,7 +47,7 @@ check datasheet for details.
|
||||
### Broadcast
|
||||
|
||||
- **void bufferValue(uint8_t channel, uint16_t value)** prepare a new value for a channel.
|
||||
- **void broadcastBuffer()** write all buffers to all(up to 4) 8554's channel's
|
||||
- **void broadcastBuffer()** write all buffers to all(up to 4) 8554's channel's
|
||||
- **void broadcastValue(uint16_t value)** write value to all(up to 4) 8554's channel's
|
||||
- **void broadcastPowerDown(uint8_t powerDownMode)** write powerDownMode to all 8554's channel's
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/RobTillaart/DAC8554"
|
||||
},
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.2",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"platforms": "*"
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=DAC8554
|
||||
version=0.2.1
|
||||
version=0.2.2
|
||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
sentence=Arduino library for DAC8554 SPI Digital Analog Convertor
|
||||
|
Loading…
x
Reference in New Issue
Block a user