mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.1.2 PT2314
This commit is contained in:
parent
8aee2732a8
commit
d6a25f1b67
@ -6,12 +6,16 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
|
||||
## [0.1.1] - 2023-
|
||||
## [0.1.2] - 2023-09-24
|
||||
- add Wire1 support for ESP32
|
||||
- update readme.md
|
||||
|
||||
|
||||
## [0.1.1] - 2023-08-01
|
||||
- add **PT7313** derived class
|
||||
- 3 input 2 output version
|
||||
- update readme.md
|
||||
|
||||
|
||||
## [0.1.0] - 2023-07-30
|
||||
- initial version.
|
||||
|
||||
|
@ -2,13 +2,14 @@
|
||||
// FILE: PT2314.cpp
|
||||
// AUTHOR: Rob Tillaart
|
||||
// DATE: 2023-07-30
|
||||
// VERSION: 0.1.1
|
||||
// VERSION: 0.1.2
|
||||
// PURPOSE: Arduino library for PT2314 i2C 4 channel audio processor.
|
||||
// URL: https://github.com/RobTillaart/PT2314
|
||||
|
||||
|
||||
#include "PT2314.h"
|
||||
|
||||
|
||||
PT2314::PT2314(TwoWire *wire)
|
||||
{
|
||||
_wire = wire;
|
||||
@ -18,7 +19,6 @@ PT2314::PT2314(TwoWire *wire)
|
||||
#if defined (ESP8266) || defined(ESP32)
|
||||
bool PT2314::begin(int dataPin, int clockPin)
|
||||
{
|
||||
_wire = &Wire;
|
||||
if ((dataPin < 255) && (clockPin < 255))
|
||||
{
|
||||
_wire->begin(dataPin, clockPin);
|
||||
@ -330,6 +330,5 @@ uint8_t PT7313::getAttnRightFront()
|
||||
}
|
||||
|
||||
|
||||
|
||||
// -- END OF FILE --
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
// FILE: PT2314.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// DATE: 2023-07-30
|
||||
// VERSION: 0.1.1
|
||||
// VERSION: 0.1.2
|
||||
// PURPOSE: Arduino library for PT2314 i2C 4 channel audio processor.
|
||||
// URL: https://github.com/RobTillaart/PT2314
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#include "Wire.h"
|
||||
|
||||
|
||||
#define PT2314_LIB_VERSION (F("0.1.1"))
|
||||
#define PT2314_LIB_VERSION (F("0.1.2"))
|
||||
|
||||
|
||||
class PT2314
|
||||
|
@ -1,15 +1,19 @@
|
||||
|
||||
[![Arduino CI](https://github.com/RobTillaart/PT2314/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
||||
[![JSON check](https://github.com/RobTillaart/PT2314/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/PT2314/actions/workflows/jsoncheck.yml)
|
||||
[![Arduino-lint](https://github.com/RobTillaart/PT2314/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/PT2314/actions/workflows/arduino-lint.yml)
|
||||
[![JSON check](https://github.com/RobTillaart/PT2314/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/PT2314/actions/workflows/jsoncheck.yml)
|
||||
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/PT2314.svg)](https://github.com/RobTillaart/PT2314/issues)
|
||||
|
||||
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/PT2314/blob/master/LICENSE)
|
||||
[![GitHub release](https://img.shields.io/github/release/RobTillaart/PT2314.svg?maxAge=3600)](https://github.com/RobTillaart/PT2314/releases)
|
||||
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/PT2314.svg)](https://registry.platformio.org/libraries/robtillaart/PT2314)
|
||||
|
||||
|
||||
# PT2314
|
||||
|
||||
Arduino library for PT2314 i2C 4 channel audio processor.
|
||||
|
||||
|
||||
## Description
|
||||
|
||||
The PT2314 library is experimental as it is not tested with hardware.
|
||||
@ -164,3 +168,12 @@ Additional attenuation:
|
||||
|
||||
#### Wont (unless on request)
|
||||
|
||||
|
||||
## 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,7 +15,7 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/RobTillaart/PT2314.git"
|
||||
},
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"license": "MIT",
|
||||
"frameworks": "*",
|
||||
"platforms": "*",
|
||||
|
@ -1,10 +1,10 @@
|
||||
name=PT2314
|
||||
version=0.1.1
|
||||
version=0.1.2
|
||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
sentence=Arduino library for PT2314 i2C 4 channel audio processor,
|
||||
paragraph=PT7314, PT7313
|
||||
category=Sensors
|
||||
category=Other
|
||||
url=https://github.com/RobTillaart/PT2314
|
||||
architectures=*
|
||||
includes=PT2314.h
|
||||
|
Loading…
Reference in New Issue
Block a user