Skip to content

Commit

Permalink
Update the default values
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Balthaser committed May 29, 2024
1 parent 3752e48 commit 1370960
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions KiwiBoard.emf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "1.00",
"projectName": "KiwiBoard",
"author": "2p3ca",
"author": "kevin",
"items": [
{
"parentId": 0,
Expand Down Expand Up @@ -139,7 +139,7 @@
{
"parentId": 8,
"type": "analogItem",
"defaultValue": "6",
"defaultValue": "5",
"item": {
"maxValue": 10,
"offset": 1,
Expand All @@ -160,7 +160,7 @@
{
"parentId": 8,
"type": "analogItem",
"defaultValue": "175",
"defaultValue": "250",
"item": {
"maxValue": 350,
"offset": 50,
Expand All @@ -181,7 +181,7 @@
{
"parentId": 8,
"type": "analogItem",
"defaultValue": "400",
"defaultValue": "200",
"item": {
"maxValue": 2000,
"offset": 500,
Expand Down Expand Up @@ -238,7 +238,7 @@
{
"parentId": 12,
"type": "analogItem",
"defaultValue": "350",
"defaultValue": "450",
"item": {
"maxValue": 650,
"offset": 50,
Expand All @@ -259,7 +259,7 @@
{
"parentId": 12,
"type": "analogItem",
"defaultValue": "375",
"defaultValue": "0",
"item": {
"maxValue": 2000,
"offset": 500,
Expand Down
2 changes: 1 addition & 1 deletion src/KiwiBoardFirmware_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "MenuChangeObserver.h"

// Version Number
const char VERSION_NUM[] PROGMEM = "1.2.2";
const char VERSION_NUM[] PROGMEM = "1.2.3";


PicoPlatform *platform;
Expand Down
12 changes: 6 additions & 6 deletions src/KiwiBoardFirmware_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ SubMenuItem menuMotorSettings(&minfoMotorSettings, &menuBackMotorSettings, &menu
const AnalogMenuInfo minfoMaxPreheat = { "Preheat", 48, 94, 9, settings_changed, 1, 1, "min" };
AnalogMenuItem menuMaxPreheat(&minfoMaxPreheat, 4, nullptr, INFO_LOCATION_PGM);
const AnalogMenuInfo minfocooldownTime = { "Cool Time", 19, 21, 9, settings_changed, 1, 1, "min" };
AnalogMenuItem menucooldownTime(&minfocooldownTime, 1, &menuMaxPreheat, INFO_LOCATION_PGM);
AnalogMenuItem menucooldownTime(&minfocooldownTime, 0, &menuMaxPreheat, INFO_LOCATION_PGM);
const BooleanMenuInfo minfofanCooldown = { "Cooldown", 18, 20, 1, settings_changed, NAMING_ON_OFF };
BooleanMenuItem menufanCooldown(&minfofanCooldown, true, &menucooldownTime, INFO_LOCATION_PGM);
const AnalogMenuInfo minfodry_speed = { "Speed", 17, 18, 100, settings_changed, 50, 1, "rpm" };
Expand All @@ -61,20 +61,20 @@ const SubMenuInfo minfoDrySettings = { "Dry", 15, 0xffff, 0, NO_CALLBACK };
BackMenuItem menuBackDrySettings(&minfoDrySettings, &menudry_duration, INFO_LOCATION_PGM);
SubMenuItem menuDrySettings(&minfoDrySettings, &menuBackDrySettings, &menuMotorSettings, INFO_LOCATION_PGM);
const AnalogMenuInfo minfospinAMAX = { "Accel", 40, 88, 2000, settings_changed, 500, 1, "" };
AnalogMenuItem menuspinAMAX(&minfospinAMAX, 375, nullptr, INFO_LOCATION_PGM);
AnalogMenuItem menuspinAMAX(&minfospinAMAX, 0, nullptr, INFO_LOCATION_PGM);
const AnalogMenuInfo minfospin_speed = { "Speed", 14, 14, 650, settings_changed, 50, 1, "rpm" };
AnalogMenuItem menuspin_speed(&minfospin_speed, 350, &menuspinAMAX, INFO_LOCATION_PGM);
AnalogMenuItem menuspin_speed(&minfospin_speed, 450, &menuspinAMAX, INFO_LOCATION_PGM);
const AnalogMenuInfo minfospin_duration = { "Time", 13, 12, 119, settings_changed, 1, 1, "sec" };
AnalogMenuItem menuspin_duration(&minfospin_duration, 44, &menuspin_speed, INFO_LOCATION_PGM);
const SubMenuInfo minfoSpinSettings = { "Spin", 12, 0xffff, 0, NO_CALLBACK };
BackMenuItem menuBackSpinSettings(&minfoSpinSettings, &menuspin_duration, INFO_LOCATION_PGM);
SubMenuItem menuSpinSettings(&minfoSpinSettings, &menuBackSpinSettings, &menuDrySettings, INFO_LOCATION_PGM);
const AnalogMenuInfo minfowashAMAX = { "Accel", 41, 90, 2000, settings_changed, 500, 1, "" };
AnalogMenuItem menuwashAMAX(&minfowashAMAX, 400, nullptr, INFO_LOCATION_PGM);
AnalogMenuItem menuwashAMAX(&minfowashAMAX, 200, nullptr, INFO_LOCATION_PGM);
const AnalogMenuInfo minfowash_speed = { "Speed", 11, 10, 350, settings_changed, 50, 1, "rpm" };
AnalogMenuItem menuwash_speed(&minfowash_speed, 175, &menuwashAMAX, INFO_LOCATION_PGM);
AnalogMenuItem menuwash_speed(&minfowash_speed, 250, &menuwashAMAX, INFO_LOCATION_PGM);
const AnalogMenuInfo minfoRotations = { "Rotations", 39, 86, 10, settings_changed, 1, 1, "" };
AnalogMenuItem menuRotations(&minfoRotations, 6, &menuwash_speed, INFO_LOCATION_PGM);
AnalogMenuItem menuRotations(&minfoRotations, 5, &menuwash_speed, INFO_LOCATION_PGM);
const AnalogMenuInfo minfowash_duration = { "Time", 9, 4, 29, settings_changed, 1, 1, "min" };
AnalogMenuItem menuwash_duration(&minfowash_duration, 4, &menuRotations, INFO_LOCATION_PGM);
const SubMenuInfo minfowashSettings = { "Wash", 8, 0xffff, 0, NO_CALLBACK };
Expand Down

0 comments on commit 1370960

Please sign in to comment.