Show Posts
Pages: [1]
1  Development / Other Software Development / Re: OpenMoCo Menu Manager - completely automated menus for Arduino on: December 22, 2012, 12:51:04 pm
Hi drone

Is there a way to use my own function for the input? I have a function for my 4 analog buttons, the incremental encoder and the encoder push button. With your libary I can only use the 4 analog button and not a combination of the two... Is it possible to call the menu functions directly? I have debounced my analog buttons already.

greets mike
2  Using Arduino / Networking, Protocols, and Devices / Use Android phone as webserver over usb on: December 20, 2012, 02:54:29 am
I found many solutions for android arduino over usb serial with android apps....
I found many solutions for controlling arduino WITH ethernet over internet with a android phone....

But I search a solution to install a webserver on a android phone and communicate with the arduino over the serial usb interface. I have no ethernet shield, but a android phone for free. smiley maybe I can use it...? Any ideas?

3  Using Arduino / Displays / Re: MENWIZ: yet another character lcd menu wizard library on: December 16, 2012, 07:42:32 am
In 1.1.0 per default when you run a function you not need a confirmation? I have to set

Code:
s1->setBehaviour(MW_ACTION_CONFIRM,true);

manually to recieve a confirmation... does it change from 1.00 to 1.1.0 or is it a bug?
---------------------------------
When I use the 4 button mode
 
Code:
menu.addUsrNav(navMenu,4);
I can not change the values of a integer or something else. I click on the int value but can not change it... is it a bug?
---------------------------------

When I use my own navMenu, are there any library files, that I can delete?

Code:
#include <LCD.h>  <--- Do I need this library?
#include <LiquidCrystal.h>
#include <buttons.h> <--- Do I need this library?
#include <MENWIZ.h>
#include <EEPROM.h> 

Maybe it saves me more memory?


4  Using Arduino / Displays / Re: MENWIZ: yet another character lcd menu wizard library on: December 16, 2012, 07:11:11 am
Hi brunialti

I use your Menu library Version 1.0.0, but have not enough memory for all my menus I want. I will test your new version 1.1.0.

 I use a 2 line LCD with 20 characters, so i initialize it with

Code:
menu.begin(&lcd,20,2);

Then I want my custom menu for my analog buttons. What is the second parameter of the
Code:
menu.addUsrNav(navMenu,1);

function for? My nav Menu works...but maybe it's a important int?  smiley
Edit: Ok, I found the parameter in the cpp file. It is 4 or 6 for four button or six button mode. Something for the manual...  smiley

I want use the Splash screen. You write, that I should not use the sprintf function. But in the demo code you have it with sprintf. Could you explain the the code with the following example

Code:
 static  char buf[7];
  strcat(menu.sbuf,"Uptime (s): ");strcat(menu.sbuf,itoa((int)(millis()/1000),buf,10));//2nd lcd line
  strcat(menu.sbuf,"\nFree mem  : ");strcat(menu.sbuf,itoa((int)menu.freeRam(),buf,10));//3rd lcd line
  menu.drawUsrScreen(menu.sbuf);

This is for the default menu (not Splash, but it's the same problem)
I tried to modify the code, but it does not work. (Only a white screen and the arduino hangs...)

Sorry for my bad english... smiley

greets mike


Pages: [1]