Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
B
brew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
João Lino
brew
Commits
4fab6c8e
Commit
4fab6c8e
authored
Aug 11, 2015
by
João Lino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed all the syntax errors - code now compiles. datastuctures sent to a header file.
parent
6eecd9b6
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
190 additions
and
138 deletions
+190
-138
CustomDataStructures.h
CustomDataStructures.h
+74
-0
brew.ino
brew.ino
+116
-138
No files found.
CustomDataStructures.h
0 → 100644
View file @
4fab6c8e
/*
CustomDataStructures.h - Data structures helper for the brew project.
Created by João Lino, August 11, 2015.
Released into the public domain.
*/
#ifndef CustomDataStructures_h
enum
eRotaryEncoderMode
{
eRotaryEncoderMode_Menu
,
eRotaryEncoderMode_Time
,
eRotaryEncoderMode_Generic
,
eRotaryEncoderMode_Disabled
};
// menu
enum
eMainMenuOptions
{
eMainMenu_GO
,
eMainMenu_Presets
,
eMainMenu_Malt
,
eMainMenu_Startpoint
,
eMainMenu_BetaGlucanase
,
eMainMenu_Debranching
,
eMainMenu_Proteolytic
,
eMainMenu_BetaAmylase
,
eMainMenu_AlphaAmylase
,
eMainMenu_Mashout
,
eMainMenu_Recirculation
,
eMainMenu_Sparge
,
eMainMenu_Boil
,
eMainMenu_Hops
,
eMainMenu_Cooling
,
eMainMenu_Settings
,
eMainMenu_Back
};
enum
ePresetsMenuOptions
{
ePresetsMenu_Trigo
,
ePresetsMenu_IPA
,
ePresetsMenu_Belga
,
ePresetsMenu_Red
,
ePresetsMenu_APA
,
ePresetsMenu_Back
};
enum
eMaltMenuOptions
{
eMaltMenu_CastleMalting_Chteau_Pilsen_2RS
,
eMaltMenu_CastleMalting_Wheat_Blanc
,
eMaltMenu_Back
};
enum
eSettingsMenuOptions
{
eSettingsMenu_PT100_Element
,
eSettingsMenu_PT100_Up
,
eSettingsMenu_PT100_Down
,
eSettingsMenu_Back
};
// cooking
enum
eCookingStages
{
eCookingStage_Startpoint
,
eCookingStage_BetaGlucanase
,
eCookingStage_Debranching
,
eCookingStage_Proteolytic
,
eCookingStage_BetaAmylase
,
eCookingStage_AlphaAmylase
,
eCookingStage_Mashout
,
eCookingStage_Recirculation
,
eCookingStage_Sparge
,
eCookingStage_Boil
,
eCookingStage_Cooling
,
eCookingStage_Done
};
#endif
\ No newline at end of file
brew.ino
View file @
4fab6c8e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment