Skip to content

Commit 56e39e9

Browse files
committed
0.3.1 Cozir
1 parent 57db4b7 commit 56e39e9

File tree

7 files changed

+25
-13
lines changed

7 files changed

+25
-13
lines changed

libraries/Cozir/.arduino-ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ compile:
22
# Choosing to run compilation tests on 2 different Arduino platforms
33
platforms:
44
- uno
5-
- leonardo
6-
- due
7-
- zero
5+
# - due
6+
# - zero
7+
# - leonardo
8+
- m4
9+
- esp32
10+
# - esp8266
11+
# - mega2560

libraries/Cozir/.github/workflows/arduino_test_runner.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ name: Arduino CI
44
on: [push, pull_request]
55

66
jobs:
7-
arduino_ci:
7+
runTest:
88
runs-on: ubuntu-latest
99

1010
steps:
1111
- uses: actions/checkout@v2
12-
- uses: Arduino-CI/action@master
13-
# Arduino-CI/[email protected]
12+
- uses: ruby/setup-ruby@v1
13+
with:
14+
ruby-version: 2.6
15+
- run: |
16+
gem install arduino_ci
17+
arduino_ci.rb

libraries/Cozir/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

22
[![Arduino CI](https://github.com/RobTillaart/Cozir/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
3+
[![Arduino-lint](https://github.com/RobTillaart/Cozir/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/Cozir/actions/workflows/arduino-lint.yml)
4+
[![JSON check](https://github.com/RobTillaart/Cozir/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/Cozir/actions/workflows/jsoncheck.yml)
35
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/Cozir/blob/master/LICENSE)
46
[![GitHub release](https://img.shields.io/github/release/RobTillaart/Cozir.svg?maxAge=3600)](https://github.com/RobTillaart/Cozir/releases)
57

@@ -20,6 +22,7 @@ Idea is to make the interface identical if possible.
2022

2123

2224
#### Notes
25+
2326
- the **CozirDemoHWSerial.ino** example needs to run on a MEGA or a Teensy,
2427
at least a board with more than one Serial port.
2528
- Read the datasheet before using this library.
@@ -79,8 +82,8 @@ Read datasheet before using these functions:
7982

8083
use with care, read datasheet before use.
8184

82-
| value | meaning |
83-
|:-----:|:--------|
85+
| value | meaning |
86+
|:-----:|:--------------------------------|
8487
| 0 | Special, see datasheet page ... |
8588
| 1 | fast, but can be noisy |
8689
| 32 | default, good average |

libraries/Cozir/cozir.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
//
22
// FILE: Cozir.cpp
33
// AUTHOR: DirtGambit & Rob Tillaart
4-
// VERSION: 0.3.0
4+
// VERSION: 0.3.1
55
// PURPOSE: library for COZIR range of sensors for Arduino
66
// Polling Mode
77
// URL: https://github.com/RobTillaart/Cozir
88
// http://forum.arduino.cc/index.php?topic=91467.0
99
//
1010
// HISTORY:
11+
// 0.3.1 2021-10-20 update Arduino-CI, badges in readme.md
1112
// 0.3.0 2021-08-08 Major update - breaks interface (names mainly)
1213
// add isInitialized(), add getOperatingMode(),
1314
// add getOutputFields(), add inOutputFields(),

libraries/Cozir/cozir.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// FILE: Cozir.h
44
// AUTHOR: DirtGambit & Rob Tillaart
5-
// VERSION: 0.3.0
5+
// VERSION: 0.3.1
66
// PURPOSE: library for COZIR range of sensors for Arduino
77
// Polling Mode
88
// URL: https://github.com/RobTillaart/Cozir
@@ -15,7 +15,7 @@
1515
#include "Arduino.h"
1616

1717

18-
#define COZIR_LIB_VERSION (F("0.3.0"))
18+
#define COZIR_LIB_VERSION (F("0.3.1"))
1919

2020

2121
// OUTPUTFIELDS

libraries/Cozir/library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"type": "git",
1919
"url": "https://github.com/RobTillaart/Cozir.git"
2020
},
21-
"version": "0.3.0",
21+
"version": "0.3.1",
2222
"license": "MIT",
2323
"frameworks": "arduino",
2424
"platforms": "*"

libraries/Cozir/library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Cozir
2-
version=0.3.0
2+
version=0.3.1
33
author=Rob Tillaart <[email protected]>, DirtGambit
44
maintainer=Rob Tillaart <[email protected]>
55
sentence=Arduino library for COZIR range of CO2 sensors. Polling mode only.

0 commit comments

Comments
 (0)