0.3.1 AD5144A

This commit is contained in:
Rob Tillaart 2024-01-29 13:32:58 +01:00
parent 3af964c1e6
commit 06c760e718
10 changed files with 31 additions and 10 deletions

View File

@ -1,7 +1,7 @@
//
// FILE: AD5144A.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// VERSION: 0.3.1
// PURPOSE: I2C digital potentiometer AD5144A
// DATE: 2021-04-30
// URL: https://github.com/RobTillaart/AD5144A

View File

@ -2,7 +2,7 @@
//
// FILE: AD5144A.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// VERSION: 0.3.1
// PURPOSE: I2C digital PotentioMeter AD5144A
// DATE: 2021-04-30
// URL: https://github.com/RobTillaart/AD5144A
@ -14,7 +14,7 @@
#include "Wire.h"
#define AD51XXA_VERSION (F("0.3.0"))
#define AD51XXA_VERSION (F("0.3.1"))
#define AD51XXA_OK 0

View File

@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.3.1] - 2024-01-25
- update readme.md (multiplexer)
## [0.3.0] - 2023-11-24.
- simplify **begin()**, remove setting Wire pins from library.
- add **getAddress()**

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2021-2023 Rob Tillaart
Copyright (c) 2021-2024 Rob Tillaart
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -83,6 +83,24 @@ Typical 0x28, 0x2A or 0x2B.
The AD5144A devices support standard 100 kHz, and fast 400 kHz, data transfer modes.
#### I2C multiplexing
Sometimes you need to control more devices than possible with the default
address range the device provides.
This is possible with an I2C multiplexer e.g. TCA9548 which creates up
to eight channels (think of it as I2C subnets) which can use the complete
address range of the device.
Drawback of using a multiplexer is that it takes more administration in
your code e.g. which device is on which channel.
This will slow down the access, which must be taken into account when
deciding which devices are on which channel.
Also note that switching between channels will slow down other devices
too if they are behind the multiplexer.
- https://github.com/RobTillaart/TCA9548
## Interface
The library has a number of functions which are all quite straightforward.

View File

@ -2,7 +2,6 @@
// FILE: AD5144A_test_preload_sync.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// DATE: 2021-05-04
// URL: https://github.com/RobTillaart/AD5144A

View File

@ -15,7 +15,7 @@
"type": "git",
"url": "https://github.com/RobTillaart/AD5144A.git"
},
"version": "0.3.0",
"version": "0.3.1",
"license": "MIT",
"frameworks": "arduino",
"platforms": "*",

View File

@ -1,5 +1,5 @@
name=AD5144A
version=0.3.0
version=0.3.1
author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Arduino Library for AD5144A 4 Channel digital potentiometer.