Hi folks,
I'm pretty new at this and not really well-versed at microcontroller programming.
I bought the Hellowing M4 Express and used the "Eye" firmware with modified textures on it. So far, so uncomplicated.
For another project, I'm currently trying to get the "Eye" code running on a Feather M4 with a ST7789 connected. The testing of the LCD went without problems.
Yet, I can't simply use the code from the Hellowing M4 on the Feather M4 since the pinouts on both boards are completely different. By examining the "Eye" source code, I just couldn't find any place where I could redefine the pin settings.
Can anyone give me a few hints how to get this problem solved?
Thanks!
Matthias
Feather M4 Code transfer problems
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_carter
- Posts: 29150
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Feather M4 Code transfer problems
The M4 Eyes uses the Arcada library for the SPI TFT support:
https://learn.adafruit.com/adafruit-hal ... d-settings
https://github.com/adafruit/Adafruit_Arcada
That library uses several pre-defined boards:
https://github.com/adafruit/Adafruit_Ar ... ter/Boards
It'll take some looking through that library to see how it #def things.
https://learn.adafruit.com/adafruit-hal ... d-settings
https://github.com/adafruit/Adafruit_Arcada
That library uses several pre-defined boards:
https://github.com/adafruit/Adafruit_Ar ... ter/Boards
It'll take some looking through that library to see how it #def things.
- matthiasmuehe
- Posts: 2
- Joined: Tue May 10, 2022 5:26 am
Re: Feather M4 Code transfer problems
That's been really helpful, thanks you.
Since I'm rather a newbie at this: would you recommend to redefine the pins in the main code after the arcada library has been called or write an Arcada board specifically for the Feather M4 Express? Can I even add something new to it without producing some major trouble?
Since I'm rather a newbie at this: would you recommend to redefine the pins in the main code after the arcada library has been called or write an Arcada board specifically for the Feather M4 Express? Can I even add something new to it without producing some major trouble?
Please be positive and constructive with your questions and comments.