-
Notifications
You must be signed in to change notification settings - Fork 18
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
GPIOA Problem #5
Comments
A lot of changes were done, so it may happen that your problem got fixed by now. |
Hi, I have fixed that issue about 5 months ago I corrected to this: Your code - #define write8(c) { uint32_t val = (((c^0x00FF)<<16) | c)<<TFT_DATA_SHIFT; \ takes 16 bit of the pins that is why PA10 to PA15 were occupied , I coudnt work with them since they always change. the fix I made with help of a software engineer is to limit that part of the code to true 8 bit. (so I can use the other pins) |
I close this as it seems that has been fixed. |
Dear Sir
Thanks for the lib.
It seems that the library (even when it set to - #define TFT_DATA_LOW_NIBBLE 1) does affect all GPIOA ports, I use PA14, PA15 to control relays and I see that with no action at all sometimes they change to HIGH mode and cannot be changed to LOW even when I run command digitalWrite(PA14,LOW) they do stay on high mode (I don’t have anything else in my code that address those pins but the relay switch code).
Also checked with GPIO PA10, PA11,PA12 and it has the same problem...
I think that something is wrong with this code:
If I change the pins from PA to PB (pins) or PC (pins) everything works well.
I don’t know what to look in your library that can affect those pins…
This Is a part from the H file.
The text was updated successfully, but these errors were encountered: