0.2.2 MCP_POT

This commit is contained in:
Rob Tillaart 2024-06-05 19:01:37 +02:00
parent 06341881fc
commit c0ce4daea3
5 changed files with 12 additions and 6 deletions

View File

@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.2.2] - 2024-06-05
- add support for ARDUINO_ARCH_MBED
## [0.2.1] - 2024-04-25
- add examples
- **MCP_POT_performance.ino** measure setValue() at various SPI speeds

View File

@ -1,7 +1,7 @@
//
// FILE: MCP_POT.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// VERSION: 0.2.2
// DATE: 2023-12-21
// PURPOSE: Arduino library for MCP41xxx and MCP42xxx SPI based digital potentiometers.
// URL: https://github.com/RobTillaart/MCP_POT

View File

@ -2,7 +2,7 @@
//
// FILE: MCP_POT.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// VERSION: 0.2.2
// DATE: 2023-12-21
// PURPOSE: Arduino library for MCP41xxx and MCP42xxx SPI based digital potentiometers.
// URL: https://github.com/RobTillaart/MCP_POT
@ -12,7 +12,7 @@
#include "SPI.h"
#define MCP_POT_LIB_VERSION (F("0.2.1"))
#define MCP_POT_LIB_VERSION (F("0.2.2"))
#ifndef MCP_POT_MIDDLE_VALUE
#define MCP_POT_MIDDLE_VALUE 128
@ -24,7 +24,10 @@
#ifndef __SPI_CLASS__
#if defined(ARDUINO_ARCH_RP2040)
// MBED must be tested before RP2040
#if defined(ARDUINO_ARCH_MBED)
#define __SPI_CLASS__ SPIClass
#elif defined(ARDUINO_ARCH_RP2040)
#define __SPI_CLASS__ SPIClassRP2040
#else
#define __SPI_CLASS__ SPIClass

View File

@ -15,7 +15,7 @@
"type": "git",
"url": "https://github.com/RobTillaart/MCP_POT.git"
},
"version": "0.2.1",
"version": "0.2.2",
"license": "MIT",
"frameworks": "*",
"platforms": "*",

View File

@ -1,5 +1,5 @@
name=MCP_POT
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 MCP41xxx and MCP42xxx SPI based digital potentiometers.