Skip to content

Commit

Permalink
Disable sparkle by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlambchop committed Jan 6, 2024
1 parent e1a3357 commit 6dbcaad
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions firmware/snowflake/src/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,16 @@ void loop()
}
}


//Note - the sparkle voice detection is disabled by default!
//To enable:
// - View your device in the Particle console
// - On the right side where there are functions listed, find 'settingsWrite'
// - Into this box, please put sparkleEnable=1 and then press Call (making sure your device is online)
// - It will enable this feature on your device.
// - You can also just change bool sparkleEnable = false; to true in the code :)
static void sparkleDetectedCallback( void ) {
Log.info("Sparkle Detected!");
bool sparkleEnable = true;
bool sparkleEnable = false;

String sparkleEnableSetting = settings.get("sparkleEnable");
if (sparkleEnableSetting.length() > 0) {
Expand Down

0 comments on commit 6dbcaad

Please sign in to comment.