Running BASCOM-AVR

(Difference between revisions)
Jump to: navigation, search
(Created page with "Category:BASCOM IDE After you have installed BASCOM, you will find a program entry under MCS Electronics\BASCOM-AVR <br /> <br /> {{Languages}}")
 
Line 1: Line 1:
 +
After you have installed BASCOM, you will find a program entry under&nbsp;<span style="font-style: italic;">MCS Electronics\BASCOM-AVR</span>
 +
 +
Double-click the BASCOM-AVR icon&nbsp;[[File:Bascom-icon.png|left|bascom-icon]]&nbsp;to run BASCOM.
 +
 +
<span style="font-family: Arial;">&nbsp;</span>
 +
 +
The following window will appear. (If this is your first run, the edit window will be empty.)
 +
 +
<span style="font-family: Arial;">&nbsp;</span>
 +
 +
<span style="font-family: Arial;">&nbsp;</span>
 +
 +
[[File:Bascomide.png|center|Bascomide.png]]
 +
 +
<span style="font-family: Arial;">&nbsp;</span>
 +
 +
The most-recently opened file will be loaded automatically. Like most Windows programs, there is a menu and &nbsp;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'.
 +
 +
<span style="font-family: Arial;">&nbsp;</span>
 +
 +
This will show the following window:
 +
 +
 +
 +
[[File:Toolbar cust.png|center|Toolbar cust.png]]
 +
 +
<span style="font-family: Arial;">&nbsp;</span>
 +
 +
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.
 +
 +
<span style="font-family: Arial;">&nbsp;</span>
 +
 +
[[File:Toolbar commands.png|center|Toolbar commands.png]]
 +
 +
 +
 +
In the example above, the Program Category has been selected and at the right pane, all 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.
 +
 +
<span style="font-family: Arial;">&nbsp;</span>
 +
 +
On the Options-TAB you can further customize the Toolbar:
 +
 +
 +
 +
[[File:Setup options.png|center|Setup options.png]]
 +
 +
<span style="font-family: Arial;">&nbsp;</span>
 +
 +
To preserve screen space there are no large icons available.
 +
<div style="padding: 0px; margin: 0px 0px 0px 4px;">
 +
{| cellspacing="0" cellpadding="0" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;"
 +
|- style="vertical-align: top;"
 +
| valign="top" width="283" bgcolor="#ffff99" style="width: 283px; background-color: rgb(255, 255, 153); border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;"><span style="font-weight: bold;">Option</span></p>
 +
| valign="top" width="465" bgcolor="#ffff99" style="width: 465px; background-color: rgb(255, 255, 153); border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;"><span style="font-weight: bold;">Description</span></p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="283" style="width: 283px; border: 1px solid rgb(0, 0, 0);" |
 +
Menus show recent used commands first
 +
 +
| valign="top" width="465" style="width: 465px; border: 1px solid rgb(0, 0, 0);" |
 +
With this option the IDE will learn the menu options you use. It will show only the most used menu options. The idea is that you can find your option quicker this way.
 +
 +
|- style="vertical-align: top;"
 +
| valign="top" width="283" style="width: 283px; border: 1px solid rgb(0, 0, 0);" |
 +
Show full menus after a short delay
 +
 +
| valign="top" width="465" style="width: 465px; border: 1px solid rgb(0, 0, 0);" |
 +
This option will show the remaining menu options after short delay so you do not need to click another menu option to show all menu options.
 +
 +
|- style="vertical-align: top;"
 +
| valign="top" width="283" style="width: 283px; border: 1px solid rgb(0, 0, 0);" |
 +
Reset my usage data
 +
 +
| valign="top" width="465" style="width: 465px; border: 1px solid rgb(0, 0, 0);" |
 +
This option will reset the data the IDE has collected about your menu choices.
 +
 +
|- style="vertical-align: top;"
 +
| valign="top" width="283" style="width: 283px; border: 1px solid rgb(0, 0, 0);" |
 +
Show Tool tips on toolbars
 +
 +
| valign="top" width="465" style="width: 465px; border: 1px solid rgb(0, 0, 0);" |
 +
This option is on by default and it will show a tool tip when you hold the mouse cursor above a toolbar button
 +
 +
|- style="vertical-align: top;"
 +
| valign="top" width="283" style="width: 283px; border: 1px solid rgb(0, 0, 0);" |
 +
Show shortcut keys in Tool tips
 +
 +
| valign="top" width="465" style="width: 465px; border: 1px solid rgb(0, 0, 0);" |
 +
This option is on by default and it will show the shortcut in the tool tip. For example CTRL+C for the Copy button.
 +
 +
|}
 +
</div>
 +
<span class="f_ImageCaption">&nbsp;</span>
 +
 +
<span class="f_ImageCaption">&nbsp;</span>
 +
 +
<span class="f_Header">The Editor</span>
 +
 +
The editor supports syntax highlighting. Code you enter can be reformatted automatically.
 +
 +
When you press CTRL+J you can select a template. A template is a small piece of code that can be inserted automatically.
 +
 +
When you press CTRL+J you can select a template or you can type the template name and press CTRL+J. If there is only one template starting with that name, the template will be inserted. Otherwise the options are shown.
 +
 +
&nbsp;
 +
 +
[[File:Editor templates.png|center|Editor templates.png]]
 +
 +
<span class="f_ImageCaption">&nbsp;</span>
 +
 +
Templates are stored in the file bascavr.tpl
 +
 +
<br/><br/>{{Languages}}
 +
 
[[Category:BASCOM IDE]]
 
[[Category:BASCOM IDE]]
After you have installed BASCOM, you will find a program entry under MCS Electronics\BASCOM-AVR
 
<br />
 
<br />
 
{{Languages}}
 

Revision as of 21:51, 12 February 2013

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

Double-click the BASCOM-AVR icon 
bascom-icon
 to run BASCOM.

 

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

 

 

Bascomide.png

 

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'.

 

This will show the following window:


Toolbar cust.png

 

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.

 

Toolbar commands.png


In the example above, the Program Category has been selected and at the right pane, all 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:


Setup options.png

 

To preserve screen space there are no large icons available.

Option

Description

Menus show recent used commands first

With this option the IDE will learn the menu options you 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 delay

This option will show the remaining menu options after 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 Tool tips on toolbars

This option is on by default and it will show a tool tip when you hold the mouse cursor above a toolbar button

Show shortcut keys in Tool tips

This option is on by default and it will show the shortcut in the tool tip. For example CTRL+C for the Copy button.

 

 

The Editor

The editor supports syntax highlighting. Code you enter can be reformatted automatically.

When you press CTRL+J you can select a template. A template is a small piece of code that can be inserted automatically.

When you press CTRL+J you can select a template or you can type the template name and press CTRL+J. If there is only one template starting with that name, the template will be inserted. Otherwise the options are shown.

 

Editor templates.png

 

Templates are stored in the file bascavr.tpl



Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language