Saber won’t turn on after uploading

(c:/users/anlop/appdata/local/arduino15/packages/proffieboard_experimental/tools/ - Pastebin.com) this is what arduino said and this is my config file (// This is a sample configuration file.// This saber has:// o TeensySaber - Pastebin.com)

Sorry to redirect you to a new thread if you are actually trying out OS6 beta.
however it’s probably best as it doesn’t seem that your issue is actually with the software itself, but just your config and setup.

If you are using a Proffieboard v2.2, you’ll need to change the line #include "v3_config.h" in your config to `#include “proffieboard_v2_config.h”
What you have there now is for an older Teensysaber board.
Once that’s done, try to verify/upload, but you might get errors due to the define lines you have. Might need to check on all those FETT263 defines because I don’t think all of them are meant to work at the same time, like the gestures with preons etc… Read the instructions for the prop file located in the top comments of saber_fett263_buttons.h

He also didn’t properly define the prop file. If he had, the conflicting defines would have thrown an error.
The CONFIG_PROP section

1 Like

The first link clearly shows that you have a proffieboard of some kind.
The second link however, is meant for a teensysaber. I think that means that you haven’t updated your CONFIG_FILE in ProffieOS.ino correctly to actually use your config file. Or maybe it did use this config file that is meant for another board and maybe that’s why it’s not working now…

Where would I put the prop define line

It goes in it’s own section, like this:

Usually, that section comes after the CONFIG_TOP #endif

My computer actually isn’t recognizing the SD card as a drive anymore as it did with Proffie OS 5.9 and the saber still refuses to turn on. On other devices on my computer it now says Proffieboard instead of Drive E

And I’m still getting that initial error of SRAM not detected but it still uploads properly or so it says

I’m not sure either how to be sure it’s updated the config file and recognizing it properly

Okay I got it to turn on now I can’t go between styles i figure that’s part of the update and also part of the prop defines?

And I still have the problem that I can no longer access the sound files

The SRAM warning can be ignored.
Did you select “serial + webusb + mass storage” in arduino → tools → usb type ?

How did you get it to turn on?
What did you change?

I’m the proffieOS.ino there was another #define CONFIG_FILE without the two // that was stating for a test config file but when I removed it everything compiled fine and the saber turned on with the new features. I’ve been trying to add the No_BLADE_NO_GEST_ONOFF but I get an error message
And I can’t seem to post links to paste bin so is there something else I should be using?

For the most part you don’t need to use pastebin.
Just put three backquotes (`) on a separate line, post your code/config/error/whatever, then put three more backquotes on a separate line after it.

This is a define from the saber_BC_buttons prop file.
If you are using saber_fett263_buttons, you need to use the defines listed as options for that prop.

yeah im using that prop file and this is the error i get

ProffieOS:623:42: error: wrong number of template arguments (0, should be 1)
 
  623 | LatchingButtonTemplate<FloatingButtonBase<BLADE_DETECT_PIN>>
 
      |                                          ^
 
In file included from C:\Users\anlop\Desktop\ProffieOS\ProffieOS.ino:587:
 
sketch\buttons/floating_button.h:6:7: note: provided for 'template<int PIN> class FloatingButtonBase'
 
    6 | class FloatingButtonBase {
 
      |       ^~~~~~~~~~~~~~~~~~
 
ProffieOS:623:59: error: template argument 1 is invalid
 
  623 | LatchingButtonTemplate<FloatingButtonBase<BLADE_DETECT_PIN>>
 
      |                                                           ^~
 
ProffieOS:624:54: error: expected primary-expression before ',' token
 
  624 |     BladeDetect(BUTTON_BLADE_DETECT, BLADE_DETECT_PIN, "blade_detect");
 
      |                                                      ^
 
ProffieOS:624:70: error: expression list treated as compound expression in initializer [-fpermissive]
 
  624 |     BladeDetect(BUTTON_BLADE_DETECT, BLADE_DETECT_PIN, "blade_detect");
 
      |                                                                      ^
 
C:\Users\anlop\Desktop\ProffieOS\ProffieOS.ino: In function 'void setup()':
 
ProffieOS:1427:17: error: request for member 'Warmup' in 'BladeDetect', which is of non-class type 'int'
 
 1427 |     BladeDetect.Warmup();
 
      |                 ^~~~~~
 
exit status 1
 
wrong number of template arguments (0, should be 1)
 
 
 
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

It seems there is a problem with your BLADE_DETECT_PIN define.
Did you set it to a pin number or pin name?
Post your config if you need help with it.

This is my current config file
I’d also like to get the battery level define in there but i cant figure that out

 // This is a sample configuration file.
// This saber has:
//   o TeensySaber V3 hardware.
//   o Two buttons
//   o An XP-E2 RGB LED star.
// If you have a saber similar to this one, make a copy and use the copy.
// This is also the default configuration file. Pre-programmed boards will
// use this configuration file.

#ifdef CONFIG_TOP
#include "proffieboard_config.h"
#define NUM_BLADES 3
#define NUM_BUTTONS 2
#define VOLUME 1200
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 2.0
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#endif

#ifdef CONFIG_PROP
#define FEMALE_TALKIE_VOICE
#define BC_GESTURE_AUTO_BATTLE_MODE
#define BC_SWING_ON
#define BC_STAB_ON
#define BC_THRUST_ON
#define BC_TWIST_ON
#define BC_TWIST_OFF
#define BC_FORCE_PUSH
#define IDLE_OFF_TIME 60 * 5 * 1000
#define NO_BLADE_NO_GEST_ONOFF
#define BLADE_DETECT_PIN1

#include "../props/saber_BC_buttons.h"
#endif

#ifdef CONFIG_PRESETS
Preset presets[] = {
  { "KyberWHITE", "tracks/venus.wav",
    StyleNormalPtr<GhostWhite, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<GhostWhite, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<GhostWhite, WHITE, 300, 800, WHITE>(), "GhostWhite"},
  { "KyberGREEN", "tracks/venus.wav",
    StyleNormalPtr<Green, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Green, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Green, WHITE, 300, 800, WHITE>(), "Green"},
  { "KyberYELLOW", "tracks/venus.wav",
    StyleNormalPtr<Yellow, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Yellow, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Yellow, WHITE, 300, 800, WHITE>(), "Yellow"},
  { "KyberRED", "tracks/venus.wav",
    StyleNormalPtr<Red, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Red, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Red, WHITE, 300, 800, WHITE>(), "Red"},
  { "KyberBLUE", "tracks/venus.wav",
    StyleNormalPtr<Aqua, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Aqua, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Aqua, WHITE, 300, 800, WHITE>(), "Aqua"},
  { "KyberPURPLE", "tracks/venus.wav",
    StyleNormalPtr<Rgb16<65535,9699,58942>, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Rgb16<65535,9699,58942>, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Rgb16<65535,9699,58942>, WHITE, 300, 800, WHITE>(), "Rgb16<65535,9699,58942>"},
  { "ARCANE", "tracks/A Friend Theme.wav",
    StyleNormalPtr<Orange, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Orange, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Orange, WHITE, 300, 800, WHITE>(), "Red"},
  { "NAMELESS", "tracks/sith theme.wav",
    StyleNormalPtr<Rgb16<23182,41,41>, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Rgb16<23182,41,41>, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Rgb16<23182,41,41>, WHITE, 300, 800, WHITE>(), "Red"},
  { "BattleOne", "tracks/A Friend x Force Theme.wav",
    StyleNormalPtr<Green, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Green, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Green, WHITE, 300, 800, WHITE>(), "Green"},
  { "BattleTwo", "tracks/Palpatheme.wav",
    StyleNormalPtr<Red, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Red, WHITE, 300, 800, WHITE>(),
    StyleNormalPtr<Red, WHITE, 300, 800, WHITE>(), "Red"},
  { "SmthJedi", "tracks/mars.wav",
    &style_charging,
    StyleNormalPtr<BLACK, BLACK, 300, 800>(),
    StyleNormalPtr<BLACK, BLACK, 300, 800>(), "Battery\nLevel"}
};
BladeConfig blades[] = {
 { 0, WS281XBladePtr<130, bladePin, Color8::GRB, PowerPINS<bladePowerPin1, bladePowerPin2, bladePowerPin3> >(),
    WS281XBladePtr<8, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin4> >(),
SimpleBladePtr<CH1LED, CH2LED, NoLED, NoLED,bladePowerPin5, bladePowerPin6, -1, -1>(), 
   CONFIGARRAY(presets) },
};
#endif

#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
Button AuxButton(BUTTON_AUX, auxPin, "aux");
#endif

All of these defines should be in the CONFIG_TOP section.

Assuming that you have blade detect hooked up to Data2, you want a space in there, like this:

#define BLADE_DETECT_PIN 1

What define would that be?

That’s what I’m having trouble understanding. It says there’s a feature for spoken battery level but I can’t seem to find how to use it so I figured there’s probably a define for it unless I’m missing something else.