Quick Store Search
01279 467799 (M-F 8:30am - 5pm)Message Us

Shopping Cart 0 Items (Empty)

BASAVR - Bascom AVR BASIC Compiler Software (CD-ROM Version)

BASCOM-AVR1® is a Windows BASIC COMPILER IDE for the AVR family.

It will run on all versions of Microsoft Windows from 95 to 10 (32&64-bit).

Key Benefits
  • Structured BASIC with labels.
  • Structured programming with IF-THEN-ELSE-END IF, DO-LOOP, WHILE-WEND, SELECT- CASE.
  • Fast machine code instead of interpreted code.
  • Variables and labels can be as long as 32 characters.
  • Bit, Byte, Integer, Word, Long, Single and String variables.
  • Compiled programs work with all AVR microprocessors that have internal memory.
  • Statements are highly compatible with Microsoft's VB/QB.
  • Special commands for LCD-displays , I2C chips and 1WIRE chips, PC keyboard, matrix keyboard, RC5 reception, software UART, SPI , graphical LCD, send IR RC5 or Sony code.
  • Local variables, user functions, library support.
  • Integrated terminal emulator with download option.
  • Integrated simulator for testing.
  • Integrated ISP programmer (application note AVR910.ASM).
  • Integrated STK200 programmer, STK300 programmer, STK500 and STK500 extended Programmers. Other programmers also supported - see DEMO version for full list.
  • Can be used with our Atmel AVR Development Boards
  • Editor with statement highlighting.
  • Context sensitive help.
  • Perfectly matches the DT006 SimmStick
  • FREE Internet Auto Update facility built into software means you can always have the latest program version
  • Try it before you buy it! Get the DEMO VERSION now! (compiles 2KB of code. Well suited for the AT90S2313).
Supported Statements

The following statements are supported (actually there are more - see DEMO version help file for full list):

Decision and structures

IF, THEN, ELSE, ELSE IF, END IF, DO, LOOP, WHILE, WEND, UNTIL, EXIT DO, EXIT WHILE, FOR, NEXT, TO, DOWNTO, STEP, EXIT FOR, ON .. GOTO/GOSUB, SELECT, CASE.

Input and output

PRINT, INPUT, INKEY, PRINT, INPUTHEX, LCD, UPPERLINE, LOWERLINE,DISPLAY ON/OFF, CURSOR ON/OFF/BLINK/NOBLINK, HOME, LOCATE, SHIFTLCD LEFT/RIGHT, SHIFTCURSOR LEFT/RIGHT, CLS, DEFLCDCHAR, WAITKEY, INPUTBIN, PRINTBIN, OPEN, CLOSE, DEBOUNCE, SHIFTIN, SHIFTOUT, GETATKBD

Numeric functions

AND, OR, XOR, INC, DEC, MOD, NOT, ABS, BCD, SIN,COS,TAN,EXP.

I2C

I2CSTART, I2CSTOP, I2CWBYTE, I2CRBYTE, I2CSEND and I2CRECEIVE.

1WIRE

1WWRITE, 1WREAD, 1WRESET, 1WIRECOUNT, 1WSEARCHFIRST, 1WSEARCHNEXT.

SPI

SPIINIT, SPIIN, SPIOUT.

Interrupt programming

ON INT0/INT1/TIMER0/TIMER1/SERIAL, RETURN, ENABLE, DISABLE, COUNTERx, CAPTUREx, INTERRUPTS, CONFIG, START, LOAD.

Bit manipulation

SET, RESET, ROTATE, SHIFT, BITWAIT, TOGGLE.

Variables

DIM, BIT , BYTE , INTEGER , WORD, LONG, SINGLE, STRING , DEFBIT, DEFBYTE, DEFINT, DEFWORD.

Miscellaneous

REM, ' , SWAP, END, STOP, CONST, DELAY, WAIT, WAITMS, GOTO, GOSUB, POWERDOWN, IDLE, DECLARE, CALL, SUB, END SUB, MAKEDEC, MAKEBCD, INP,OUT, ALIAS, DIM , ERASE, DATA, READ, RESTORE, INCR, DECR, PEEK, POKE, CPEEK, FUNCTION, READMAGCARD.

Compiler directives

$INCLUDE, $BAUD and $CRYSTAL, $SERIALINPUT, $SERIALOUTPUT, $RamsIZE, $RamsTART, $DEFAULT XRAM, $ASM-$END ASM, $LCD, $EXTERNAL, $LIB.

String manipulation

STRING, SPACE, LEFT, RIGHT, MID, VAL, HEXVAL, LEN, STR, HEX, LTRIM, RTRIM, TRIM, LCASE, UCASE.

Program Creation

To make a program takes just a few steps:

  • Write the program in BASIC
  • Compile it to fast machine binary code
  • Test the result with the integrated simulator (with additional hardware you can simulate the hardware too).
  • Program the chip with one of the integrated programmers.

    (hardware must be purchased separately)

Write

The program can be written in a comfortable MDI colour coded editor.

Besides the normal editing features, the editor supports Undo, Redo, Bookmarks and block indention.

BASCOM-AVR WINDOWS BASIC COMPILERSimulate

The simulator lets you test your program before writing it to the uP.

You can watch variables, step through the program one line at the time or run to a specific line, or you can alter variables.

To watch a variables value you can also point the mouse cursor over it.

BASCOM-AVR WINDOWS BASIC COMPILER

uP TAB of simulator

BASCOM-AVR WINDOWS BASIC COMPILER

A powerful feature is the hardware emulator, to emulate the LCD display, and the ports. The LCD emulator also emulates custom build LCD characters!

BASCOM-AVR WINDOWS BASIC COMPILER

You can even simulate the hardware ports with the special basmon monitor program!

Burn

When you are done with the simulator it is time to program the chip using one of the supported programmer drivers.

BASCOM-AVR WINDOWS BASIC COMPILER

Still not convinced?Bascom Version

The version of BASCOM supplied will be less than 6 months old but it does not matter as you can update to the very latest version free of charge using the Update Wizzard utility supplied with the software.

You might also like . . .