Go Down

Topic: Hello, I need your help. can anyone have an example code for a graphical display (Read 9 times) previous topic - next topic

alexssey163

I can not find anywhere an example of the menu on this screen. :~
Help me please

retrolefty

You would have to supply us with a link to your specific display device to get any help with that.

Lefty


alexssey163

I only have a display http://www.pjrc.com/teensy/td_libs_GLCD.html
. I would have any example of three or four buttons. and then I'll deal.
Help me please


retrolefty


I only have a display http://www.pjrc.com/teensy/td_libs_GLCD.html
. I would have any example of three or four buttons. and then I'll deal.



Well there are two example sketches included in the library shown that supports that display.

Lefty


alexssey163

A menu is there? I need three separate programs. In every change settings. With subsequent displays .1. Temperature to 10 degrees 40 degrees 60 degrees .2 depending on the temperature of the LED color will change. .2 Red yellow green. dependence on the illumination .3 include servo at the right time. With the given parameters.
Help me please

retrolefty

It sounds like you are asking help to write a complete application, rather then just how one sends data to your graphical display? That is a very large request and I'm not sure anyone would attempt to do that for you.

However if you write a sketch and it doesn't do what you want, you could then post it here and possibly get suggestions on how to fix it.


Lety


alexssey163

Yes, quite right. I'll do myself. I'm just an example of this would be under the display. At least with one click. I have a code, but it does not fit in the message (max 9500 characters) :(. And I do not know how to accommodate. There is the code I can not figure out how to enable the button. But I would gladly have placed this code. if I knew how to do it. And if it is at least as it will help me in my problem.
Help me please

alexssey163

I found an example of phi menu. :) http://liudr.wordpress.com/libraries/phi-menu/. Phi-menu_20110312. And I want to ask. is it possible to display this in the code. Substitute for my graphic display? . Or is it very difficult?.
Help me please

liudr


I found an example of phi menu. :) http://liudr.wordpress.com/libraries/phi-menu/. Phi-menu_20110312. And I want to ask. is it possible to display this in the code. Substitute for my graphic display? . Or is it very difficult?.


I understand now why you PM'ed me for help. If you mentioned that link I would know what was going on.

I have already stopped supporting that library but instead rolled out the improved version the phi_prompt on the same blog site:

http://liudr.wordpress.com/libraries/phi_prompt/

The library is in its second release. I've promised to port it to some graphic display if given time but I didn't have time, plus I was fixing its various features.

Porting it to the GLCD IS part of my next step though. My expectation is maybe in the winter.

Meanwhile check out this one instead. The library is supposed to work on both glcd and character lcd.

http://code.google.com/p/m2tklib/


alexssey163

I can not understand where is the mistake  :~ And how to fix?
C:\arduino-0021\libraries\M2tklib\utility\m2ghglcdubf.cpp: In function `uint8_t m2_gh_glcd_ubf(_m2_gfx_arg*)`:
C:\arduino-0021\libraries\M2tklib\utility\m2ghglcdubf.cpp: 51:error: invalid conversion from `const char* to `char*`
C:\arduino-0021\libraries\M2tklib\utility\m2ghglcdubf.cpp: 51:error: initializing argument i of `void  dText::Puts(char*)`
Help me please

liudr

We'll need your entire code in order to help you fix it. Use the "#" button (in red square) to include code.

alexssey163

Use the "#" button (in red square) to include code.
And in another version of Arduino 0017 is another mistake.
71: error glcd.h: No such file or directory in function `void setup()`:
in function `void loop()`:
I can try another version of Arduino ....?
Help me please

liudr


Go Up