# 2 Button Volume Control

**URL:** <https://crucible.hubbe.net/t/2-button-volume-control/4335>\
**Category:** Fett263 Corner\
**Created:** [November 14, 2023, 11:25pm UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335 "2023-11-14T23:25:02Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![PSockwell](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/psockwell/32/4171_2.png) [@PSockwell](https://crucible.hubbe.net/u/PSockwell)\
**Post date:** [November 14, 2023, 11:25pm UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/1 "2023-11-14T23:25:03Z")

</div>

Hey everyone! I used all of my luck for the rest of the year and acquired a Proffie V2.2 Neopixel Saber for 9 dollars (sans blade - but that is ordered), but when updating and installing ProffieOS 7, I didn’t think to make a copy of the Config file that was already on the board - unfortunately the SD Card did not have a copy (which stinks because it had some good fonts with it). However, thanks to some helpful people on Reddit, I was able to get a solid config put together except for 1 thing - I lost the ability to control the volume with the buttons. I have looked everywhere and cannot find it and following how to access the volume menu does not seem to be working for me.

Here is a pastebin of my config file (sans blade styles):

> **[ProffieConfig - Pastebin.com](https://pastebin.com/BAVn98Zs)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

I appreciate all the help and would greatly appreciate any tips and tricks!

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [November 14, 2023, 11:50pm UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/2 "2023-11-14T23:50:14Z")

</div>

Read the Set Up Instructions and Controls for my prop.

> **[Fett263 ProffieOS7 Prop File (Buttons and Controls)](https://www.fett263.com/proffieOS7-fett263-prop-file.html)**
>
> Many of the new features and capabilities for ProffieOS7 were developed through my prop file.

---

<div class="post-metadata">

**Author:** ![PSockwell](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/psockwell/32/4171_2.png) [@PSockwell](https://crucible.hubbe.net/u/PSockwell)\
**Post date:** [November 15, 2023, 12:13am UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/3 "2023-11-15T00:13:41Z")

</div>

So if I am understanding correctly, I just need to add the following to my config file and the volume menu should be enabled:

```auto
#define ENABLE_ALL_EDIT_OPTIONS
#define FETT263_EDIT_MODE_MENU
#define DISABLE_BASIC_PARSER_STYLES

```

Thank you again for the help.

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [November 15, 2023, 12:22am UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/4 "2023-11-15T00:22:03Z")

</div>

If you want Edit Mode, yes.

If you want just the Volume Menu then you need to add the Voice Prompts in “common” per the Set Up Instructions and read the controls for Volume Menu.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [November 15, 2023, 1:23am UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/5 "2023-11-15T01:23:58Z")

</div>

So how did this use to work? What buttons did you use to control the volume? Was it a menu of some sort, or was it just “volume up button” and “volume down button” ?

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [November 15, 2023, 1:56am UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/6 "2023-11-15T01:56:02Z")

</div>

OS5 used talkie and buttons, OS6 and later uses Voice Prompts and menu, it’s one of the reasons the Voice Prompts and common folder are required in my prop. Without it users don’t realize they are in the menu and they aren’t reading the controls.

---

<div class="post-metadata">

**Author:** ![PSockwell](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/psockwell/32/4171_2.png) [@PSockwell](https://crucible.hubbe.net/u/PSockwell)\
**Post date:** [November 15, 2023, 2:41am UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/7 "2023-11-15T02:41:43Z")

</div>

It originally worked with holding Aux button until it beeped then I could use Aux to decrease and Power button to increase volume.

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [November 15, 2023, 2:47am UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/8 "2023-11-15T02:47:27Z")

</div>

That’s either sa22c’s prop or mine in OS5. You need the Voice Prompts to be set up, then use the controls per above link.

---

<div class="post-metadata">

**Author:** ![PSockwell](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/psockwell/32/4171_2.png) [@PSockwell](https://crucible.hubbe.net/u/PSockwell)\
**Post date:** [November 15, 2023, 3:14am UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/9 "2023-11-15T03:14:30Z")

</div>

Okie dokie! I think I have set that up correctly now - but now I am getting an error with my config file (but pretty sure that is completely on me) after adding soundfonts - posted to Reddit and the FB group to hopefully get it fixed! I am really in over my head but happy to get the learning experience!

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [November 15, 2023, 1:29pm UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/10 "2023-11-15T13:29:10Z")

</div>

> [@PSockwell](#):
>
> but now I am getting an error with my config file (but pretty sure that is completely on me) after adding soundfonts - posted to Reddit and the FB group to hopefully get it fixed!

You can post your config and the error here and we can take a look, (it’s kinda what we do) 😉  
Just use [pastebin.com](http://pastebin.com) and post the full config and full error message and we can have a look for you.

---

<div class="post-metadata">

**Author:** ![PSockwell](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/psockwell/32/4171_2.png) [@PSockwell](https://crucible.hubbe.net/u/PSockwell)\
**Post date:** [November 15, 2023, 4:17pm UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/11 "2023-11-15T16:17:32Z")

</div>

For sure! I appreciate it! I am pretty sure that my issue is that I am trying to put too much onto it (hard to not want to have a bunch of different styles on there!). Here is the error I am getting and here is my config. I appreciate all of the help from you guys!

> **[Error Code for ProffieOS - Pastebin.com](https://pastebin.com/a0PgPMz8)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

> **[Config - Pastebin.com](https://pastebin.com/MZtB0MVh)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [November 15, 2023, 4:26pm UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/12 "2023-11-15T16:26:16Z")

</div>

Yup, that’s what this means:

```auto
region `FLASH' overflowed by 23960 bytes

```

Looking at the config you’re wasting a lot of memory because you’re mixing a lot of syntax versions and really old styles. If you’re really wanting to fit a lot more on your board I’d recommend rebuilding your styles in my library, it will ensure everything is optimized and in the same syntax. When you mix syntaxes it uses up a lot more memory than if you have a consistent syntax version throughout the config.

> **[Fett263 Proffieboard - ProffieOS7 Style Library](https://www.fett263.com/fett263-proffieOS7-style-library.html#fett263)**
>
> Fett263 Style Library for ProffieOS7 for use with Proffieboard lightsaber control board. Lightsaber effects and styles developed by Fett263.

Furthermore, if you use the Config Helper Tool along with the library it also allows for even more optimization and handles syntax for you. Just watch the video at the top and read the instructions provided throughout the page. Then go through all of the selections and build your presets. The tool will then generate a complete config as well as custom documentation such as Button/Controls based on the selections you made. You can probably double the number of presets (or more) if you build it efficiently.

> **[Fett263 Proffieboard ProffieOS Config Helper](https://www.fett263.com/fett263-os7-config-helper.html)**
>
> This tool is designed to make building and updating your config for ProffieOS easier. Available for the Proffieboard Open Source Lightsaber Community from Fett263

---

<div class="post-metadata">

**Author:** ![PSockwell](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/psockwell/32/4171_2.png) [@PSockwell](https://crucible.hubbe.net/u/PSockwell)\
**Post date:** [November 15, 2023, 5:36pm UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/13 "2023-11-15T17:36:57Z")

</div>

I think, I have got a better understanding of it now - I can use the Using Function to have a bulk of the info then using the presets that coincide with the correct using function, that should save space.

I got halfway through doing the Greyscale ones and forgot to adjust the preon settings and all of that so thats fun haha. Hopefully can get this worked out completely - just need to take the time!

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [November 15, 2023, 5:46pm UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/14 "2023-11-15T17:46:27Z")

</div>

> [@PSockwell](#):
>
> I can use the Using Function to have a bulk of the info then using the presets that coincide with the correct using function, that should save space.

The benefit of the Using functions is for styles that you want to use in multiple presets, you can certainly use them in every preset but the memory savings comes from using them across multiple presets. This is most applicable when “Option” styles are built as you can have a single style with multiple “Options” and then use them in multiple presets with different options enabled to create many unique styles from a single style code or using functions. An “Option” style will save memory compared to building individual styles for the same purposes and often you can build out Option Styles with more unique combinations than you could individual styles.

The library will allow you to build many different “Options” into a style, combined with the Style Arguments this allows for 100s or 1000s of unique presets to technically be generated from a single style,

---

<div class="post-metadata">

**Author:** ![PSockwell](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/psockwell/32/4171_2.png) [@PSockwell](https://crucible.hubbe.net/u/PSockwell)\
**Post date:** [November 15, 2023, 5:50pm UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/15 "2023-11-15T17:50:55Z")

</div>

Gotcha - so the following would probably still give me the FlashMemory error:

> **[Example of Corrected ConfigFile - Pastebin.com](https://pastebin.com/cJuSn17i)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

I am mainly wanting to have it where I can switch the font/blade style with the aux button between all of the different GS fonts and then add in the already existing ones.

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [November 15, 2023, 5:59pm UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/16 "2023-11-15T17:59:01Z")

</div>

If they’re the versions the library generates they have significant optimization over the originals from Greyscale, if you need to fit more you can build out an Option Version as I demoed in the video at the top of the config tool.

I would just Verify in Arduino, it will tell you if it fits or not.

---

<div class="post-metadata">

**Author:** ![PSockwell](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/psockwell/32/4171_2.png) [@PSockwell](https://crucible.hubbe.net/u/PSockwell)\
**Post date:** [November 15, 2023, 6:45pm UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/17 "2023-11-15T18:45:35Z")

</div>

So I tried using the Config Helper and then only put one preset on the config to test if it would work and the volume menu would work for me. Now I have a whole new string of errors 🫠

Config:

> **[// ProffieOS7 Config File#ifdef CONFIG\_TOP#include "proffieboard\_v2\_config.h...](https://pastebin.com/Bm2bu8uE)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Errors:

> **[NewErrors - Pastebin.com](https://pastebin.com/bajzLCRC)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Eventually a wall has to come down once you throw yourself at it enough I suppose. All for the updated Greyscale fonts haha

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [November 15, 2023, 6:48pm UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/18 "2023-11-15T18:48:52Z")

</div>

You didn’t enter the complete BladeConfig section from your original prop. See the example below the input box for exactly what needs to be entered. The tool cannot verify BladeConfig info so it needs to be put in correctly.

It should begin with

```auto
BladeConfig blades[] = {

```

and end with

```auto
};

```

---

<div class="post-metadata">

**Author:** ![PSockwell](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/psockwell/32/4171_2.png) [@PSockwell](https://crucible.hubbe.net/u/PSockwell)\
**Post date:** [November 15, 2023, 7:03pm UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/19 "2023-11-15T19:03:10Z")

</div>

Welp, that fixed that. When verifying that config through Arduino, it tells me that it is 70% of program storage space - I would not imagine that is normal for 1 font. Unless it is an I’m just crazy.

I seriously appreciate all the help you’ve give me and all the time spent trying to help me troubleshoot! This community really is awesome and welcoming!

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [November 15, 2023, 7:16pm UTC](https://crucible.hubbe.net/t/2-button-volume-control/4335/20 "2023-11-15T19:16:32Z")

</div>

> [@PSockwell](#):
>
> it tells me that it is 70% of program storage space - I would not imagine that is normal for 1 font.

Nope, that’s correct. The barebones OS (depending on prop and features) is around 67 ~ 69% of memory.

> [@PSockwell](#):
>
> I seriously appreciate all the help you’ve give me and all the time spent trying to help me troubleshoot! This community really is awesome and welcoming!

You’re welcome, it is a great community and once you’ve done a couple of uploads successfully you’ll be able to help others as well. Pretty much all of us, except for profezzorn, started off knowing nothing about Proffieboard but as we learn we pass along the knowledge to others and help each other out.

[Next page](https://crucible.hubbe.net/t/2-button-volume-control/4335.md?page=2)
