-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make project easiliy usable with the arduino ide change image formatting; add a changelog separate build files for carl and calibrate tool
- Loading branch information
1 parent
a144e31
commit d4a6aae
Showing
20 changed files
with
129 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.pio | ||
**/.pio | ||
.pioenvs | ||
.piolibdeps | ||
.clang_complete | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# changelog for carl music player | ||
|
||
# 1.1.0 [19.06.2021] | ||
|
||
* add keypad calibration script `calibrate/calibrate.ino` | ||
* rename folders to be compatible with Arduino IDE: just open the file | ||
`carl/carl.ino` or `calibrate/calibrate.ino` to open the corresponding | ||
projects in the Arduino IDE. | ||
* update documentation | ||
|
||
# 1.0.0 [01.04.2021] | ||
|
||
* initial release | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Carl Music Box - keypad calibration tool | ||
# use this makefile to build Carl with platformio | ||
.PHONY: phony | ||
|
||
all: phony | ||
pio run | ||
|
||
lint: phony | ||
cpplint --root=calibrate --extensions=cpp,h,ino --filter=-build/include_subdir \ | ||
$(shell find . \( ! -regex '.*/\..*' \) \ | ||
-type f -a \( -name "*\.cpp" -o -name "*\.h" -o -name "*\.ino" \) ) | ||
|
||
ci: phony | ||
pio ci --project-conf platformio.ini . | ||
|
||
clean: phony | ||
pio run --target clean | ||
|
||
upload: phony | ||
pio run --target upload | ||
|
||
monitor: phony | ||
pio device monitor | ||
|
||
tags: phony | ||
ctags -R | ||
|
||
phony: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (c) 2021 Jan Delgado <jdelgado[at]gmx.net> | ||
// https://github.com/jandelgado/carl | ||
// | ||
// Kalibriersketch für das Tastenfeld | ||
// Calibration sketch for the key pad | ||
// | ||
constexpr auto PIN_BUTTONS = A2; | ||
|
||
void setup() { | ||
pinMode(PIN_BUTTONS, INPUT); | ||
Serial.begin(9600); | ||
} | ||
|
||
void loop() { | ||
Serial.println(analogRead(PIN_BUTTONS)); | ||
delay(50); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Carl music box PlatformIO project file - calibration tool | ||
|
||
[platformio] | ||
src_dir = . | ||
|
||
[env:pro16MHzatmega328] | ||
platform = atmelavr | ||
board = pro16MHzatmega328 | ||
framework = arduino |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.