Replies: 14 comments 19 replies
-
|
@Praetir Interesting idea. In anycase, the idea with GUIslice would like ex04_ard_ctrls_pin I just slapped an example together of using LCD, say a 16 by 2 screen. Note I did not even try to compile this code since its only meant to give you the basic idea. Good Luck and let us know how you make out. If you can't get GUIslice to work post a request to my GUIslice-Solutions and I'll create a working example. Paul-- |
Beta Was this translation helpful? Give feedback.
-
|
@Praetir I just remembered this thread: -- Paul |
Beta Was this translation helpful? Give feedback.
-
|
@Praetir I added an example to my GUIslice-Solutions thats uses the rotary encode to move through menu items. Paul-- |
Beta Was this translation helpful? Give feedback.
-
|
@Praetir Well. EasyButton can do the same things see this example: However, I'll take a look at the EncoderButton Library and let you know what I find. |
Beta Was this translation helpful? Give feedback.
-
|
@Praetir Having played with the EncoderButton library I can see why you would be confused as to how to use it with GUIslice. Paul-- |
Beta Was this translation helpful? Give feedback.
-
|
@Praetir ??? and compiling causes all library files like GUIslice.c to be pulled in if you use Arduino IDE (I'm using version 1.8.19) |
Beta Was this translation helpful? Give feedback.
-
|
@Praetir Ok. Be sure to pull in the latest version: Release v0.17.2 My best guess is a problem with your config file causing a #define failure. |
Beta Was this translation helpful? Give feedback.
-
|
@Praetir For some reason I get: |
Beta Was this translation helpful? Give feedback.
-
|
@Praetir Try changing line 145 from 0 to 1 in your esp-tftespi-default-notouch.h file Paul |
Beta Was this translation helpful? Give feedback.
-
|
@Praetir Edit esp-tftespi-default-notouch.h and see if that helps |
Beta Was this translation helpful? Give feedback.
-
|
@Praetir You need the combination If it still fails post your esp-tftespi-default-notouch.h again. which would give the errors you are getting. |
Beta Was this translation helpful? Give feedback.
-
|
@Praetir Actually now even I'm confused. don't change anything. I'll look into this further... |
Beta Was this translation helpful? Give feedback.
-
|
@Praetir Ok. I think I figured it out DRV_TOUCH_INPUT doesn't mean you are using touch it really means you are using GPIO pins... |
Beta Was this translation helpful? Give feedback.
-
|
@Praetir did you remove DRV_TOUCH_NONE? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In my project, I have 4 text buttons and 2 toggle buttons I want to be able to cycle through with a rotary encoder. The rotary encoder button should select the currently highlighted button.
A) What do I pass to the callback CbBtnCommon?
B) How do I automatically create an array for the buttons to use with the callback? This would be much easier than needing to hard code an array of pointers or names.
C) I am not sure if it would be best to have an array of pointers or names because I still need to be able to change each button to a different color as I cycle through.
Hopefully, this makes sense. I am no pro in scripting.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions