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

Better explanations for power saving mode #1

Merged
merged 2 commits into from
May 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Template/MyCustomClass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ void MyCustomClass::set(int16_t messageID, char *setPoint)
Each messageID has it's own value
check for the messageID and define what to do.
Important Remark!
MessageID == -1 will be send from the connector when Mobiflight is closed
Put in your code to shut down your custom device (e.g. clear a display)
MessageID == -2 will be send from the connector when PowerSavingMode is entered
MessageID == -2 will be send from the board when PowerSavingMode is set
Message will be "0" for leaving and "1" for entering PowerSavingMode
MessageID == -1 will be send from the connector when Connector stops running
Put in your code to enter this mode (e.g. clear a display)

********************************************************************************** */
Expand Down