Newbie trying to change to second blade type

Apologies if this is already up somewhere but I couldn’t find it. I can see in my config that I have two blades. I have a one button saber. In all the presets there seems to be two “Styles” which I’m guessing is the second blade per preset.

So… How do I access the second style with a one button saber?

Thanks.

I’m guessing you are using the Fett263 saber prop, and you want to figure out how to use edit mode to change the second style? Is that correct?

I’m still using sa22c buttons in the props folder. The presets are fett263 though. Do I have to change my buttons to fet263 and then add a define for that action?

This question is confusing.
What do you mean “access the second style”?
Each blade style shows on a blade.
Do you have 2 blades? (Keep in mind that a “blade” is any LEDs you have, like main blade, crystal chamber, accent LED etc… each counts as a blade.)

If you only have one main blade, then your setting for NUM_BLADES should be 1, you should have 1 style per preset, and 1 blade definition in the BladeConfig.

2 for 2 and so on.

The number of buttons you have is irrelevant to the number of blade styles.

The sa22c prop doesn’t have any sort of “edit mode”, so you can’t change styles by using in-hilt menus.

If that’s what you want, you can change to the Fett263 prop, with the right defines, and add a voice pack to the SD card, then you can use edit mode.

Of course, if you’re going to reprogram anyways, you could also just change the styles in the config file directly.

It’s going to depend on the styles, but if you’re referring to Dual Phase, Multi-Phase or other Special Ability styles, yes, they require my prop to run.

It’s probably better if you just post your config and give us the preset as an example. You can use pastebin.com to share the config. Then we can tell you exactly how to do or what is missing.

OK here is this link:

I think I understand now. I watched your config basics video again. I’m specifically talking about the Stylept lines. You have one set up for the main blade and a second set up for a crystal chamber.

I have two sabers. One is the Skeleton Crew saber which has a crystal chamber and my first saber is the Dark Saber which does not. I’m guessing that the second Stylept line that is labeled crystal chamber is for sabers who have that feature.

What was confusing me is that my Dark Saber config file also says that it has NUM_BLADES 2. So I thought that there was another style that I could access within that preset if you catch my drift. But I see now it is for sabers that have other blades like a chamber or maybe a double bladed saber.

If that’s the case Why does my Dark Saber, that has one blade, say it has 2 blades in the config?

Thanks.

An illuminated button?
A pogo pin PCB with pixels on it?
Or, maybe the installer just got lazy and the second blade doesn’t do anything?

1 Like

Missing the bottom of the config, but short answer is each “blade” has it’s own style if you have 2 blades there’s one style per blade in each preset. You cannot change to another blade’s style. If you want the ability to change a blade’s style you can do one of the following:

  • Build a Multi-Phase blade in my library
  • Build an “Option” style in the library and then change style options via Edit Mode or ProffieOS Workbench
  • Use “Edit Style” in Edit Mode to select and change to different styles from your other presets

But all 3 are limited to that specific blade’s styles in each preset. You can’t cross blade 1 and blade 2’s styles, unless you copy and paste the style code into the 1st / 2nd slot in your config and upload.

Sorry I didn’t know you wanted the whole config.
This is the whole config for my Dark Saber:

I don’t need to do anything crazy. I was just confused about the second StylePtr line.
I think my next step will be to use the Fett263 Prop and try expanding the capabilities of the saber.

Sure, so your BladeConfig shows a single pixel “blade” as the second blade, maybe there’s an LED or an illuminate button or something, but that is why you have 2 blades. But as noted, within the preset the first style is your main blade’s style, the second is the style for that single pixel. They are not interchangeable, they are specific to the blade based on the order of the blades in your BladeConfig.

BladeConfig blades[] = {
 { 0, WS281XBladePtr<133, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
    WS281XBladePtr<1, blade4Pin, Color8::GRB, PowerPINS<bladePowerPin6> >()
  , CONFIGARRAY(presets) },
};

To move into my prop just read through page, especially the Required Set Up Instructions: Fett263 ProffieOS7 Prop File (Buttons and Controls)

1 Like

Got it. Thanks so much for your help. I’m sure I’ll be back!