mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.1.2 HC4067
This commit is contained in:
parent
a0ef0f7cca
commit
d8a1884b18
@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|||||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
|
||||||
|
## [0.1.2] - 2023-11-04
|
||||||
|
- update readme.md
|
||||||
|
|
||||||
|
|
||||||
## [0.1.1] - 2023-01-25
|
## [0.1.1] - 2023-01-25
|
||||||
- fix bit mask
|
- fix bit mask
|
||||||
- removed return value **setCHannel()** as makes no sense.
|
- removed return value **setCHannel()** as makes no sense.
|
||||||
@ -14,7 +18,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- add example HC4067_16_buttons.ino
|
- add example HC4067_16_buttons.ino
|
||||||
- minor edits.
|
- minor edits.
|
||||||
|
|
||||||
|
|
||||||
## [0.1.0] - 2023-01-25
|
## [0.1.0] - 2023-01-25
|
||||||
- initial version
|
- initial version
|
||||||
|
|
||||||
|
@ -3,15 +3,15 @@
|
|||||||
// FILE: HC4067.h
|
// FILE: HC4067.h
|
||||||
// AUTHOR: Rob Tillaart
|
// AUTHOR: Rob Tillaart
|
||||||
// DATE: 2023-01-25
|
// DATE: 2023-01-25
|
||||||
// VERSION: 0.1.1
|
// VERSION: 0.1.2
|
||||||
// PURPOSE: Arduino library for CD74HC4067 16 channel multiplexer and compatibles.
|
// PURPOSE: Arduino library for CD74HC4067 1 x 16 channel multiplexer and compatibles.
|
||||||
// URL: https://github.com/RobTillaart/HC4067
|
// URL: https://github.com/RobTillaart/HC4067
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
|
|
||||||
#define HC4067_LIB_VERSION (F("0.1.1"))
|
#define HC4067_LIB_VERSION (F("0.1.2"))
|
||||||
|
|
||||||
|
|
||||||
class HC4067
|
class HC4067
|
||||||
|
@ -2,13 +2,16 @@
|
|||||||
[![Arduino CI](https://github.com/RobTillaart/HC4067/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
[![Arduino CI](https://github.com/RobTillaart/HC4067/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
||||||
[![Arduino-lint](https://github.com/RobTillaart/HC4067/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/HC4067/actions/workflows/arduino-lint.yml)
|
[![Arduino-lint](https://github.com/RobTillaart/HC4067/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/HC4067/actions/workflows/arduino-lint.yml)
|
||||||
[![JSON check](https://github.com/RobTillaart/HC4067/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/HC4067/actions/workflows/jsoncheck.yml)
|
[![JSON check](https://github.com/RobTillaart/HC4067/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/HC4067/actions/workflows/jsoncheck.yml)
|
||||||
|
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/HC4067.svg)](https://github.com/RobTillaart/HC4067/issues)
|
||||||
|
|
||||||
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/HC4067/blob/master/LICENSE)
|
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/HC4067/blob/master/LICENSE)
|
||||||
[![GitHub release](https://img.shields.io/github/release/RobTillaart/HC4067.svg?maxAge=3600)](https://github.com/RobTillaart/HC4067/releases)
|
[![GitHub release](https://img.shields.io/github/release/RobTillaart/HC4067.svg?maxAge=3600)](https://github.com/RobTillaart/HC4067/releases)
|
||||||
|
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/HC4067.svg)](https://registry.platformio.org/libraries/robtillaart/HC4067)
|
||||||
|
|
||||||
|
|
||||||
# HC4067
|
# HC4067
|
||||||
|
|
||||||
HC4067 is an Arduino library for a HC4067 16 channel multiplexer.
|
HC4067 is an Arduino library for a HC4067 1 x 16 channel multiplexer.
|
||||||
|
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
@ -31,6 +34,14 @@ Not tested, considered compatible.
|
|||||||
- CD74HC4067, 74HC4067, 74HCT4067
|
- CD74HC4067, 74HC4067, 74HCT4067
|
||||||
|
|
||||||
|
|
||||||
|
#### Related
|
||||||
|
|
||||||
|
- https://github.com/RobTillaart/HC4051 (1x8 mux)
|
||||||
|
- https://github.com/RobTillaart/HC4052 (2x4 mux)
|
||||||
|
- https://github.com/RobTillaart/HC4053 (3x2 mux)
|
||||||
|
- https://github.com/RobTillaart/HC4067 (1x16 mux)
|
||||||
|
|
||||||
|
|
||||||
## Hardware connection
|
## Hardware connection
|
||||||
|
|
||||||
Typical connection is to connect the four **select pins** to four IO Pins of your board.
|
Typical connection is to connect the four **select pins** to four IO Pins of your board.
|
||||||
@ -123,3 +134,12 @@ Also returns true if enablePin is not set.
|
|||||||
- only do digitalWrite when changed? gain is minimal.
|
- only do digitalWrite when changed? gain is minimal.
|
||||||
- now takes 24 micros on UNO if set.
|
- now takes 24 micros on UNO if set.
|
||||||
|
|
||||||
|
|
||||||
|
## 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,
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "HC4067",
|
"name": "HC4067",
|
||||||
"keywords": "CD74HC4067,74HC4067,74HCT4067",
|
"keywords": "CD74HC4067,74HC4067,74HCT4067",
|
||||||
"description": "Arduino library for a HC4067 16 channel multiplexer.",
|
"description": "Arduino library for a HC4067 1 x 16 channel multiplexer.",
|
||||||
"authors":
|
"authors":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@ -15,9 +15,9 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/RobTillaart/HC4067.git"
|
"url": "https://github.com/RobTillaart/HC4067.git"
|
||||||
},
|
},
|
||||||
"version": "0.1.1",
|
"version": "0.1.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"frameworks": "arduino",
|
"frameworks": "*",
|
||||||
"platforms": "*",
|
"platforms": "*",
|
||||||
"headers": "HC4067.h"
|
"headers": "HC4067.h"
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
name=HC4067
|
name=HC4067
|
||||||
version=0.1.1
|
version=0.1.2
|
||||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||||
sentence=Arduino library for a HC4067 16 channel multiplexer
|
sentence=Arduino library for a HC4067 1 x 16 channel multiplexer
|
||||||
paragraph=CD74HC4067,74HC4067,74HCT4067
|
paragraph=CD74HC4067,74HC4067,74HCT4067
|
||||||
category=Sensors
|
category=Sensors
|
||||||
url=https://github.com/RobTillaart/HC4067
|
url=https://github.com/RobTillaart/HC4067
|
||||||
|
Loading…
x
Reference in New Issue
Block a user