Add Ability to Set Individual Thresholds For Each Photoresistor#4
Open
Ay1tsMe wants to merge 15 commits intoLiBoard:mainfrom
Open
Add Ability to Set Individual Thresholds For Each Photoresistor#4Ay1tsMe wants to merge 15 commits intoLiBoard:mainfrom
Ay1tsMe wants to merge 15 commits intoLiBoard:mainfrom
Conversation
Author
|
Liboard now can enter "Calibration Mode" if given the c command in a serial monitor. It will then wait to receive either a global threshold value or individual threshold values which update the THRESHOLD variable. This is used in conjunction with LiBoard/Python#4 to automatically update thresholds on the fly. Both these PR's aim to address this issue #2 |
feat: '!' command that prints out THRESHOLD variable value
Author
|
You can also enter ! command in serial monitor to show the current value of |
Documentation
feat: Quiet mode command to stop and resume bitboard output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Love the project. I ended up building one myself but because I wasn't able to order the same photoresistor type in big batches, I had to use different photoresistors for each square.
Because they all have different resistant values, I had to adjust the threshold for each individual photoresistor. I've edited the code so that it's easy for users to choose to either set a global threshold or write a matrix for each square.
Hopefully this may be useful for someone who is building one and needs to set thresholds for each square