Skip to content

Commit 0574697

Browse files
committed
0.2.1 Vibration
1 parent 16997bb commit 0574697

File tree

13 files changed

+22
-11
lines changed

13 files changed

+22
-11
lines changed

libraries/Vibration/.github/workflows/arduino-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ jobs:
66
runs-on: ubuntu-latest
77
timeout-minutes: 5
88
steps:
9-
- uses: actions/checkout@v4
10-
- uses: arduino/arduino-lint-action@v1
9+
- uses: actions/checkout@v5
10+
- uses: arduino/arduino-lint-action@v2
1111
with:
1212
library-manager: update
1313
compliance: strict

libraries/Vibration/.github/workflows/arduino_test_runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
timeout-minutes: 20
99

1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@v5
1212
- uses: ruby/setup-ruby@v1
1313
with:
1414
ruby-version: 2.6

libraries/Vibration/.github/workflows/jsoncheck.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ on:
55
paths:
66
- '**.json'
77
pull_request:
8+
paths:
9+
- '**.json'
810

911
jobs:
1012
test:
1113
runs-on: ubuntu-latest
1214
timeout-minutes: 5
1315
steps:
14-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1517
- name: json-syntax-check
1618
uses: limitusus/json-syntax-check@v2
1719
with:

libraries/Vibration/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88

9+
## [0.2.1] - 2025-11-26
10+
- update GitHub actions
11+
- minor edits
12+
913
## [0.2.0] - 2024-10-07
1014
- redo API 0.2.0
1115
- update readme.md

libraries/Vibration/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024-2024 Rob Tillaart
3+
Copyright (c) 2024-2025 Rob Tillaart
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

libraries/Vibration/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ This allows measuring a first order (relative) magnitude of a vibration.
3838
The different functions of the library might fit more (or less) to your needs.
3939
If functionality is missing, please open an issue.
4040

41+
As always, feedback is welcome.
42+
4143

4244
### Schema
4345

libraries/Vibration/Vibration.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
//
33
// FILE: Vibration.h
44
// AUTHOR: Rob Tillaart
5-
// VERSION: 0.2.0
5+
// VERSION: 0.2.1
66
// DATE: 2024-04-24
77
// PURPOSE: Arduino library for a vibration / tilt sensor e.g. SW-420, SW-18010P.
88
// URL: https://github.com/RobTillaart/Vibration
99

1010

1111
#include "Arduino.h"
1212

13-
#define VIBRATION_LIB_VERSION (F("0.2.0"))
13+
#define VIBRATION_LIB_VERSION (F("0.2.1"))
1414

1515

1616
class VibrationSensor
@@ -29,7 +29,7 @@ class VibrationSensor
2929

3030
bool begin()
3131
{
32-
// what to do here?
32+
// what to do here?
3333
return true;
3434
}
3535

libraries/Vibration/examples/Vibration_average/Vibration_average.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
VibrationSensor VBS(A0);
1111

12+
1213
void setup()
1314
{
1415
Serial.begin(115200);

libraries/Vibration/examples/Vibration_average_no_reset/Vibration_average_no_reset.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
VibrationSensor VBS(A0);
1313

14+
1415
void setup()
1516
{
1617
Serial.begin(115200);

libraries/Vibration/examples/Vibration_maxValue/Vibration_maxValue.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
VibrationSensor VBS(A0);
1111

12+
1213
void setup()
1314
{
1415
Serial.begin(115200);

0 commit comments

Comments
 (0)