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
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
AND, OR, XOR, INC, DEC, MOD, NOT, ABS, BCD, SIN,COS,TAN,EXP.
I2CSTART, I2CSTOP, I2CWBYTE, I2CRBYTE, I2CSEND and I2CRECEIVE.
1WWRITE, 1WREAD, 1WRESET, 1WIRECOUNT, 1WSEARCHFIRST, 1WSEARCHNEXT.
SPIINIT, SPIIN, SPIOUT.
ON INT0/INT1/TIMER0/TIMER1/SERIAL, RETURN, ENABLE, DISABLE, COUNTERx, CAPTUREx, INTERRUPTS, CONFIG, START, LOAD.
SET, RESET, ROTATE, SHIFT, BITWAIT, TOGGLE.
DIM, BIT , BYTE , INTEGER , WORD, LONG, SINGLE, STRING , DEFBIT, DEFBYTE, DEFINT, DEFWORD.
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.
$INCLUDE, $BAUD and $CRYSTAL, $SERIALINPUT, $SERIALOUTPUT, $RamsIZE, $RamsTART, $DEFAULT XRAM, $ASM-$END ASM, $LCD, $EXTERNAL, $LIB.
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:
(hardware must be purchased separately)
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.Simulate
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.
uP TAB of simulator
A powerful feature is the hardware emulator, to emulate the LCD display, and the ports. The LCD emulator also emulates custom build LCD characters!
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.
Still not convinced?
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.