Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Preset update #10

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Preset update #10

wants to merge 4 commits into from

Conversation

rschloen
Copy link
Contributor

Added displays (also sends commands) for new presets: spiral, random 2, arrows, and ABC.

Had limited time so used "brute force" and have arrays for the sequence of actuators for each preset for each position shape. With the exception of random 2 which is generalized.

For sprial, arrow, abcs added placeholder for the different cases(shape)

Added array to store for buttons to turn on for most of the arrow cases.

2intensity doesn't have the switchs since it can't be done without
feedback from the device which isn't available. Can't know which two
random actuators will be actived.
Added arrays to store for the rest of the presets (spiral, ABCs) for
each position type.

Should try to make more efficent in future.
Added activation for the rest of the presets (spiral, 2 intensity, ABCs)

Added another arg to display preset that lets a preset send its own
commands to the device rather than using a firmware command.

Cleaned up initial way of calling the different position in presets.
Now use arraytype and make sure store array has matching name for
each position.

Added function (get_random) to provide the random actuators that
the preset needed.
Minor changes to color of array and position of select arrays.

Cleaned up dead code for text (numbers) on the actuators
Cleaned up dead code for rotation options/dropbox
@rschloen rschloen requested a review from trueb2 February 12, 2021 01:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant