Skip to content

Commit c83b943

Browse files
committed
Add actions to build
Improve readme.
1 parent 895b31a commit c83b943

File tree

2 files changed

+32
-3
lines changed

2 files changed

+32
-3
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "FAP: Build"
2+
on: [push, pull_request]
3+
jobs:
4+
ufbt-build-action:
5+
runs-on: ubuntu-latest
6+
name: 'ufbt: Build for Release branch'
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v4
10+
- name: Build with ufbt
11+
uses: flipperdevices/[email protected]
12+
id: build-app
13+
with:
14+
# Set to 'release' to build for latest published release version
15+
sdk-channel: release
16+
app-dir: servotester
17+
- name: Upload app artifacts
18+
uses: actions/upload-artifact@v4
19+
with:
20+
name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
21+
path: ${{ steps.build-app.outputs.fap-artifacts }}
22+

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
# Flipper servotester application
22

3-
Application uses A7 pin for servo PWM output. Has different modes: Manual, Center, Auto.
3+
This application could be used for testing devices containing standard [RC servo](https://en.wikipedia.org/wiki/Servo_(radio_control)), by generating a [PWM RC servo signal](https://en.wikipedia.org/wiki/Servo_control).
44

55
## Installation instructions
66

7-
Go to the [releases](https://github.com/spin7ion/flipper-servotester/releases), download apps.zip and extract it in your SD card.
7+
Install application from [Flipper Zero application catalog](https://docs.flipper.net/apps), or go to the releases, download apps.zip and extract it in your SD card.
8+
9+
## Usage
10+
11+
- Connect the Servo PWM input to **A7** Flipper Zero in.
12+
- Enable 5V output in the GPIO menu or plug-in USB-C charging cable. (If you're supplying power from an external power source, make sure it has common ground with the flipper GND)
13+
- Start the ServoTester app
14+
- Test different servo positions
815

916
## Build instructions
1017

1118
- Clone the [official flipper zero firmware](https://github.com/flipperdevices/flipperzero-firmware)
1219
- Add the content of this repo to the `applications_user` folder
13-
- Follow [official instructions](https://github.com/flipperdevices/flipperzero-firmware/blob/dev/documentation/AppsOnSDCard.md)
20+
- Follow [official instructions](https://github.com/flipperdevices/flipperzero-firmware/blob/dev/documentation/AppsOnSDCard.md)

0 commit comments

Comments
 (0)