-
Notifications
You must be signed in to change notification settings - Fork 75
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
M0 & M1 optional? #11
Comments
OK, just had a look through the source code. This is not an option so I will need to modify my copy of the library if I continue down that path. |
the latest source code allows -1 for M0 and M1
Thanks,
Kris Kasprzakkris.kasprzak@yahoo.com
On Tuesday, October 22, 2019, 10:30:53 PM CDT, tqueale <notifications@github.com> wrote:
OK, just had a look through the source code. This is not an option so I will need to modify my copy of the library if I continue down that path.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
It appears that the changes for M0 & M1 also assume that Aux is also not used as you never set pinmode for Aux if M0 & M1 are set to -1. That should not be the case as Aux is still very valid. |
Should I raise a new issue for the query about the use of a bit-wise and (&) at line 61 where I believe a logical and (&&) was intended? |
I wish to always use my unit in 'normal' mode (M1 & M0 both LOW). Is there an option to assign -1 to these pins during creation of the EBYTE object, similar to that provided for the Aux pin? Both M0 & M1 would be hard wired to Gnd. Saves 2 I/O lines as well.
The text was updated successfully, but these errors were encountered: