Then use the "file transfer" or "text transfer" feature of the terminal program to send the program file to the QED Board. To send a program to the QED Board, edit the "source code" (that is, the QED-Forth commands and any relevant comment statements) into a text file and save the file on the PC's disk. Ideally, you should set up your PC so that you can switch between the editor and terminal modes quickly and easily. Thus you can rapidly edit your source code into files which can be downloaded (transmitted) to the QED Board. The terminal program allows you to send and receive characters via the PC's RS232 serial port to communicate with the QED Board. The text editor allows you to create and modify text files and save them on the computer's disk drive. All you need is a text editor program and a terminal emulation program that run on your PC. For all but the shortest programs, this would be a tedious process. If you wanted, you could program a QED application by typing in your application program one line at a time from a terminal. This encourages a productive iterative programming style. QED-Forth's onboard interpreter, compiler, and assembler compile your program into executable code in the QED Board's memory, and the code can be immediately executed by simply stating the name of a routine. The QED Board accepts serial commands from a terminal which is typically a personal computer (PC).
0 Comments
Leave a Reply. |