-
After spending a couple days looking for a menu system I could use in a little project - GEM seems the best documented and easiest to understand (I'm a rank novice with coding). Your organization and Wiki are the best I've seen! My stumbling block is I am trying to use a display that communicates over I2C. Is that a huge modification? Specifically, I'm working on the Adafruit Feather M0 with a 128 x 64 old "featherwing" |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
👋 Should be no problem to operate your display, as soon as it is supported by one of the graphical libraries that GEM can work with (namely AltSerialGraphicLCD, U8g2 and Adafruit GFX). In your case it is (quite expectedly) supported by Adafruit GFX library. I'd recommend to finish Adafruit tutorial with its basic sketch (just to make sure the display is working correctly) and probably run some other examples that come with Adafruit GFX library. Then supply object constructed with Adafruit GFX library (e.g. Next you would probably need to set correct orientation of the display (according to the Adafruit example And probably run some basic Adafruit GFX specific examples that come with GEM. Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Wow - thank you so much for the response! I do have the display working with other sketches... but I have been trying to modify your simple Example-01_Basic.ino sketch to work with my display and something isn't working. I think I'm confused about what do do with the lines related to communicating with the display:
and I thought it might be something to do with color settings? I'm not sure. I'd be happy to share the full sketch if that's helpful... |
Beta Was this translation helpful? Give feedback.
-
Tested - this works! Thanks again! |
Beta Was this translation helpful? Give feedback.
Let's try specifying colors for the display explicitly. Before
menu.init()
add:And keep
display.display()
in your sketch (especially somewhere inloop()
).