18.11.2014 Views

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4<br />

First, type NEW to erase the program. To restore your program by uploading it from disk, set<br />

up your host’s software to upload, or send, an ASCII file, and enter the name of your<br />

previously downloaded file. As the file loads, you’ll see each program line on screen. <strong>The</strong><br />

file will contain a READY prompt after the program listing. This causes BASIC-52 to<br />

display an error message, which you can ignore. Type LIST to view the uploaded program,<br />

and type RUN to run it.<br />

With BASIC-52 programs on disk, you can use any text editor to view or modify the<br />

program. Save the file as pure ASCII text, with no formatting commands added. You can<br />

also use your text editor to create a program from scratch, then upload it to BASIC-52, rather<br />

than typing the lines using BASIC-52’s line editor.<br />

64 <strong>The</strong> <strong>Microcontroller</strong> <strong>Idea</strong> <strong>Book</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!