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

[WIP] I/O and matrix update #1977

Closed
wants to merge 8 commits into from
Closed

[WIP] I/O and matrix update #1977

wants to merge 8 commits into from

Conversation

jackhumbert
Copy link
Member

This is an attempt to introduce standard ways of reading from/writing to pins with these functions, where p is a pin like B4:

PIN_VALUE(p) // input at p - should be read as true or false
DDR_OUTPUT(p) // set p to output
DDR_INPUT(p) // set p to input
PORT_HIGH(p) // set p to high / 1
PORT_LOW(p)  // set p to low / 0

@jackhumbert
Copy link
Member Author

Implemented in #3968.

@jackhumbert jackhumbert closed this Oct 2, 2018
@fauxpark fauxpark deleted the matrix_update branch March 31, 2021 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants