Skip to content

Commit

Permalink
Release of V1.0 prepared
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelLM committed Dec 23, 2020
1 parent 81b06d9 commit 1d8418c
Show file tree
Hide file tree
Showing 15 changed files with 752 additions and 2 deletions.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

80 changes: 78 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,78 @@
# MandoDisplayApp
Android app made using React Native
<img align="right" width=120 src="docs/applogo.png" />

# Mando Chest Display (MCD)
![GitHub](https://img.shields.io/github/license/AngelLM/MandoDisplayApp)


MandoDisplayApp or "Mando Chest Display (MCD)" is an app that recreates the chest display of Boba Fett, character of Star Wars films.

The app allows the user to create, store and display sequences.

![Preview Sequence](docs/preview_sequence.gif)

# Features
## Adding a new sequence
<img width=400 src="docs/new_sequence.gif" />

Create a new sequence is easy as clicking the + button at the bottom right of the screen, introducing the sequence name and pressing the "CREATE" button.

## Editing a sequence
To access to the sequence editor, press the pencil icon of the sequence you want to edit. Inside the sequence editor you can add new states, edit the current ones, modify the duration of each state and change the color of the LEDs.

### Adding a new state
<img width=400 src="docs/new_state.gif" />

To add a new state, click the + button located on the top bar. A new screen will appear. By default, the LEDs of the new state will be all OFF. You can light them ON by clicking over them. When finished, click on the "ADD STATE" button to save the state.

### Edit a state
<img width=400 src="docs/edit_state.gif" />

To edit a state, just click over the "EDIT" button of the state you want to modify. A new screen with the state will appear. When you are done editing it, press the "EDIT STATE" button to save the changes.

### Delete a state
<img width=400 src="docs/delete_state.gif" />

To delete a state, click over the "DELETE" button of the state you want to delete. A dialog will appear, asking for confirmation.

### Modify state duration
<img width=400 src="docs/duration_state.gif" />

To change the state duration, press over the duration input box and modify the value.

## Change the color of a sequence
<img width=400 src="docs/color_sequence.gif" />

By default the sequence color is red, but you can change it clicking on the paint bucket icon located on the top bar. A new screen will appear. Pick the color of your choice and apply the changes by pressing the "SET COLOR" button.

## Delete a sequence
<img width=400 src="docs/delete_sequence.gif" />

In order to delete a sequence, perform a long press over the sequence you want to delete until a dialog appears asking for confirmation.

## Export / Import a sequence
<img width=400 src="docs/export_import_sequence.gif" />

To export a sequence (to share it or to keep it as a backup) go to the sequence editor. Once there, press the export icon located on the top bar. A new screen will appear with a code. Press the button "COPY TO CLIPBOARD" to copy the code of the sequence to the clipboard. Paste wherever you want to share or save it!

To import a sequence, press the import icon located on the top bar of the main screen. Paste the sequence code into the input box and press "IMPORT" to add the state.

This is the code of the Boba Fett sequence:
```
MCD/Boba Fett/#ff0000/000000000000111100001111111011111110111111101111111011111110/530/000000001111000000000111101001111100100111101100111000000100/560/000000000000000011111010111010011110111010101111101000001110/530/000000000000000000000100001000100100100100000000110011000010/800/000011110000000000000111101001111100100111101100111000000100/560/111100000000000000000110111000110110110110101110011000001100/530/000000000000000000000110111010111100110110101111111010001100/800/MCD
```




## Edit Display Sizes
<img width=400 src="docs/settings_display.gif" />

As there are many different screen sizes/resolution, it may be convenient to adjust the size and position of the display. It can be done by clicking over the gear button located on the top bar of the main screen. A new screen with many value inputs will appear. Each of those values correspond to the following distances (in pixels):

<img width=600 src="docs/display_position.png" />

While you are changing the settings, you can test them by clicking the "TEST" button. A screen with all leds ON will appear to preview the settings. To save the settings, press the "SAVE SETTINGS" button.


# License
All files included in this repository are licensed under [GNU General Public License v3.0](https://choosealicense.com/licenses/gpl-3.0/)
Binary file added docs/applogo.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 docs/color_sequence.gif
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 docs/delete_sequence.gif
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 docs/delete_state.gif
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 docs/display_position.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 docs/duration_state.gif
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 docs/edit_state.gif
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 docs/export_import_sequence.gif
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 docs/new_sequence.gif
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 docs/new_state.gif
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 docs/preview_sequence.gif
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 docs/settings_display.gif
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 docs/show_sequence.gif
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 1d8418c

Please sign in to comment.