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 support for Arduino Due and the IDE 1.5.8 #2
base: master
Are you sure you want to change the base?
Conversation
Dear Maurice, first of all thanks a lot for your interest in Pixels/Pixelmeister and for the code you contributed to the Project! I am sorry for my impolite silence during the time - I was totally busy with tons of other things and found a timeframe to return to Pixels library only few days ago. Right now I am incorporating your code into the library. Unfortunately in order to match some naming convention I cannot just merge in automatic mode, so I do everything manually step-by-step. The only question I have is your trick with swap(). Why do you define for ARM a 3-parameter version of it? Right now I have no hardware to test, but from theoretical perspective #define swap(a, b) {int16_t buf = a; a = b; b = buf;} looks quite correct and it compiles it with no problem. Can you please shed some light on it? Thanks in advance and kind regards,
|
hi igor, i added the 3param swap because when i compile in ide 1.5.8 for arduino due i looked in the utft library (because that does compile without errors) and if you like i can compile your version onto one of my due's to see if it greets, maurice
|
Thank you for the prompt reply!
Yes, it would be great! I've already done a commit of a compilable version to Github and published a Pixelmeister update. Also there is a new example PolargraphUI (implements a simple UI framework) in the repository - I'm curious if it will work on DUE. If not, please do not invest much time into it. Thank you again!
|
Hi, i needed your library to work with the arduino Due. I managed to get it working for the due in de 1.5.8 IDE
I changed your lib so the due is supported (at least for the PPI16 SSD1289 parts)
Hope u can use it! :)