Skip to content

Commit b6b9f03

Browse files
committed
Move repo to JSC TechMinds
1 parent 563e539 commit b6b9f03

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+123
-108
lines changed

.github/workflows/arduino_ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
- uses: Arduino-CI/[email protected]

.github/workflows/doxygen.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@ on:
99
jobs:
1010
deploy:
1111
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
1214
steps:
13-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1416
with:
1517
fetch-depth: 0
1618

1719
- name: Build
18-
uses: mattnotmitt/[email protected].5
20+
uses: mattnotmitt/[email protected].8
1921
with:
2022
doxyfile-path: 'docs/Doxyfile'
2123

2224
- name: Deploy
23-
uses: peaceiris/actions-gh-pages@v3
25+
uses: peaceiris/actions-gh-pages@v4
2426
with:
2527
github_token: ${{ secrets.GITHUB_TOKEN }}
2628
publish_dir: ./docs/html

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
5555
## Enforcement
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at info@jsc-electronics.cz. All
58+
reported by contacting the project team at development@jsctm.cz. All
5959
complaints will be reviewed and investigated and will result in a response that
6060
is deemed necessary and appropriate to the circumstances. The project team is
6161
obligated to maintain confidentiality with regard to the reporter of an incident.

CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Thanks for your interest in contributing to this free open source project! We ap
33

44
## Issues
55
- Do you need help or have a question about using Arduino? Support requests should be made to the appropriate section of the [Arduino forum](http://forum.arduino.cc) rather than an issue report. **Issue reports are to be used to report bugs or make feature requests only.**
6-
- Search [existing pull requests and issues](https://github.com/JSC-electronics/ObjectButton/issues?q=) to be sure it hasn't already been reported. If you have additional information to provide about an existing issue then please comment on that issue.
6+
- Search [existing pull requests and issues](https://github.com/JSC-TechMinds/ObjectButton/issues?q=) to be sure it hasn't already been reported. If you have additional information to provide about an existing issue then please comment on that issue.
77
- State the newest version of the Arduino IDE you have verified the issue with and which operating system you are using.
88
- If you are using this library on PlatformIO, report version of PlatformIO Core and which operating system you are using.
99
- The issue title should be concise yet descriptive. Vague titles make it difficult to know the purpose of the issue when looking through the list of reports and may cause your issue to not be given proper attention.
@@ -13,7 +13,7 @@ Thanks for your interest in contributing to this free open source project! We ap
1313
- If you find a solution to your problem update your issue report with an explanation of how you were able to fix it and close the issue.
1414

1515
## Pull Requests
16-
- Search [existing pull requests](https://github.com/JSC-electronics/ObjectButton/pulls?q=) to see if one has already been submitted for this change. Search the [issues](https://github.com/JSC-electronics/ObjectButton/issues?q=is%3Aissue) to see if there has been a discussion on this topic and whether your pull request can close any issues.
16+
- Search [existing pull requests](https://github.com/JSC-TechMinds/ObjectButton/pulls?q=) to see if one has already been submitted for this change. Search the [issues](https://github.com/JSC-TechMinds/ObjectButton/issues?q=is%3Aissue) to see if there has been a discussion on this topic and whether your pull request can close any issues.
1717
- Code formatting should be consistent with the style used in the existing code.
1818
- Don't leave commented out code. A record of this code is already preserved in the commit history.
1919
- All commits must be atomic. This means that the commit completely accomplishes a single task. Each commit should result in fully functional code. Multiple tasks should not be combined in a single commit, but a single task should not be split over multiple commits (e.g. one commit per file modified is not a good practice). For more information see http://www.freshconsulting.com/atomic-commits.
@@ -29,7 +29,7 @@ Thanks for your interest in contributing to this free open source project! We ap
2929
- Rebasing pull requests is OK and encouraged. After submitting your pull request some changes may be requested. Rather than adding unnecessary extra commits to the pull request, you can squash these changes into the existing commit and then do a force push to your fork. When you do a force push to your fork, the PR will be updated with your new changes, so there is no need to open a new PR to make changes. Leave a comment on the pull request thread to explain that the history has been changed. This will help to keep the commit history of the repository clean.
3030
- Make sure your change does not break existing unit tests (see below for more details).
3131
- After your pull request is merged please update the documentation if the changes require it:
32-
- Edit appropriate [Wiki pages](https://github.com/JSC-electronics/ObjectButton/wiki).
32+
- Edit appropriate [Wiki pages](https://github.com/JSC-TechMinds/ObjectButton/wiki).
3333

3434
## Testing the code
3535
This library uses [Arduino CI](https://github.com/ianfixes/arduino_ci) as a unit test framework. When you create a pull request, your code will be tested against existing test cases. Sometimes it may be useful to test the code locally to save time. Please follow the instructions on Arduino CI page.
@@ -43,7 +43,7 @@ Requirements to build and run the unit tests:
4343
### Setup
4444
Clone ObjectButton git repository:
4545
```bash
46-
git clone [email protected]:JSC-electronics/ObjectButton.git
46+
git clone [email protected]:JSC-TechMinds/ObjectButton.git
4747
```
4848

4949
Install Ruby dependencies:

README.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# ObjectButton
2-
[![Arduino_CI](https://github.com/JSC-electronics/ObjectButton/actions/workflows/arduino_ci.yml/badge.svg)](https://github.com/JSC-electronics/ObjectButton/actions/workflows/arduino_ci.yml)
3-
[![Documentation](https://github.com/JSC-electronics/ObjectButton/actions/workflows/doxygen.yml/badge.svg)](https://github.com/JSC-electronics/ObjectButton/actions/workflows/doxygen.yml)
4-
[![License: Apache 2.0](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://github.com/JSC-electronics/ObjectButton/blob/master/LICENSE)
5-
[![GitHub release](https://img.shields.io/github/release/JSC-electronics/ObjectButton.svg?maxAge=3600)](https://github.com/JSC-electronics/ObjectButton/releases)
6-
[![JSC electronics](https://img.shields.io/badge/JSC-electronics-green.svg)](https://www.jsce.cz/)
2+
[![Arduino_CI](https://github.com/JSC-TechMinds/ObjectButton/actions/workflows/arduino_ci.yml/badge.svg)](https://github.com/JSC-TechMinds/ObjectButton/actions/workflows/arduino_ci.yml)
3+
[![Documentation](https://github.com/JSC-TechMinds/ObjectButton/actions/workflows/doxygen.yml/badge.svg)](https://github.com/JSC-TechMinds/ObjectButton/actions/workflows/doxygen.yml)
4+
[![License: Apache 2.0](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://github.com/JSC-TechMinds/ObjectButton/blob/main/LICENSE)
5+
[![GitHub release](https://img.shields.io/github/release/JSC-TechMinds/ObjectButton.svg?maxAge=3600)](https://github.com/JSC-TechMinds/ObjectButton/releases)
6+
[![JSC TechMinds](https://img.shields.io/badge/JSC-TechMinds-green.svg)](https://www.jsctm.cz/)
77
[![Donate](https://img.shields.io/badge/donate-PayPal-blueviolet.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SESX9ABM7V8KA&source=url)
88

99
ObjectButton is an Arduino library for detecting common button actions. Because of it, you can map different functions into a single button, i.e. turn on the light on a button click and play an alarm sound on double-click.
@@ -63,15 +63,15 @@ This library comes with reasonable defaults for detecting all the actions. Howev
6363
## Contributing
6464
There are many ways in which you can participate in the project, for example:
6565

66-
* [Submit bugs and feature requests](https://github.com/JSC-electronics/ObjectButton/issues), and help us verify as they are checked in
67-
* Review [source code changes](https://github.com/JSC-electronics/ObjectButton/pulls)
68-
* Review the [documentation](https://github.com/JSC-electronics/ObjectButton/wiki) and make pull requests for anything from typos to new content
66+
* [Submit bugs and feature requests](https://github.com/JSC-TechMinds/ObjectButton/issues), and help us verify as they are checked in
67+
* Review [source code changes](https://github.com/JSC-TechMinds/ObjectButton/pulls)
68+
* Review the [documentation](https://github.com/JSC-TechMinds/ObjectButton/wiki) and make pull requests for anything from typos to new content
6969

7070
Please read [contributing rules](CONTRIBUTING.md) for more details.
7171

7272
## License
7373

74-
Copyright (c) JSC electronics. All rights reserved.
74+
Copyright (c) JSC TechMinds. All rights reserved.
7575

7676
Licensed under the [Apache-2.0](LICENSE) license.
7777

@@ -85,5 +85,5 @@ We hope our library helped to speed up your project development. You can support
8585
[OneButton]: https://github.com/mathertel/OneButton
8686
[so-object-member]: https://stackoverflow.com/questions/8865766/get-a-pointer-to-objects-member-function
8787
[android-listener]: https://developer.android.com/reference/android/view/View.OnClickListener
88-
[object-button-wiki]: https://github.com/JSC-electronics/ObjectButton/wiki
89-
[object-button-doxygen]: https://jsc-electronics.github.io/ObjectButton
88+
[object-button-wiki]: https://github.com/JSC-TechMinds/ObjectButton/wiki
89+
[object-button-doxygen]: https://JSC-TechMinds.github.io/ObjectButton

docs/ObjectButton_DoxygenMainPage.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* See the documentation of the main class, ObjectButton, or browse the modules
55
* and examples using the sidebar on the left.
66
*
7-
* The latest development version is available on [GitHub](https://github.com/JSC-electronics/ObjectButton).
7+
* The latest development version is available on [GitHub](https://github.com/JSC-TechMinds/ObjectButton).
88
*/
99

1010
/**

examples/AnalogButtonToggleLedOnClick/AnalogButtonToggleLedOnClick.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
* This sketch demonstrates using ObjectButton library with single analog button,
55
* which will turn built-in LED on or off after being clicked.
66
*
7-
* ObjectButton library: https://github.com/JSC-electronics/ObjectButton
7+
* ObjectButton library: https://github.com/JSC-TechMinds/ObjectButton
88
*
9-
* Copyright © JSC electronics
9+
* Copyright © JSC TechMinds
1010
*
1111
* Licensed under the Apache License, Version 2.0 (the "License");
1212
* you may not use this file except in compliance with the License.

examples/AnalogSensorToggleLedOnDetect/AnalogSensorToggleLedOnDetect.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
* This sketch demonstrates using ObjectButton library with single analog sensor,
55
* which will turn built-in LED on or off after some motion is being detected.
66
*
7-
* ObjectButton library: https://github.com/JSC-electronics/ObjectButton
7+
* ObjectButton library: https://github.com/JSC-TechMinds/ObjectButton
88
*
9-
* Copyright © JSC electronics
9+
* Copyright © JSC TechMinds
1010
*
1111
* Licensed under the Apache License, Version 2.0 (the "License");
1212
* you may not use this file except in compliance with the License.

examples/BlinkMachine/BlinkMachine.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
*
1212
* See their sketch for more details on internal workings, if it's not clear for your from this code.
1313
*
14-
* ObjectButton library: https://github.com/JSC-electronics/ObjectButton
14+
* ObjectButton library: https://github.com/JSC-TechMinds/ObjectButton
1515
*
16-
* Copyright © JSC electronics
16+
* Copyright © JSC TechMinds
1717
*
1818
* Licensed under the Apache License, Version 2.0 (the "License");
1919
* you may not use this file except in compliance with the License.

examples/ClassNameConflictResolution/ClassNameConflictResolution.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
* In this example, we'll show you, how to write your code, when you
3434
* have class name conflicts.
3535
*
36-
* ObjectButton library: https://github.com/JSC-electronics/ObjectButton
36+
* ObjectButton library: https://github.com/JSC-TechMinds/ObjectButton
3737
*
38-
* Copyright © JSC electronics
38+
* Copyright © JSC TechMinds
3939
*
4040
* Licensed under the Apache License, Version 2.0 (the "License");
4141
* you may not use this file except in compliance with the License.

examples/InvertInputLogic/InvertInputLogic.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
* In this example, however, the input logic can be also inverted during program execution.
1313
* A long press of button 1 (INPUT_PIN_BUTTON1) inverts the logic of button 2 (INPUT_PIN_BUTTON2).
1414
*
15-
* ObjectButton library: https://github.com/JSC-electronics/ObjectButton
15+
* ObjectButton library: https://github.com/JSC-TechMinds/ObjectButton
1616
*
17-
* Copyright © JSC electronics
17+
* Copyright © JSC TechMinds
1818
*
1919
* Licensed under the Apache License, Version 2.0 (the "License");
2020
* you may not use this file except in compliance with the License.

examples/ToggleLedOnClick/ToggleLedOnClick.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
* This sketch demonstrates using ObjectButton library with single digital button,
55
* which will turn built-in LED on or off after being clicked.
66
*
7-
* ObjectButton library: https://github.com/JSC-electronics/ObjectButton
7+
* ObjectButton library: https://github.com/JSC-TechMinds/ObjectButton
88
*
9-
* Copyright © JSC electronics
9+
* Copyright © JSC TechMinds
1010
*
1111
* Licensed under the Apache License, Version 2.0 (the "License");
1212
* you may not use this file except in compliance with the License.

examples/ToggleLedOnDoubleClick/ToggleLedOnDoubleClick.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
* This sketch demonstrates using ObjectButton library with single digital button,
55
* which will turn built-in LED on or off after being double-clicked.
66
*
7-
* ObjectButton library: https://github.com/JSC-electronics/ObjectButton
7+
* ObjectButton library: https://github.com/JSC-TechMinds/ObjectButton
88
*
9-
* Copyright © JSC electronics
9+
* Copyright © JSC TechMinds
1010
*
1111
* Licensed under the Apache License, Version 2.0 (the "License");
1212
* you may not use this file except in compliance with the License.

examples/ToggleLedOnDoubleClickWithInterrupt/ToggleLedOnDoubleClickWithInterrupt.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
* This example is almost identical to ToggleLedOnDoubleClick.ino, except
88
* button state refresh is bound to interrupt.
99
*
10-
* ObjectButton library: https://github.com/JSC-electronics/ObjectButton
10+
* ObjectButton library: https://github.com/JSC-TechMinds/ObjectButton
1111
*
12-
* Copyright © JSC electronics
12+
* Copyright © JSC TechMinds
1313
*
1414
* Licensed under the Apache License, Version 2.0 (the "License");
1515
* you may not use this file except in compliance with the License.

examples/TurnLedOnLongPress/TurnLedOnLongPress.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
* This sketch demonstrates using ObjectButton library with single digital button,
55
* which will turn built-in LED on when it's long pressed.
66
*
7-
* ObjectButton library: https://github.com/JSC-electronics/ObjectButton
7+
* ObjectButton library: https://github.com/JSC-TechMinds/ObjectButton
88
*
9-
* Copyright © JSC electronics
9+
* Copyright © JSC TechMinds
1010
*
1111
* Licensed under the Apache License, Version 2.0 (the "License");
1212
* you may not use this file except in compliance with the License.

examples/TwoAnalogButtonsOnTheSamePin/TwoAnalogButtonsOnTheSamePin.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
* In this example we receive all events produced by buttons and print
77
* which event occurred on which button to the serial monitor.
88
*
9-
* ObjectButton library: https://github.com/JSC-electronics/ObjectButton
9+
* ObjectButton library: https://github.com/JSC-TechMinds/ObjectButton
1010
*
11-
* Copyright © JSC electronics
11+
* Copyright © JSC TechMinds
1212
*
1313
* Licensed under the Apache License, Version 2.0 (the "License");
1414
* you may not use this file except in compliance with the License.

examples/TwoAnalogSensorsOnTheSamePin/TwoAnalogSensorsOnTheSamePin.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
*
66
* In this example we receive onClick() event, which simulates a motion detection.
77
*
8-
* ObjectButton library: https://github.com/JSC-electronics/ObjectButton
8+
* ObjectButton library: https://github.com/JSC-TechMinds/ObjectButton
99
*
10-
* Copyright © JSC electronics
10+
* Copyright © JSC TechMinds
1111
*
1212
* Licensed under the Apache License, Version 2.0 (the "License");
1313
* you may not use this file except in compliance with the License.

examples/TwoDigitalButtons/TwoDigitalButtons.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
* In this example we receive all events produced by buttons and print
77
* which event occurred on which button to the serial monitor.
88
*
9-
* ObjectButton library: https://github.com/JSC-electronics/ObjectButton
9+
* ObjectButton library: https://github.com/JSC-TechMinds/ObjectButton
1010
*
11-
* Copyright © JSC electronics
11+
* Copyright © JSC TechMinds
1212
*
1313
* Licensed under the Apache License, Version 2.0 (the "License");
1414
* you may not use this file except in compliance with the License.

library.json

+4-9
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,15 @@
77
"repository":
88
{
99
"type": "git",
10-
"url": "https://github.com/JSC-electronics/ObjectButton"
10+
"url": "https://github.com/JSC-TechMinds/ObjectButton"
1111
},
1212
"authors":
1313
[
1414
{
15-
"name": "Vladimír Záhradník",
16-
"email": "vladimir.zahradnik@jsce.cz",
17-
"url": "https://github.com/vzahradnik",
15+
"name": "JSC TechMinds",
16+
"email": "development@jsctm.cz",
17+
"url": "https://github.com/JSC-TechMinds",
1818
"maintainer": true
19-
},
20-
{
21-
"name": "JSC electronics",
22-
"email": "[email protected]",
23-
"url": "https://github.com/jsc-electronics"
2419
}
2520
],
2621
"frameworks": "arduino",

library.properties

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name=ObjectButton
22
version=2.0.0
3-
author=JSC electronics
4-
maintainer=Vladimír Záhradník <[email protected]>, JSC electronics <development@jsce.cz>
3+
author=JSC TechMinds
4+
maintainer=JSC TechMinds, development@jsctm.cz
55
sentence=An Arduino library for detecting button actions.
66
paragraph=ObjectButton is an Arduino library for detecting common button actions. Because of it, you can map different functions into a single button, i.e., turn on the light on a button click and play an alarm sound on double-click.
77
category=Signal Input/Output
8-
url=https://github.com/JSC-electronics/ObjectButton
8+
url=https://github.com/JSC-TechMinds/ObjectButton
99
architectures=*
1010
license=Apache-2.0

src/ObjectButton.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
* @file ObjectButton.h
33
* Project ObjectButton
44
* @brief An Arduino library for detecting button actions.
5-
* @author Vladimír Záhradník
6-
* License Apache-2.0 - Copyright (c) 2019-2020 JSC electronics
5+
* @author JSC TechMinds
6+
* License Apache-2.0 - Copyright (c) 2019-2024 JSC TechMinds
77
*
88
* @section License
99
*
10-
* Copyright (c) 2019-2020 JSC electronics
10+
* Copyright (c) 2019-2024 JSC TechMinds
1111
*
1212
* Licensed under the Apache License, Version 2.0 (the "License");
1313
* you may not use this file except in compliance with the License.

src/analog/AnalogButton.cpp

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
* @file AnalogButton.cpp
33
* Project ObjectButton
44
* @brief An Arduino library for detecting button actions.
5-
* @author Vladimír Záhradník
6-
* License Apache-2.0 - Copyright (c) 2019-2020 JSC electronics
5+
* @author JSC TechMinds
6+
* License Apache-2.0 - Copyright (c) 2019-2024 JSC TechMinds
77
*
8-
* Copyright (c) 2019-2020 JSC electronics
8+
* @section License
9+
*
10+
* Copyright (c) 2019-2024 JSC TechMinds
911
*
1012
* Licensed under the Apache License, Version 2.0 (the "License");
1113
* you may not use this file except in compliance with the License.

src/analog/AnalogButton.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
* @file AnalogButton.h
33
* Project ObjectButton
44
* @brief An Arduino library for detecting button actions.
5-
* @author Vladimír Záhradník
6-
* License Apache-2.0 - Copyright (c) 2019-2020 JSC electronics
5+
* @author JSC TechMinds
6+
* License Apache-2.0 - Copyright (c) 2019-2024 JSC TechMinds
77
*
88
* @section License
99
*
10-
* Copyright (c) 2019-2020 JSC electronics
10+
* Copyright (c) 2019-2024 JSC TechMinds
1111
*
1212
* Licensed under the Apache License, Version 2.0 (the "License");
1313
* you may not use this file except in compliance with the License.

src/analog/AnalogSensor.cpp

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
* @file AnalogSensor.cpp
33
* Project ObjectButton
44
* @brief An Arduino library for detecting button actions.
5-
* @author Vladimír Záhradník
6-
* License Apache-2.0 - Copyright (c) 2019-2020 JSC electronics
5+
* @author JSC TechMinds
6+
* License Apache-2.0 - Copyright (c) 2019-2024 JSC TechMinds
77
*
8-
* Copyright (c) 2019-2020 JSC electronics
8+
* @section License
9+
*
10+
* Copyright (c) 2019-2024 JSC TechMinds
911
*
1012
* Licensed under the Apache License, Version 2.0 (the "License");
1113
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)