Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
BASCOM AVR, help reference (2007).PDF
Скачиваний:
281
Добавлен:
12.08.2013
Размер:
17.02 Mб
Скачать

© MCS Electronics, 1995-2007

BASCOM IDE

Running BASCOM-AVR

After you have installed BASCOM, you will find a program entry under MCS Electronics\BASCOM-AVR

Double-click the BASCOM-AVR icon

to run BASCOM.

The following window will appear. (If this is your first run, the edit window willbe empty.)

The most-recently opened file will be loaded automatically. Like most Windows programs, there is a menu and a toolbar. The toolbar can be customized. To do this, place the mouse cursor right beside the 'Help' menu.

Then right-click. You can turn on/off the toolbars or you can choose 'Customize'.

page -26-

© MCS Electronics, 1995-2007

This will show the following window:

You have the option to create new Toolbars or the reset the toolbars to the default. To place a new button on a menu bar, select the 'Commands' TAB.

In the example above, the Program Category has been selected and at the right pane, al buttons that belong to the Program-category are shown.

You can now select a button and drag & drop it to the Toolbar. To remove a button from the Toolbar, you drag it out of the Toolbar and release the left mouse button.

On the Options-TAB you can further customize the Toolbar:

page -27-

© MCS Electronics, 1995-2007

To preserve screen space there are no large icons available.

Option

Description

Menus show recent used

With this option the IDE will learn the menu options you

commands first

use. It will show only the most used menu options. The

 

idea is that you can find your option quicker this way.

Show full menus after a short

This option will show the remaining menu options after

delay

short delay so you do not need to click another menu

 

option to show all menu options.

Reset my usage data

This option will reset the data the IDE has collected

 

about your menu choices.

Show Tooltips on toolbars

This option is on by default and it will show a tooltip

 

when you hold the mouse cursor above a toolbar button

Show shortcut keys in Tooltips

This option is on by default and it will show the shortcut

 

in the tooltip. For example CTRL+C for the Copy button.

 

 

File New

This option creates a new window in which you will write your program. The focus is set to the new window.

You can have multiple windows open at the same time.

Only one window can have the focus. When you execute other functions such as Simulate or Program Chip, BASCOM will use the files that belong to the current active program. This is in most cases the program which has the focus.

File new shortcut: , CTRL + N

File Open

page -28-

© MCS Electronics, 1995-2007

With this option you can load an existing program from disk.

BASCOM saves files in standard ASCII format. Therefore, if you want to load a file that was made with another editor be sure that it is saved as an ASCII file. Most programs allow you to export the file as a DOS or ASCII file.

Note that you can specify that BASCOM must reformat the file when it opens it with the Options Environment option. This should only be necessary when loading files made with another editor.

File open shortcut : , CTRL+O

File Close

Close the current program.

The current editor window will be closed. When you have made changes to the program, you will be asked to save the program first. You can then decide to save, cancel, or not to save the changes you have made.

File close shortcut :

File Save

With this option, you save your current program to disk under the same file name. The file name is visible in the Windows caption of the edit window.

If the program was created with the File New option, you will be asked to name the file first. Use the File Save As option to give the file another name.

Note that the file is saved as an ASCII file.

File save shortcut : , CTRL+S

File Save As

With this option, you can save your current program to disk under a different file name. When you want to make some changes to your program, but you do not want to make changes to the current version you can use the "Save As" option. It will leave your program as it was saved, and will create a new file with a new name so you end up with two copies. You then make changes to the new created file.

Note that the file is saved as an ASCII file.

File save as shortcut :

page -29-