And it’s never able to be replicated in Serial Monitor? I can’t think of anything in the prop that would turn sounds off or change volume in normal use. Can you document everything that you’re doing before it happens from the moment you boot to it occurring, maybe it’s some obscure combination of events, I’m just scratching my head otherwise. And time the issue from the moment of boot, not usage just so we can see if maybe it’s tied to the internal clock.
Also, just to rule it out, are you using the recommended SD cards or do you have different SD cards you can try? Also, just to again rule it out, any chance the SD card is moving or shaking loose even temporarily? It just seems like there’s some external variable causing since it’s not repeatable on Serial Monitor and it’s “occassional” and at different times.
Also, try using the default saber.h prop file to see if the prop file itself has anything to do with it or if it’s a global OS issue.
ill try those things…battery contacts seem to hokd the battery tight and the sd card doesnt seem lose when i unscrew the body to check after problem occurs
When it happens, plug in the USB cable and run get_volume
from the serial monitor.
If get_volume
returns zero, you can try set_volume 1000
and see if the volume magically comes back.
Hey Fernando.! I’m new with the whole Twist on and twist off setup on my config. I know I need to define them on my Config file and did but still not getting any response to it. Am I missing something? Let me know thank you.!
Twist gesture is a quick back and forth rotation of the hilt, like revving a motorcycle.
So weird…i reflashed the board with //disable diagnostic commands so that i could enable serial monitor to read…and after reflashing both sabers i have been unable to replicate the problem (ie losing sound after about 8 minutes) after about an hour of testing…i will try again later or tomorrow but for now, im going to play Halo lol. is there any possibility it was a weird quirk and reflashing the board has fixed it? really confused…lol
Heisenbug.
It disappears when you try to observe it.
lol u right prof
That’s what I did but it’s not doing it. Is there something I’m missing on the config file? I defined it but still can’t get to do what I want it to do. Let me know thank you.!
What did you put in your config and are you sure you uploaded it?
You can check defines and controls for my prop here and there’s a gesture explanation at the bottom
if i keep //disabke diagnostic commands will it hurt anything?
I’m not sure if you mean // to comment out that define, or that you mean that you will have that define.
If your config compiles and uploads without DISABLE_DIAGNOSTIC_COMMANDS
, then there is no need to add it. The only reason for adding it is if you run out of flash memory.
yes i mean disable that define. Na dit did upload. Still no reoccurance of the issue after reflashing all sabers…i even swung one saber for nearly 30 min vigorously to inckude blasting and clashing…super super weird lol
this is what my top section of me config looks like. let me know if im missing something. Thanks Fernado.!
#ifdef CONFIG_TOP
#include “proffieboard_v2_config.h”
#define NUM_BLADES 1
#define NUM_BUTTONS 2
#define VOLUME 1800
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 9.35
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#define FETT263_TWIST_ON
#define FETT263_TWIST_OFF
#define FETT263_BATTLE_MODE_START_ON
#endif
Nope, as long as you’re uploading that config then it should work. Most of the time people who have trouble aren’t doing the gesture correctly. Rotate the hilt forward a half turn or so then rotate it back. Practice makes perfect.
I’m still having trouble lol. I’m doing like see on your video but still not happening lol. Should I just try uploading again?
There is no way to answer this question, because you’re not specifying what is going wrong, when it’s going wrong, or what exactly you did.
Just wanted to asked Fernando about the twist gestures for the on and off purposes. I replied but hasn’t gotten back to me yet. No hard feelings Fredrik
Did you read through all of the documentation for OS6?
The top section of your config is missing a lot of the defines I’d expect to see in OS6 per the documentation. I’d start there, make sure read through everything.
Also make sure actually included my prop and did all of the set up for it:
Then make sure it’s actually uploading that config. Change something for your first preset so you can tell that it actually uploaded the config you are editing.
Then if you did all of that and still can’t do it, post a video of what you are doing.