-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Added GPIO for SPI for Universal Touch Screen #21025
Conversation
a few comments:
|
Good point, so it should be
Yes currently I only parse SPI, but happy to add the others
Needs to be added indeed, let's do this in a separate PR
Nice
Sure, we are not in any hurry, let's take the necessary time to have a smooth transition |
I renamed the GPIOs. Ok to merge ? |
OK, thanks! |
|
Description:
@gemu2015 please review before merging.
Changes:
SPI TS CS
,SPI TS RST
andSPI TS IRQ
gpio types to templates*
by the GPIO from template for lineUTI:
int8_t replacepin(char **cp, uint16_t pin)
toint8_t replacepin(char **cp, int16_t pin)
to allow negative value and replace unassigned GPIO with-1
(otherwise the value is 32767)Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass