Skip to content

Robust deep sleep mode and more vivid clash FX

Compare
Choose a tag to compare
@Protonerd Protonerd released this 01 Mar 21:14
· 47 commits to master since this release
89a1afb
Changes clash sensitivity and the way how the clash FX works

FX-SaberOS.ino:
- reworked clash, on clash, the state machine will change to clash mode and it will flicker for the duration of the clash FX parameter with the clash color
- reset deep sleep mode counter upon exiting config mode
- deleted swing detection conditional statements for BLADE_X and BLADE_Z (no one ever used them...)
- made exit from deep sleep mode more robust, removed delays, still suspect either a bus contention or WD, because in fact the controller wakes up but keeps hanging in an unknown state when the saber cannot be woken up.
- some compiler directive changes due to Stardust V3 board

Config_SW.h:
- increased nearly all supress and fx duration definitions
- increased CLASH_THRESHOLD from 10 to 15 as at 10 it was too sensitive to fast wrist movements with the new int based clash detection

Config_HW.h:
- now can choose between Stardust V3, Stardust V2 and Prime V1 (also for home brew) boards

Light.cpp:
- changes mainly to flicker due to new clash flicker
- compile directive changes due to the new board types

Soundfont.h:
- compile directive changes due to the new board types

Buttons.cpp:
- in single button mode a click will activate blaster-deflect-on-the-move
- if color profiles are used (i.e. not Gravity Color) exit from config mode in single button mode on long PRESS_ACTION

Deleted LICENSE and README.md files, obsolete