I’m trying to get blade ID to work on my v3.9, and while it seems to be able to detect and differentiate between the 3 blades I’m using, I can’t seem to get continuous scanning to work (I don’t have an emitter that supports blade detect). It only updates the blade when manually told to do so with scanid, or on reset/boot. The docs make it sound like all I have to do to get it to work is define BLADE_ID_SCAN_MILLIS and BLADE_ID_TIMES for it to be enabled, but even when the blade is left in the saber for a minute or two it doesn’t seem to update the blade. Is there something I’m not doing correctly? Attached is my current config file (minus the styles, ofc).
/*
* This configuration file was generated by ProffieConfig, created by Ryryog25.
* ProffieConfig is an All-In-One utility for managing your Proffieboard.
* https://proffieconfig.kafrenetrading.com/
*
* Version: 1.8.5, Generator Version: 1.0.8
*/
#ifdef CONFIG_TOP
//PROFFIECONFIG ENABLE_WEBUSB
//PROFFIECONFIG OS_VERSION 7.15
#include "proffieboard_v3_config.h"
const unsigned int maxLedsPerStrip = 144;
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#define SHARED_POWER_PINS
#define NUM_BLADES 2
#define NUM_BUTTONS 1
#define BLADE_ID_CLASS BridgedPullupBladeID<bladeIdentifyPin, bladePin>
#define ENABLE_POWER_FOR_ID PowerPINS<bladePowerPin2, bladePowerPin3>
#define BLADE_ID_SCAN_MILLIS 100
#define BLADE_ID_TIMES 5
#define VOLUME 1500
#define BOOT_VOLUME 200
#define CLASH_THRESHOLD_G 1
#define PLI_OFF_TIME 60000
#define IDLE_OFF_TIME 60 * 1000
#define MOTION_TIMEOUT 60 * 1000
#define DISABLE_COLOR_CHANGE
#define SAVE_VOLUME
#define SAVE_PRESET
#define SAVE_COLOR_CHANGE
#define FEMALE_TALKIE_VOICE
#define KILL_OLD_PLAYERS
#define NO_REPEAT_RANDOM
#define FETT263_EFFECT_INTERACTIVE_BLAST
#define EXTRA_COLOR_BUFFER_SPACE 60
#define FETT263_SWING_ON_SPEED 500
#define FETT263_SPECIAL_ABILITIES
#define FETT263_DISABLE_MULTI_BLAST
#define FETT263_TWIST_OFF
#define FETT263_TWIST_ON
#define FETT263_SWING_ON_NO_BM
#define FETT263_DISABLE_CHANGE_FONT
#define FETT263_DISABLE_CHANGE_STYLE
#define FETT263_TWIST_ON_NO_BM
#define FETT263_SWING_ON
#define FETT263_DISABLE_COPY_PRESET
#define FETT263_MOTION_WAKE_POWER_BUTTON
#endif
#ifdef CONFIG_PROP
#include "../props/saber_fett263_buttons.h"
#endif
#ifdef CONFIG_PRESETS
Preset blade_in[] = {
...
};
BladeConfig blades[] = {
{ 2915,
WS281XBladePtr<116, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3>>(),
SimpleBladePtr<CreeXPE2WhiteTemplate<50>, NoLED, NoLED, NoLED, bladePowerPin4, -1, -1, -1>(),
CONFIGARRAY(blade_in), "full_txq"
},
{ 3340,
WS281XBladePtr<21, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3>>(),
SimpleBladePtr<CreeXPE2WhiteTemplate<50>, NoLED, NoLED, NoLED, bladePowerPin4, -1, -1, -1>(),
CONFIGARRAY(blade_in), "seventeen_cm"
},
{ 5715,
WS281XBladePtr<4, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3>>(),
SimpleBladePtr<CreeXPE2WhiteTemplate<50>, NoLED, NoLED, NoLED, bladePowerPin4, -1, -1, -1>(),
CONFIGARRAY(blade_in), "blade_plug"
},
{ NO_BLADE,
WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3>>(),
SimpleBladePtr<CreeXPE2WhiteTemplate<50>, NoLED, NoLED, NoLED, bladePowerPin4, -1, -1, -1>(),
CONFIGARRAY(blade_in), "no_blade"
},
};
#endif
#ifdef CONFIG_BUTTONS
Button Button1{BUTTON_POWER, powerButtonPin, "pow"};
#endif