basic stamp beginner pls need help!
jzmnavarro
Posts: 16
Hi guys!
I am using BS1, obviously i need to use pbasic1.0 right?, i want to make a program that has a menu when you enter a number of the menu using keyboard it will go to the certain function:
example:
MENU:
1. CREATE
2. SAVE
3. RUN
Enter menu: (example i choose 3)
RUN menu will execute.
Hope u can help me.
Thanks
I am using BS1, obviously i need to use pbasic1.0 right?, i want to make a program that has a menu when you enter a number of the menu using keyboard it will go to the certain function:
example:
MENU:
1. CREATE
2. SAVE
3. RUN
Enter menu: (example i choose 3)
RUN menu will execute.
Hope u can help me.
Thanks
Comments
You could add two push buttons to two I/O pins. Push one button and the BS1 displays the next choice or displays an asterisk next to the next choice. After the last choice, the selection wraps around to the beginning. Push the 2nd button and the BS1 acts on the selected choice.
You could use a 2nd USB to serial adapter and wire its Tx and Rx pins to two BS1 I/O pins. The BS1 could use SERIN and SEROUT to do the menu selection and display the way you suggest. The first USB connection (the programming port) would just be used to provide power (and debug the program).