Skip to content

Commit cd25041

Browse files
committed
update github actions
1 parent 6c5a0f4 commit cd25041

12 files changed

Lines changed: 25 additions & 14 deletions

File tree

.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

.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

.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:

AsyncAnalog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// FILE: AsyncAnalog.cpp
33
// AUTHOR: Rob Tillaart
4-
// VERSION: 0.2.0
4+
// VERSION: 0.2.1
55
// DATE: 2018-09-05
66
// PURPOSE: Async version of analogRead, prevent blocking wait
77
// URL: https://github.com/RobTillaart/AsyncAnalog

AsyncAnalog.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
//
33
// FILE: AsyncAnalog.h
44
// AUTHOR: Rob Tillaart
5-
// VERSION: 0.2.0
5+
// VERSION: 0.2.1
66
// DATE: 2018-09-05
77
// PURPOSE: Async version of analogRead for AVR
88
// URL: https://github.com/RobTillaart/AsyncAnalog
99

1010

11-
#define ASYNCANALOG_LIB_VERSION (F("0.2.0"))
11+
#define ASYNCANALOG_LIB_VERSION (F("0.2.1"))
1212

1313

1414
#if defined(ARDUINO_ARCH_AVR)

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-08-19
10+
- update GitHub actions
11+
12+
913
## [0.2.0] - 2024-04-06
1014
- change behaviour
1115
- cache lastValue as calculated by **ready()**

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) 2018-2024 Rob Tillaart
3+
Copyright (c) 2018-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

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ in async way simultaneously. Still it offers to about 100 micros to do something
3333
**Use with care**
3434

3535

36-
#### Related
36+
### Related
3737

3838
- https://github.com/RobTillaart/AnalogPin
3939

@@ -44,7 +44,12 @@ in async way simultaneously. Still it offers to about 100 micros to do something
4444
#include "AsynAnalog,h"
4545
```
4646

47+
### Constructor
48+
4749
- **AsyncAnalog(uint8_t pin)** constructor, defines the analogue pin to use.
50+
51+
### Async API
52+
4853
- **void start()** triggers a new ADC measurement.
4954
- **bool ready()** Checks if the measurement is completed.
5055
If so the value is calculated and cached for **value()**.

examples/asyncAnalogTest/asyncAnalogTest.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// FILE: asyncAnalogTest.ino
33
// AUTHOR: Rob Tillaart
44
// PURPOSE: demo
5-
5+
// URL: https://github.com/RobTillaart/AsyncAnalog
66

77
#include "AsyncAnalog.h"
88

examples/asyncAnalogTest2/asyncAnalogTest2.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// FILE: asyncAnalogTest2.ino
33
// AUTHOR: Rob Tillaart
44
// PURPOSE: demo async is faster on AVR
5-
5+
// URL: https://github.com/RobTillaart/AsyncAnalog
66

77
#include "AsyncAnalog.h"
88

@@ -78,4 +78,4 @@ void async_test()
7878
}
7979

8080

81-
// -- END OF FILE --
81+
// -- END OF FILE --

0 commit comments

Comments
 (0)