Goto connection Point
Posted: Fri Mar 13, 2015 1:50 pm
Hi Guys
Not sure what is going wrong with my program but i sit in a macro called Menu and scroll down to the various options go do what is needed and then when done scroll to the last option in the menu which is exit i then press the enter key (11) to exit which goes into a decision Key = 11 and then has a go to connection point which jumps out the loop and ends the macro. What happens is say i have 10 menu items and i execute for example item 4 and after executing the instructions i scroll down last item in the menu which is exit menu then press enter it goes back to item 4 i then need to scroll down again to exit and pres enter again and it exits. It seems to totally ignore the go to connection point on the first pass. If i step through it on the PC it seems to work correctly but when i load it to the chip dose not work I cant really test in PC cause i have interrupts running any ideas on how to solve this problem??
Not sure what is going wrong with my program but i sit in a macro called Menu and scroll down to the various options go do what is needed and then when done scroll to the last option in the menu which is exit i then press the enter key (11) to exit which goes into a decision Key = 11 and then has a go to connection point which jumps out the loop and ends the macro. What happens is say i have 10 menu items and i execute for example item 4 and after executing the instructions i scroll down last item in the menu which is exit menu then press enter it goes back to item 4 i then need to scroll down again to exit and pres enter again and it exits. It seems to totally ignore the go to connection point on the first pass. If i step through it on the PC it seems to work correctly but when i load it to the chip dose not work I cant really test in PC cause i have interrupts running any ideas on how to solve this problem??