Hey! I have a question about the possibility of finding BladeID values without using scanid
for Proffie V3.9 boards. I want to install a chassis with a Shtok rotary PCB connector with a BladeID resistor.
Nowadays, there are a lot of chassis available where it’s not possible to connect the board to a computer through USB while the chassis is inserted in the hilt. So I was wondering how you would be able to get the BladeID values without reading it through Arduino. Would knowing the resistor value suffice? Can it be calculated? Or is there another way to determine those values?
Also, what resistor value would be recommended for a rotary chassis connector?
Put this in your config file:
#define SPEAK_BLADE_ID
I’ll give it a try, thanks
Just out of interest Prof, my new prop obviously has the run bladeid on demand button-press (three fast clicks of main button). If I used this define, would the saber read aloud the scan value that it detected?
Be aware that it uses TALKIE by default. If you wanted to use the voicepack/sound library wav files instead, you could add this to the prop
#ifdef SPEAK_BLADE_ID
void SpeakBladeID(float id) override {
if (&SFX_mnum) {
sound_library_v2.SayBlade(); // V2 sound lib required
sound_library_.SayNumber(id, SAY_WHOLE);
} else {
PVLOG_NORMAL << "** No mnum.wav number prompts found.\n";
beeper.Beep(0.25, 2000.0);
}
}
#endif
although higher NOBLADE numbers might be an issue due to no “million” or “billion” prompts.
1000021056.00
will be read as “one-thousand-thousand-twenty-one-thousand-fifty-six”
whereas TALKIE will say “one-thousand-million…”
2 Likes