0% found this document useful (0 votes)
15 views

2 - Introduction To Bascom AVR Software

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

2 - Introduction To Bascom AVR Software

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 31

INTRODUCTION TO BASCOM AVR

SOFTWARE
INSTRUCTOR: ABDUL BASIR FAIQ, M.ENG
Introduction to Bascom avr software

History and different versions of the software


Parts of the software

1- Toolbar
Parts of the software

2- Writing our program


Parts of the software

3- Our pins
Parts of the software

4- PDF Viewer
Start a new project

1- Create new project


Start a new project

2- Create new page

- Here we can have bookmarks and labels


File

2- File NEW

- This option creates a new window in which you will write your program

- You can have multiple windows open at the same time


File

3- File Open

- With this option you can load an existing program from disk
File

4- File Close

- Close the current program

5- File Save

- With this option, you save your current program to disk under

- the same file name


File

6- File Save As
With this option, you can save your current program to disk
under a different filename

7- File Print Preview

- With this option, you can preview the current program before it is printed
File

8- File Print
With this option, you can print the current program

9- File Project
Each file you open is a project
File

10- File ZIP


This option will put all project files into a ZIP file

9- File EXIT
With this option, you can leave BASCOM
Edit Menu

1- Edit Undo (CTRL+Z)


With this option, you can undo the last text manipulation

2- Edit Redo (CTRL+SHIFT+Z)


With this option, you can redo the last undo

3- Edit Cut (CTRL+X)


With this option, you can cut selected text into the clipboard
4- Edit Copy (CTRL+C)
With this option, you can copy selected text into the clipboard
Edit Menu

5- Edit Paste (CTRL+V)


With this option, you can paste text from the clipboard starting at
the current cursor position

6- Edit Find (CTRL+F)


With this option, you can search for text in your program

7- Edit Find Next


With this option, you can search again for the last specified search item
8- Edit Replace (CTRL+R)
With this option, you can replace selected text in your program
Edit Menu

9- Edit GOTO (CTRL+G)


With this option, you can immediately go to a specified line number.

10- Edit Toggle Bookmark


With this option, you can set/reset a bookmark, so you can jump in
your code with the Edit Go to Bookmark option

11- Edit Goto Bookmark


With this option, you can jump to a bookmark
12- Edit Indent Block (CTRL+SHIFT+I)
With this option, you can indent a selected block of text (5 spaces)
Edit Menu

13- Edit Unindent Block (CTRL+SHIFT+U)


With this option, you can unindent a block (CTRL+SHIFT+U).

14- Edit Remark/Unremark Block (CTRL+M)


Remark: With this option, you can Remark or
Unremark a selected block of text
Edit Menu

15- Edit Insert ASCII


This option will show a pop up window from which you can select
an ASCII character.
Edit Menu

16- Edit Fold All Subs and Functions


When Code folding is enabled in Options, Environment, IDE, Editor ,
this options will fold/collapse all sub procedures and functions
17- Edit Unfold All Code
This option will unfold all folded code so all code becomes visible
Edit Menu

18- Edit Proper Indent


This option will properly indent your code;
Indention is used to make code better readable
Program Menu

1- Program Compile (F7)


With this option, you compile your current program.
Your program will be saved automatically before being compiled
Program Menu

2- Program Syntax check (Ctrl+F7)

With this option, your program is checked for syntax errors.

No file will be created except for an error file, if an error is found


Program Menu

3- Program Show Result (Ctrl+W)


Use this option to view information concerning the result of the compilation

4- Program Simulate (F2)


With this option, you can simulate your program

5- Program Send to Chip (F4)


With this option, you send your program to the external chip
Tools Menu

1- Tools Terminal Emulator (Ctrl+T)


With this option you can communicate via the RS-232 interface to the
microcomputer
Tools Menu

2- Tools LCD Designer (Ctrl+L)


With this option you can design special characters for LCD-text displays
Options Menu

1- Options Compiler Chip

With this option, you can modify the compiler options

We can select: the target chip, size of the external RAM, and etc…
Options Menu

2- Options Compiler Output

With this option, you can select what type of file/document/program; the targeted mc must
generate. (e.g binary file, debug file, Intel HEX file, report file, error file and etc…)
Options Menu

3- Options Communication
With this option, you can modify the communication settings for the terminal emulator.
Options Menu

4- Options Environment
The Environment TAB has a
few TABS of it's own.
Overview of Bascom AVR Parts

P1: Index (different version of the software)

P2: How to install

P3: Present every menu of the software

P4: Hardware's (Which type of external hardware can be supported by Bascom AVR)

P5: Different type of chips in AVR family

P6: Bascom language fundamentals (Basic Language)

P7: Assembly language and compilers

P8: Library of assembly language (Codes are already defined we can use directly)

You might also like