0.3.2 hmc6352

This commit is contained in:
rob tillaart 2022-11-09 14:34:02 +01:00
parent 2605eef54b
commit 56515b4375
6 changed files with 75 additions and 15 deletions

View File

@ -1,3 +1,18 @@
platforms:
rpipico:
board: rp2040:rp2040:rpipico
package: rp2040:rp2040
gcc:
features:
defines:
- ARDUINO_ARCH_RP2040
warnings:
flags:
packages:
rp2040:rp2040:
url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
compile: compile:
# Choosing to run compilation tests on 2 different Arduino platforms # Choosing to run compilation tests on 2 different Arduino platforms
platforms: platforms:
@ -9,3 +24,6 @@ compile:
- esp32 - esp32
# - esp8266 # - esp8266
# - mega2560 # - mega2560
- rpipico
libraries:
- "printHelpers"

View File

@ -0,0 +1,51 @@
# Change Log HMC6532
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.3.2] - 2022-11-09
- add changelog.md
- add rp2040 to build-CI
- update readme.md
## [0.3.1] - 2021-12-19
- update library.json
- update license
- minor edits
## [0.3.0] - 2021-06-07
- add multi-Wire interface
- refactor
----
## [0.2.1] - 2020-12-28
- Arduino-CI + unit test
## [0.2.0] - 2020-06-12
- remove pre1.0 support
- main refactor
----
## [0.1.4 2017-09-13
- minor refactor
## [0.1.03 - 2011-04-13
- fixed small things
- added getHeading()
## [0.1.02 - 2011-04-12
- add timing
- fix a bug
## [0.1.01 - 2011-04-09
- quite a complete redo
## [0.1.00 - 2011-04-07
- initial version

View File

@ -1,19 +1,10 @@
// //
// FILE: hmc6352.cpp // FILE: hmc6352.cpp
// AUTHOR: Rob Tillaart // AUTHOR: Rob Tillaart
// VERSION: 0.3.1 // VERSION: 0.3.2
// PURPOSE: Arduino library for HMC6352 digital compass sensor // PURPOSE: Arduino library for HMC6352 digital compass sensor
// //
// HISTORY: // HISTORY: see changelog.md
// 0.1.00 2011-04-07 initial version
// 0.1.01 2011-04-09 quite a complete redo
// 0.1.02 2011-04-12 added timing, fixed a bug
// 0.1.03 2011-04-13 fixed small things; added getHeading()
// 0.1.4 2017-09-13 minor refactor
// 0.2.0 2020-06-12 remove pre1.0 support, main refactor
// 0.2.1 2020-12-28 Arduino-CI + unit test
// 0.3.0 2021-06-07 add multi-Wire interface + refactor
// 0.3.1 2021-12-19 update library.json, license, minor edits
#include "hmc6352.h" #include "hmc6352.h"

View File

@ -2,7 +2,7 @@
// //
// FILE: hmc6352.h // FILE: hmc6352.h
// AUTHOR: Rob Tillaart // AUTHOR: Rob Tillaart
// VERSION: 0.3.1 // VERSION: 0.3.2
// PURPOSE: HMC6352 library for Arduino // PURPOSE: HMC6352 library for Arduino
@ -10,7 +10,7 @@
#include "Arduino.h" #include "Arduino.h"
#define HMC6352_LIB_VERSION (F("0.3.1")) #define HMC6352_LIB_VERSION (F("0.3.2"))
// status function calls // status function calls
#define HMC6532_OK 0 #define HMC6532_OK 0

View File

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

View File

@ -1,5 +1,5 @@
name=HMC6352 name=HMC6352
version=0.3.1 version=0.3.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=Experimental Arduino library for HMC6352 digital compass sensor sentence=Experimental Arduino library for HMC6352 digital compass sensor