You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use multiple different Arduino boards with different displays and different configurations. I was wondering if it was possible to have configuration specific files with the project and keep the GUIslice library generic?
As a specific example, I am currently using an Arduino MKR WiFi 1010 with the adafruit touch screen breakout (ili9341-ft6206). To make this work correctly I have had to change the configuration file for this specific setup:
#define GSLC_USE_PROGMEM 0
and
// For shields, the following pinouts are typically hardcoded
#define ADAGFX_PIN_CS 7 // Display chip select
#define ADAGFX_PIN_DC 6 // Display SPI data/command
#define ADAGFX_PIN_RST 0 // Display Reset
However, if I use a different set up (i.e. an Arduino Uno with the shield rather than the breakout) these will change.
Another option might be to have a separate instance of the GUIslice library for each sketch (ideally under the sketch folder) - but I can't work out how to do that! A quick search suggests it isn't possible using the standard Arduino IDE (but I might be wrong!).
The text was updated successfully, but these errors were encountered:
Feature Request or Enhancement
I use multiple different Arduino boards with different displays and different configurations. I was wondering if it was possible to have configuration specific files with the project and keep the GUIslice library generic?
As a specific example, I am currently using an Arduino MKR WiFi 1010 with the adafruit touch screen breakout (ili9341-ft6206). To make this work correctly I have had to change the configuration file for this specific setup:
and
However, if I use a different set up (i.e. an Arduino Uno with the shield rather than the breakout) these will change.
Another option might be to have a separate instance of the GUIslice library for each sketch (ideally under the sketch folder) - but I can't work out how to do that! A quick search suggests it isn't possible using the standard Arduino IDE (but I might be wrong!).
The text was updated successfully, but these errors were encountered: