Trouble uploading config

So I recently bought a Kylo saber from The Pach store. I downloaded Arduino 2.2.1 and went through fetts site and created an entirely new config and blade style from scratch and when trying to upload it I keep getting this error. “Compilation error: #Error /props/saber_fett263_buttons.h requires 1, 2 or 3 Buttons for operation”

My buttons are defined and my config is named and in my proffie OS folder etc. Im not sure why I can’t resolve the error.

Post your config, I recommend

Here is the link to it

That config wouldn’t generate the error you had, are you sure you defined this config in Arduino?
I recommend closing Arduino, navigate to your ProffieOS folder, find ProffieOS.ino and double click launch new Arduino instance and check the define CONFIG_FILE you have set to make sure it is the right config.
If you need help uploading I recommend this page, follow step-by-step.

Thank you, I redownloaded the proffie OS folder and copied the config again and defined it, seemed to upload fine after that.

However only my main blade is lit, I have 6 blades defined to account for the side blades, crystal chamber and accent pixels. When making the blade style do I need to customize all the blades separately then copy and paste the config for each? Not sure how to add the blade style config onto the main config to include the code for the main blade, sides, CC and accents.

You need a style for each blade in each preset, it can be the same or different depending on what you want them to do.

Ah I see what you mean, I was wondering why there was so many styles in each preset. Thank you for the help!

1 Like

You’re welcome.