Skip to content

added handle_mode()#10

Open
rvbnsk wants to merge 5 commits intomasterfrom
modes
Open

added handle_mode()#10
rvbnsk wants to merge 5 commits intomasterfrom
modes

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


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 <kamdz01@gmail.com>
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