Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added handle_mode() #10

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

added handle_mode() #10

wants to merge 5 commits into from

Conversation

rvbnsk
Copy link
Contributor

@rvbnsk rvbnsk commented Feb 19, 2023

No description provided.

Copy link

@filip6464 filip6464 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

#include <type_traits>

namespace utl {

enum class Logger { Debug, Flight };

enum class Modes { Idle, Measurements, Experiment, Uplink };

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Czym różni się Measurements od Experiment? Chyba czuje, różnice, ale czy to oznacza, że gdy odpalimy eksperyment to nie wykonujemy pomiarów z samego obc? (w sensie, czy mode Measurements pokrywa się jakoś z Experiment zadaniami).

Ogólnie to szczegół, przy takiej implementacji chyba łatwo będzie zedytować te stany/zdefiniować nowe. O to chodziło.

rvbnsk and others added 4 commits March 12, 2023 12:05
* changed I2C ports from defaults to custom

* changed buzzer pin

* added functions to main loop

* changed buzzer pin to LED_BUILTIN

---------

Co-authored-by: Kamil Dziedzic <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants