tag:blogger.com,1999:blog-3025234084286245596.post2656185048399763198..comments2024-03-17T07:15:23.607+00:00Comments on The Making of a Maker: Simple Vertical Menu for Arduino LCD ShieldWisarhttp://www.blogger.com/profile/08937457769749740121noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-3025234084286245596.post-10107076534684563132015-11-25T19:02:03.259+00:002015-11-25T19:02:03.259+00:00how i adding code, pum 1 2,3,4, setting sub menu h...how i adding code, pum 1 2,3,4, setting sub menu have pump 2 setting add value, value 1-100=time X pump2 run time x. .<br />main menu have all pump 1,2,3,4,5 and sub menu have pump1 setting, pump2 setting, etc,,,,,, then all pump has setting can run whitch pump have selekted or all pump (run) button. <br /><br />how adding sub menu,setting number 1-100 and calculate number=x time, pump run time x.i no understand code good yet. masawaanhttps://www.blogger.com/profile/15178030673582286482noreply@blogger.comtag:blogger.com,1999:blog-3025234084286245596.post-2648287586219096252013-10-25T23:39:01.320+01:002013-10-25T23:39:01.320+01:00I am not sure that I understand the question. Wh...I am not sure that I understand the question. When you call the menu routine with your menu structure loaded per the example as menu1:<br /><br />int selection = menuSelection(menu1);<br /><br />The number that corresponds to the users choice from the menu items is passed back as an integer from 0 to the number of items in the list less one.Wisarhttps://www.blogger.com/profile/08937457769749740121noreply@blogger.comtag:blogger.com,1999:blog-3025234084286245596.post-51349104023049210412013-10-25T16:29:38.751+01:002013-10-25T16:29:38.751+01:00but...how can you get anything when an item is sel...but...how can you get anything when an item is selected? a program, or entering the value of a variable, etc..? That's my question at this point :DJavihttps://www.blogger.com/profile/00623892506166028878noreply@blogger.com