Shop OBEX P1 Docs P2 Docs Learn Events
Store multiple programs in different slots of the boe-bot eeprom — Parallax Forums

Store multiple programs in different slots of the boe-bot eeprom

kingbpkingbp Posts: 22
edited 2012-04-02 18:35 in General Discussion
Hey I wanted to know how to store two or more programs in different slots of the boe-bot eeprom. Lets say I have two programs, Program X and Program Y I want both programs to be stored in the boe-bots memory at the same time and not overwrite each other. Is this possible and if so how can i do this?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2012-04-02 18:35
    The Stamp Editor can load a program into one of 8 slots specified by the $STAMP directive. Look at pages 68-70 of the Basic Stamp Syntax and Reference Manual. This description should be in the Stamp Editor's help files as well. Also look at the description of the RUN statement.

    You'll need another program to act as a selector for the other programs. This program would be the one in slot zero and would start up on a reset. It would decide which other slot to execute and do a RUN on that slot number.
Sign In or Register to comment.