Skip to content

Commit c79733f

Browse files
committed
Housekeeping and closes #5 FrequencyOfOneSample overflow
1 parent 6549d75 commit c79733f

20 files changed

+903
-568
lines changed

.github/workflows/LibraryBuildWithAction.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ jobs:
6565
uses: actions/checkout@master
6666

6767
- name: Checkout master version of ATtinySerialOut
68-
uses: actions/checkout@v3
68+
uses: actions/checkout@master
6969
with:
7070
repository: ArminJo/ATtinySerialOut
7171
ref: master
7272
path: CustomLibrary # must contain string "Custom"
7373

7474
# - name: Checkout second custom library # This name must be different from th one above
75-
# uses: actions/checkout@v3
75+
# uses: actions/checkout@master
7676
# with:
7777
# repository: ArminJo/Arduino-Utils
7878
# ref: master
@@ -85,4 +85,3 @@ jobs:
8585
required-libraries: ${{ env.REQUIRED_LIBRARIES }}
8686
platform-url: ${{ matrix.platform-url }}
8787
sketches-exclude: ${{ matrix.sketches-exclude }}
88-
cli-version: 0.33.0 # to avoid errors for ATTinyCore

.github/workflows/LibraryBuildWithScript.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- arduino:avr:uno
4747
- arduino:avr:uno|All-DEBUG
4848
- digistump:avr:digispark-tiny:clock=clock1
49-
- ATTinyCore:avr:attinyx5:chip=85,clock=1internal
49+
# - ATTinyCore:avr:attinyx5:chip=85,clock=1internal
5050

5151
# Specify parameters for each board.
5252
# With sketches-exclude you may exclude specific examples for a board. Use a comma separated list.
@@ -60,13 +60,13 @@ jobs:
6060

6161
- arduino-boards-fqbn: digistump:avr:digispark-tiny:clock=clock1 # ATtiny85 board @1 MHz
6262
platform-url: https://raw.githubusercontent.com/ArminJo/DigistumpArduino/master/package_digistump_index.json
63-
sketch-names: SimpleFrequencyDetector.ino,50Hz # Comma separated list of sketch names (no path required) or patterns to use in build
63+
sketch-names: SimpleFrequencyDetector.ino,50Hz.ino # Comma separated list of sketch names (without path, but with extension) or patterns to use in build
6464
build-properties:
6565
All: -DINFO
6666
# WhistleSwitch: is 6 bytes too big :-(
6767

68-
- arduino-boards-fqbn: ATTinyCore:avr:attinyx5:chip=85,clock=1internal
69-
platform-url: http://drazzy.com/package_drazzy.com_index.json
68+
# - arduino-boards-fqbn: ATTinyCore:avr:attinyx5:chip=85,clock=1internal
69+
# platform-url: http://drazzy.com/package_drazzy.com_index.json
7070

7171
# Do not cancel all jobs / architectures if one job fails
7272
fail-fast: false
@@ -83,7 +83,7 @@ jobs:
8383
path: CustomLibrary # must contain string "Custom"
8484

8585
# - name: Checkout second custom library # This name must be different from th one above
86-
# uses: actions/checkout@v3
86+
# uses: actions/checkout@vmaster
8787
# with:
8888
# repository: ArminJo/Arduino-Utils
8989
# ref: master
@@ -97,12 +97,11 @@ jobs:
9797
ENV_PLATFORM_URL: ${{ matrix.platform-url }}
9898
ENV_REQUIRED_LIBRARIES: ${{ env.REQUIRED_LIBRARIES }} # is empty here
9999
ENV_SKETCHES_EXCLUDE: ${{ matrix.sketches-exclude }}
100-
ENV_BUILD_PROPERTIES: ${{ toJson(matrix.build-properties) }}
100+
ENV_BUILD_PROPERTIES: -DDEBUG,-DINFO # is converted to '{ "All": "-DDEBUG -DINFO" }'
101101
ENV_SKETCH_NAMES: ${{ matrix.sketch-names }}
102102
ENV_SKETCH_NAMES_FIND_START: .
103103
ENV_DEBUG_INSTALL: true
104104
ENV_DEBUG_COMPILE: true
105-
ENV_CLI_VERSION: 0.33.0 # to avoid errors for ATTinyCore
106105

107106
run: |
108107
wget --quiet https://raw.githubusercontent.com/ArminJo/arduino-test-compile/master/arduino-test-compile.sh

.github/workflows/PlatformIoPublish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,3 @@ jobs:
4040
# run: |
4141
# pio package pack
4242
# pio package publish --owner arminjo --non-interactive
43-

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Available as [Arduino library "Arduino-FrequencyDetector"](https://www.arduinoli
2323

2424
[![Button Install](https://img.shields.io/badge/Install-brightgreen?logoColor=white&logo=GitBook)](https://www.ardu-badge.com/Arduino-FrequencyDetector)
2525
   
26-
[![Button Changelog](https://img.shields.io/badge/Changelog-blue?logoColor=white&logo=AzureArtifacts)](https://github.com/ArminJo/Arduino-FrequencyDetector#revision-history)
26+
[![Button Changelog](https://img.shields.io/badge/Changelog-blue?logoColor=white&logo=AzureArtifacts)](https://github.com/ArminJo/Arduino-FrequencyDetector?tab=readme-ov-file#revision-history)
2727

2828
</div>
2929

@@ -79,6 +79,7 @@ Modify them by enabling / disabling them, or change the values if applicable.
7979
| Name | Default value | Description |
8080
|-|-:|-|
8181
| `PRINT_INPUT_SIGNAL_TO_PLOTTER` | disabled | Signal input data is stored and can be printed together with trigger levels using `printInputSignalValuesForArduinoPlotter()` like in the *SimpleFrequencyDetector* example to implement a simple digital oscilloscope using the Arduino 1.x Serial Plotter. |
82+
| `ADC_PRESCALE_VALUE_IS_NOT_CONSTANT` | disabled | Enable if you do not use the constant `PRESCALE_VALUE_DEFAULT` for parameter ADCPrescalerValue in the call of `setFrequencyDetectorReadingValues()` or `setFrequencyDetectorReadingPrescaleValue()`. |
8283

8384
### Arduino Plotter output of SimpleFrequencyDetector example with PRINT_INPUT_SIGNAL_TO_PLOTTER enabled
8485
![Arduino Plotter output of SimpleFrequencyDetector example with `PRINT_INPUT_SIGNAL_TO_PLOTTER` enabled](https://github.com/ArminJo/Arduino-FrequencyDetector/blob/master/extras/SimpleFrequencyDetectorPlotterOutput.png)

0 commit comments

Comments
 (0)