GithubHelp home page GithubHelp logo

adafruit_ili9341_menu's People

Contributors

kriskasprzak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

adafruit_ili9341_menu's Issues

Skip titlebar when scrolling

Is it possible to exclude titlebar when we scroll through menu. If we want to exit we would use another button which would be only used to exit or go back

Edit Menu problem.

Hi Kris,
Thanks for your wonderful library :)
Im having a litte headache getting around this problem, I'm creating an Editmenu where I can scroll/select a number of predifined options, those options are in a char array like this:

const char *MidiINChannels[17] = {"ALL","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16"};

MidiINMenu.init(MENU_TEXT, MENU_BACKGROUND, MENU_HIGHLIGHTTEXT, MENU_HIGHLIGHT, MENU_SELECTTEXT, MENU_SELECT,DATA_COLUMN, ROW_HEIGHT, ROWS, "Midi IN settings", FONT_ITEM, FONT_TITLE);

MidiINOption5 = MidiINMenu.addNI("Midi Channel", <??? what here ??? >, 0, sizeof(MidiINChannels) / sizeof(MidiINChannels[0]), 1, 0, MidiINChannels); 

If I want to pre-populate the option let say with value "ALL" taken from my flash if this value is a String and addNI is expecting a float?
Is the data parameter the index of my char array?

I hope it's clear what I'm trying to say/achieve 😄

Encoder direction is inverted when scrolling options of char array

Hi,

trying the Encoder example I noticed that when scrolling for example the C_NAMES options the moving direction is inverted.

const char *C_NAMES[46] = {"White", "Black", "Grey", "Blue", "Red", "Green", "Cyan", "Magenta",
                           "Yellow", "Teal", "Orange", "Pink", "Purple", "Lt Grey", "Lt Blue", "Lt Red",
                           "Lt Green", "Lt Cyan", "Lt Magenta", "Lt Yellow", "Lt Teal", "Lt Orange", "Lt Pink", "Lt Purple",
                           "Medium Grey", "Medium Blue", "Medium Red", "Medium Green", "Medium Cyan", "Medium Magenta", "Medium Yellow", "Medium Teal",
                           "Medium Orange", "Medium Pink", "Medium Purple", "Dk Grey", "Dk Blue", "Dk Red", "Dk Green", "Dk Cyan",
                           "Dk Magenta", "Dk Yellow", "Dk Teal", "Dk Orange", "Dk Pink", "Dk Purple"};

If i'm on "Black" and I rotate the encoder clockwise it moves to "White" and not to "Grey", same happens with all other examples.

The only difference with your example is that I'm declaring the lenght of the array => const char *C_NAMES[46]

Leonardo?

The docs say arduino uno is not supported bit it should work on mega.
Will it work on leonardo? I have a leonardo board with adafruit 2.8” capacitive touch screen (ili9341).

i’m not sure why it wouldn’t work on an arduino uno? Maybe because of memory limits??

suggestive change....

While this library was created for Adafruit_ILI9341 drivers, the library can be adapted to other display drivers. Note the driver must use the Adafruit_GFX libraries. To allow other display drivers, modify the lines in the .h and .cpp files to allow a different driver to be passed in. For example change call such as SliderH(ILI9341_t3 *disp,... to SliderH(Adafruit_RA8875 *disp,... and in the .cpp files you may have to change how fonts are passed in using either setFont(&SomeFont) or setFont(SomeFont) 

firstly i love your work! you have the absolute best tft graphing and charting work i have seen for the micro controller classes, and i really do above all else appreciate how much time and effort you have put into this.

as for this menu thing, it is a serious piece of art.

i have been trying to port it to the more general TFT_eSPI(bodmer), which with other codes you have has been a great success,however with this one there is an issue pertaining to fonts, i have tried several font formats and i keep getting one of two errors.

invalid conversion from 'const GFXfont*' to 'int' [-fpermissive]  

and

invalid conversion from 'uint8_t' to 'int' [-fpermissive]

i have tried about 30 fonts, between the ones availble online and the ones available from generators and even the ones that are available with the ili t3 library, im not sure if it is something i am doing or ...

it seems to halt here:

// easy way to include fonts but change globally
#define FONT_SMALL  Arial_12_Bold        // font for menus
#define FONT_ITEM   Arial_16             // font for menus
#define FONT_TITLE  Arial_24_Bold        // font for all headings

thanks for your time

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.