Is it possible to create executable files in Windows to control the BASIC STAMP mc? Like for exapmle compiling a .exe in QBASIC and then downloading it to the mc.
1) Please don't post duplicate messages. You can delete your message by clicking on the X icon in the upper right hand corner of the message box.
2) You have to create programs specifically for the Basic Stamp (in Parallax Basic). The Stamp Editor is an IDE (Integrated Development Environment) that combines an editor with a compiler and downloader. The Stamp Editor can save the compiled program as a Windows file for downloading later to the Stamp. The Editor can also create an .exe file that includes the compiled program and a downloader. When it's run, it downloads the program to a connected Stamp. This is used when a Stamp programmer wants to be able to distribute a finished program to customers who may need to update their Stamp-based system, but without distributing the source code with the Stamp Editor.
3) QBASIC is a compiler specifically for Windows and an Intel processor. It can't be used to compile programs for a Stamp.
If by "standalone application" you mean an application that runs on a Stamp without an attached PC,
most Stamp applications are standalone. Once the Stamp Editor downloads the program to the Stamp
it is stored in the EEPROM on the Stamp module. Whenever you reset the Stamp including when you
power it up, the stored program will begin executing. Unless you write your program to require the
presence of a PC, there's none required. Using a DEBUG statement without a PC attached will cause
the debug information to be transmitted out the programming serial port. There's no checking to make
sure there's a PC present. If you use a DEBUGIN statement, then there has to be a PC or other serial
device attached to the programming port because the DEBUGIN statement waits for data to be received.
Mike Green, you said
"The Editor can also create an .exe file that includes the compiled program and a downloader. When it's run, it downloads the program to a connected Stamp"
Could you please explain where to find this option and how to use it.
The best reference is the BS Syntax and Reference Manual. It includes a section on the IDE. To create an EXE, use the Generate Object Code on the file menu.
Comments
2) You have to create programs specifically for the Basic Stamp (in Parallax Basic). The Stamp Editor is an IDE (Integrated Development Environment) that combines an editor with a compiler and downloader. The Stamp Editor can save the compiled program as a Windows file for downloading later to the Stamp. The Editor can also create an .exe file that includes the compiled program and a downloader. When it's run, it downloads the program to a connected Stamp. This is used when a Stamp programmer wants to be able to distribute a finished program to customers who may need to update their Stamp-based system, but without distributing the source code with the Stamp Editor.
3) QBASIC is a compiler specifically for Windows and an Intel processor. It can't be used to compile programs for a Stamp.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
most Stamp applications are standalone. Once the Stamp Editor downloads the program to the Stamp
it is stored in the EEPROM on the Stamp module. Whenever you reset the Stamp including when you
power it up, the stored program will begin executing. Unless you write your program to require the
presence of a PC, there's none required. Using a DEBUG statement without a PC attached will cause
the debug information to be transmitted out the programming serial port. There's no checking to make
sure there's a PC present. If you use a DEBUGIN statement, then there has to be a PC or other serial
device attached to the programming port because the DEBUGIN statement waits for data to be received.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
"The Editor can also create an .exe file that includes the compiled program and a downloader. When it's run, it downloads the program to a connected Stamp"
Could you please explain where to find this option and how to use it.