Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional Python Software Scripts #143

Merged
merged 7 commits into from
Mar 27, 2021

Conversation

dmadison
Copy link
Contributor

Adds two new Python software scripts:

  • flap_test.py, which homes the display and then runs through all flaps one at a time (1s between).
  • terminal.py, which passes strings from input prompts to the display, checking for lower/uppercase alternatives and padding with spaces.

This also moves the print_status and ask_for_serial_port functions to the splitflap module to share them between scripts, and adds a get_num_modules function.

For sending arbitrary text from the terminal to the display
For testing all flaps simultaneously across all modules.
This way the display doesn't refresh the home flap if FORCE_FULL_ROTATION is set to 'true', and it will end on the home flap ready for another run.
For a cleaner exit than Ctrl + c
Copy link
Owner

@scottbez1 scottbez1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@scottbez1 scottbez1 merged commit 0afaf9c into scottbez1:master Mar 27, 2021
@dmadison dmadison deleted the python-scripts branch March 27, 2021 21:05
dmadison added a commit to dmadison/splitflap that referenced this pull request Nov 19, 2023
Adds two new Python software scripts:
* **flap_test.py**, which homes the display and then runs through all flaps one at a time (1s between).
* **terminal.py**, which passes strings from input prompts to the display, checking for lower/uppercase alternatives and padding with spaces.

This also moves the `print_status` and `ask_for_serial_port` functions to the `splitflap` module to share them between scripts, and adds a `get_num_modules` function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants