Monday, November 2, 2020

S-Core firmware 0.97: Add nonvolatile user flywheel speed profiles

In the past I envisioned most blasters being run by default at full permitted velocity. If the game mandated less than the flywheel system's critical velocity for safety, that would normally be set with the tournament lock. Of course it would - if you can change it on the field, how could it ever be legal? However, by numbers, most games are quite casual and their playerbases quite mature, and they do not impose the use of the tournament lock, hence the typical usage pattern of adjustable-speed T19 in the wild is that players leave their tournament locks maxxed out and dial their blaster up on the chrono in user speed mode before playing.


This usage of the user speed adjustment mode with no means to save the resulting setting presents a number of problems. One, you have to dial the thing on the chrono every time. Two, if you shut down your blaster for any reason, you just lost your velocity setting. Three, you can't switch between canned velocity settings.

https://drive.google.com/file/d/1czPJ6wRAeR365x6zpS-CtlbzdjfZ84LU/view?usp=sharing

So I made a quick tweak that uses the selector position at boot time to choose a user-defined speed setting in EEPROM to either load (normal boot) or save to (speed config mode). As such, you can dial each in once and next time you want to use that setting, just put the selector in the requisite position before powering up.


Attempting to load a speed setting that is invalid or above the current tournament lock setting will throw a non-terminal Code 53, then save the current tournament lock setting to that profile, and begin normal operation. This will happen if you try to use a setting that has never been saved to (such as just after flashing), or if you try to use an old setting that is now higher than the tournament lock after lowering the tournament lock setting.

No comments:

Post a Comment