Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Squashed 'timelapse/' changes from 1190145..8861fa5
Browse files Browse the repository at this point in the history
8861fa5 bump versions and set bt trigger to use keys from ble remote
afac115 fix plugins, remove dupe
2be12f4 categories part 1
636ab5d more manifestos, xbox controller and videopoker ufbt fixes
61209b1 Add Screenshots
08a259e API 31 / unzip sources
REVERT: 1190145 Update application.fam
REVERT: 4d3793b Update README.md
REVERT: 836a0b0 Update zeitraffer.png
REVERT: badf615 info for catalog
REVERT: 862d91d version in manifest
REVERT: dddd7f7 Чортов clang-format, теперь-то ты доволен?!
REVERT: f8faf3b Update zeitraffer.c
REVERT: 4e8db11 Табы тебе мешают штоле...
REVERT: 9d89741 Штош тебе ещё надо-то, скотина...
REVERT: 7319de2 Update .gitattributes
REVERT: b6922e9 Revert "Update zeitraffer.c"
REVERT: 41653a2 Update zeitraffer.c
REVERT: 7709bfb Revert "Formatting"
REVERT: 1023e71 Formatting
REVERT: 1fb48d8 Update .gitattributes
REVERT: b824511 Update zeitraffer.c
REVERT: 5c3bda4 Update .gitattributes
REVERT: 2e8c80c Update application.fam
REVERT: 78473e5 Changed category to GPIO
REVERT: ef48156 Create LICENSE
REVERT: fbae4dc Simple timer mode
REVERT: a8d966d Merge branch 'main' of https://github.com/theageoflove/flipperzero-zeitraffer
REVERT: 9f7c311 Simple timer mode
REVERT: 20d772c Update README.md
REVERT: 79a2a74 Merge pull request #2 from hedger/main
REVERT: ba4e1f3 Building for main branch only
REVERT: 3f8f0b8 Renamed official release builds
REVERT: a54bc98 Added new build action
REVERT: e68e090 Update banner.png
REVERT: 62dd59e Update README.md
REVERT: 3f7d652 Merge branch 'main' of https://github.com/theageoflove/flipperzero-zeitraffer
REVERT: 4a204db Add Images For flipc.org gallery
REVERT: 47cc769 Update build.yml
REVERT: 89b0c23 Move config to apps_data
REVERT: da56066 Update README.md
REVERT: bb3e7f4 Update zeitraffer.c
REVERT: ca66038 Interface
REVERT: 1c32c89 save\load settings
REVERT: c4a7b65 Update README.md
REVERT: d2beecd Update README.md
REVERT: 5f20b03 Rename build_dev.yml to build.yml
REVERT: 2182d7c Update .gitignore
REVERT: 06a7365 Update zeitraffer.c
REVERT: b7567b3 Create build_dev.yml
REVERT: 83a4652 Update zeitraffer.c
REVERT: 23754a4 Update .gitignore
REVERT: 3a8fc1b Backlight control: on, off, auto
REVERT: 41fbe9a i have no idea what i'm doing
REVERT: a271d09 Update zeitraffer.c
REVERT: d3d633c Update README.md
REVERT: 6eadfe3 Update README.md
REVERT: 14281b5 Update README.md
REVERT: 60fb337 Update README.md
REVERT: a15d8b8 Update README.md
REVERT: 8f93879 Update README.md
REVERT: 92fbe7e Update README.md
REVERT: 9c5866f Update README.md
REVERT: a465345 Update README.md
REVERT: 7678a46 Update zeitraffer.c
REVERT: 01087f0 Merge branch 'main' of https://github.com/theageoflove/zeitraffer
REVERT: 821671d Update zeitraffer.c
REVERT: acb169c Update README.md
REVERT: 5a52556 Create README.md
REVERT: 1edff60 Update zeitraffer.c
REVERT: 9509f59 backlight
REVERT: c39dcf2 Update zeitraffer.c
REVERT: 7144030 BULB
REVERT: 6e9c4ed Кнопку надо держать нажатой подольше, а то камера не замечает.
REVERT: 104f4c6 Create .gitignore
REVERT: e29ce86 Update zeitraffer.c
REVERT: bfcf776 Update zeitraffer.c
REVERT: 4287b11 update
REVERT: 42b3496 Update .gitattributes
REVERT: 90108f6 lol
REVERT: f1a3ac0 Update zeitraffer.c
REVERT: 52f574a Add files via upload
REVERT: 3643841 Initial commit

git-subtree-dir: timelapse
git-subtree-split: 8861fa5
  • Loading branch information
Willy-JL committed Nov 12, 2023
1 parent 1190145 commit 3735890
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 766 deletions.
Binary file removed .catalog/001.png
Binary file not shown.
Binary file removed .catalog/002.png
Binary file not shown.
Binary file removed .catalog/003.png
Binary file not shown.
Binary file removed .catalog/004.png
Binary file not shown.
25 changes: 0 additions & 25 deletions .catalog/README.md

This file was deleted.

Binary file removed .flipcorg/banner.png
Binary file not shown.
Binary file removed .flipcorg/gallery/001.png
Binary file not shown.
Binary file removed .flipcorg/gallery/002.png
Binary file not shown.
Binary file removed .flipcorg/gallery/003.png
Binary file not shown.
Binary file removed .flipcorg/gallery/004.png
Binary file not shown.
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
*.c eol=lf
#* text=auto
37 changes: 0 additions & 37 deletions .github/workflows/build.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.vscode
dist
674 changes: 0 additions & 674 deletions LICENSE

This file was deleted.

18 changes: 6 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@

# zeitraffer

[![Build FAP](https://github.com/theageoflove/flipperzero-zeitraffer/actions/workflows/build.yml/badge.svg?branch=main)](https://nightly.link/theageoflove/flipperzero-zeitraffer/workflows/build/main)

[![FlipC.org](https://flipc.org/theageoflove/flipperzero-zeitraffer/badge)](https://flipc.org/theageoflove/flipperzero-zeitraffer)
[![Build FAP](https://github.com/theageoflove/flipperzero-zeitraffer/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/theageoflove/flipperzero-zeitraffer/actions/workflows/build.yml)

english version [below](#eng)


Blog post: [theageoflove.ru](https://theageoflove.ru/2022/11/26/fap-fap-fap/)
Blog: [theageoflove.ru](https://theageoflove.ru)

TG: [t.me/scuko_bled](https://t.me/scuko_bled)


![zeitraffer for flipper zero](https://theageoflove.ru/uploads/2022/11/photo_2022-11-10_15-54-25.jpg)
Видео работы: https://youtu.be/VPSpRLJXYAc

Готовый фап можно скачать [с nightly.link](https://nightly.link/theageoflove/flipperzero-zeitraffer/workflows/build/main). Или [с flipc.org](https://flipc.org/theageoflove/flipperzero-zeitraffer).
Готовый фап под последнюю релизную прошивку [можно скачать здесь](https://nightly.link/theageoflove/flipperzero-zeitraffer/workflows/build/main/zeitraffer.fap.zip).

Я ненастоящий сварщик, не обессудьте. Делал для своей Sony DSLR A100, подходит для любых камер, поддерживающих проводной пульт с тремя контактами.

Expand All @@ -26,14 +24,14 @@ TG: [t.me/scuko_bled](https://t.me/scuko_bled)

- **вверх-вниз** - время.
- **влево-вправо** - количество кадров

0 кадров - бесконечный режим, -1 кадров - BULB
- **зажатие стрелок** - ±10 кадров/секунд
- **ОК** - пуск/пауза
- Длинное нажатие **ОК** - включить/выключить подсветку
- **назад** - сброс
- длинное нажатие **назад** - выход

Особые режимы: 0 кадров - бесконечная съёмка, -1 кадров - BULB, 1 кадр - простой одиночный таймер.

При работающем таймере блокируются все кнопки кроме ОК.

При запуске даётся три секунды на отскочить.
Expand All @@ -53,9 +51,7 @@ TG: [t.me/scuko_bled](https://t.me/scuko_bled)
# <a name="eng"></a>English
Simple timelapse app for Flipper Zero.

[Get latest release](https://nightly.link/theageoflove/flipperzero-zeitraffer/workflows/build/main)

[Or install from flipc.org](https://flipc.org/theageoflove/flipperzero-zeitraffer)
[Get latest release](https://nightly.link/theageoflove/flipperzero-zeitraffer/workflows/build/main/zeitraffer.fap.zip)

based on https://github.com/zmactep/flipperzero-hello-world

Expand All @@ -68,8 +64,6 @@ based on https://github.com/zmactep/flipperzero-hello-world
- Back - reset
- Long press back - exit

1 frame - simple timer, 0 frames - infinite mode, -1 frames - BULB mode

When the timer is running, all buttons are blocked except OK.

## What you need:
Expand Down
21 changes: 8 additions & 13 deletions application.fam
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
App(
appid="zeitraffer",
name="Zeitraffer",
appid="gpio_timelapse",
name="[GPIO] Timelapse",
apptype=FlipperAppType.EXTERNAL,
entry_point="zeitraffer_app",
cdefines=["APP_ZEITRAFFER"],
requires=[
"gui",
"input",
"notification",
"gpio"
],
requires=["gui", "input", "notification", "gpio"],
stack_size=2 * 1024,
order=90,
fap_version="1.1",
fap_icon_assets="icons",
fap_icon="zeitraffer.png",
fap_icon_assets="icons",
fap_icon="zeitraffer.png",
fap_category="GPIO",
fap_description="Simple intervalometer/timelapse app",
fap_version="1.1",
fap_description="Simple intervalometer app, works via GPIO pins.",
fap_author="Aurelius Rosenbaum",
fap_weburl="https://github.com/theageoflove/flipperzero-zeitraffer",
fap_weburl="https://github.com/theageoflove/flipperzero-zeitraffer",
)
Binary file added img/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions zeitraffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <notification/notification_messages.h>
#include <flipper_format/flipper_format.h>
#include "gpio_item.h"
#include "zeitraffer_icons.h"
#include "gpio_timelapse_icons.h"

#define CONFIG_FILE_DIRECTORY_PATH "/ext/apps_data/zeitraffer"
#define CONFIG_FILE_PATH CONFIG_FILE_DIRECTORY_PATH "/zeitraffer.conf"
Expand Down Expand Up @@ -325,6 +325,7 @@ int32_t zeitraffer_app(void* p) {
}
}
}
view_port_update(view_port);
}

// Наше событие — это сработавший таймер
Expand Down Expand Up @@ -378,6 +379,8 @@ int32_t zeitraffer_app(void* p) {
default:
notification_message(notifications, &sequence_display_backlight_enforce_auto);
}

view_port_update(view_port);
}
if(Time < 1) Time = 1; // Не даём открутить таймер меньше единицы
if(Count < -1)
Expand All @@ -398,7 +401,7 @@ int32_t zeitraffer_app(void* p) {
}
if(!flipper_format_write_comment_cstr(
save,
"Zeitraffer app settings: of frames, interval time, backlight type, Delay")) {
"Zeitraffer app settings: n of frames, interval time, backlight type, Delay")) {
notification_message(notifications, &sequence_error);
break;
}
Expand All @@ -422,6 +425,7 @@ int32_t zeitraffer_app(void* p) {
} while(0);

flipper_format_free(save);

furi_record_close(RECORD_STORAGE);

// Очищаем таймер
Expand Down
Binary file modified zeitraffer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3735890

Please sign in to comment.