ВУЗ: Не указан

Категория: Не указан

Дисциплина: Не указана

Добавлен: 12.06.2025

Просмотров: 8242

Скачиваний: 1

ВНИМАНИЕ! Если данный файл нарушает Ваши авторские права, то обязательно сообщите нам.

© MCS Electronics, 1995-2007

Help MCS Shop

This option will start your default web browser and direct it to : http://www.mcselec.com/index.php?option=com_phpshop&Itemid=1

You can order items and pay with PayPal. PayPal will accept most credit cards.

Before you order, it is best to check the resellers page to find a reseller near you. Resellers can help you in your own language, have all MCS items on stock, and are in the same time zone.

page -95-

© MCS Electronics, 1995-2007

Before you can order items, you need to create an account. Read the following about the new website :

http://www.mcselec.com/index.php?option=com_content&task=view&id=133&Itemid=1

Help Support

This option will start your default browser with the following URL :

http://www.mcselec.com/support-center/

It depends from your browser settinge if a new window or TABwill be created. At the support site you can browse articles. You can also search on keywords.

Help Knowledge Base

This option will ask you to enter a search string.

page -96-

© MCS Electronics, 1995-2007

This search string will be passed to the MCS support site.

The above example that searches for "FUSEBIT" will result in the following :

You can click one of the found articles to read it.

Help Credits

BASCOM was invented in 1995. Many users gave feedback and helped with tips, code, suggestions, support, a user list, and of course with buying the software.

The software improved a lot during the last 10 years and will so during the next decade.

While it is impossible to thank everybody there are a few people that deserve credits :

Josef Franz Vögel. He wrote a significant part of the libraries in BASCOM-AVR. He is also author of AVR-DOS.

page -97-

©MCS Electronics, 1995-2007

Dr.-Ing. Claus Kuehnel for his book 'AVR RISC' , that helped me a lot when I began to study the AVR chips. Check his website at http://www.ckuehnel.ch

Atmel, who gave permission to use the AVR picture in the start up screen. And for the great tech support. Check their website at http://www.atmel.com

Brian Dickens, who did most of the Beta testing. He also checked the documentation on grammar and spelling errors. (he is not responsible for the spelling errors i added later :-) )

Jack Tidwell. I used his FP unit for singles. It is the best one available.

BASCOM Editor Keys

Key

Action

LEFT ARROW

One character to the left

RIGHT ARROW

One character to the right

UP ARROW

One line up

DOWN ARROW

One line down

HOME

To the beginning of a line

END

To the end of a line

PAGE UP

Up one window

PAGE DOWN

Down one window

CTRL+LEFT

One word to the left

CTRL+RIGHT

One word to the right

CTRL+HOME

To the start of the text

CTRL+END

To the end of the text

CTRL+ Y

Delete current line

INS

Toggles insert/over strike mode

F1

Help (context sensitive)

F2

Run simulator

F3

Find next text

F4

Send to chip (run flash programmer)

F5

Run

F7

Compile File

F8

Step

F9

Set breakpoint

F10

Run to

CTRL+F7

Syntax Check

CTRL+F

Find text

CTRL+G

Go to line

CTRL+K+x

Toggle bookmark. X can be 1-8

CTRL+L

LCD Designer

CTRL+M

File Simulation

CTRL+N

New File

CTRL+O

Load File

CTRL+P

Print File

page -98-


© MCS Electronics, 1995-2007

CTRL+Q+x

Go to Bookmark. X can be 1-8

CTRL+R

Replace text

CTRL+S

Save File

CTRL+T

Terminal emulator

CTRL+P

Compiler Options

CTRL+W

Show result of compilation

CTRL+X

Cut selected text to clipboard

CTRL+Z

Undo last modification

SHIFT+CTRL+Z

Redo last undo

CTRL+INS

Copy selected text to clipboard

SHIFT+INS

Copy text from clipboard to editor

CTRL+SHIFT+J

Indent Block

CTRL+SHIFT+U

Unindent Block

Select text

Hold the SHIFT key down and use the cursor keys to select text. or

keep the left mouse key pressed and drag the cursor over the tex to

select.

Program Development Order

Start BASCOM

Open a file or create a new one

! Important ! Check the chip settings, baud rate and frequency settings for the target system

Save the file

Compile the file (this will also save the file !!!)

If an error occurs fix it and recompile (F7)

Run the simulator(F2)

Program the chip(F4)

page -99-


© MCS Electronics, 1995-2007

PlugIns

Font Editor

The Font Editor is a Plugin that is intended to create Fonts that can be used with Graphical display such as SED1521, KS108, color displays, etc.

When you have installed the Font Editor , a menu option becomes available under the Tools menu : Font Editor.

When you choose this option the following window will appear:

You can open an existing Font file, or Save a modified file.

The supplied font files are installed in the Samples directory.

You can copy an image from the clipboard, and you can then move the image up , down, left and right.

When you select a new character, the current character is saved. The suggest button wil draw an image of the current selected character.

When you keep the left mouse button pressed, you can set the pixels in the grid. When you keep the right mouse button pressed, you can clear the pixels in the grid.

page -100-

© MCS Electronics, 1995-2007

When you choose the option to create a new Font, you must provide the name of the font, the height of the font in pixels and the width of the font in pixels.

The Max ASCII is the last ASCII character value you want to use. Each character willoccupy space. So it is important that you do not choose a value that is too high and wil not be used.

When you display normal text, the maximum number is 127 so it does not make sense to specify a value of 255.

PinOut

This Plugin is based on the PinOut Viewer from Karl Jan Skontorp.

You can download the Karl Jan’s program from the MCS website

This program contains all the pinput pictures of the AVR chips.

The PinOut Plugin uses the same pictures , or you can add your own pictures.

When the Plugin is selected it will show a small window :

When you choose, a picture from the list will be displayed.

page -101-