Index
About MCS
Installation
Installation on multiple computers
BASCOM-IDE
File
New , Open , Close , Save , Save As , Print Preview , Print , Project, Exit , ZIP
Edit
Undo , Redo , Cut , Copy , Paste , Find , Find Next , Replace , Goto , Toggle Bookmark , Goto Bookmark , Indent Block , Unindent Block , Encrypt Selected Code , Proper Indent , Show Excluded Code , Insert ASCII , Fold All Subs and Functions, Unfold All Code , Show Dead Code
View
PinOut , PDF , Errors , Show Alert Window , Project Files, Code Explorer , Vertical Splitter
Program
Compile , Syntax Check , Show Result , Simulate , Send to Chip , Reset Chip
Tools
LIB Manager , Terminal Emulator , LCD Designer , Graphic Converter , Batch Compile , PDF Update , Resource Editor , Stack Analyzer, Plugin Manager , Font Editor
Options
Compiler , Compiler Chip , Compiler Output , Compiler Communication , Compiler I2C,SPI,1WIRE , Compiler LCD , Communication , Environment , Simulator , Programmer , Printer, Options Select Settings File
Window
Cascade , Tile, Arrange Icons, Minimize All, Maximize All , Tile Vertically
Help
About , Index, MCS Forum, Support, Knowledge Base , Credits , Wiki , Update
BASCOM and Hardware
AVR Internal Hardware Watchdog timer
Adding SRAM 4-port Non Multiplexed
Statements and Hardware Resources
Reference Designs
Misc
BASCOMP, command line compiler
ASM Libs and Add-Ons
Library |
Category |
AVR-DOS |
|
BCCARD |
|
I2C |
|
I2C |
|
I2C |
|
I2C |
|
I2C |
|
I2C TWI |
|
I2C/USI |
|
I2C |
|
I2C/USI |
|
SPI |
|
Conversion |
|
Conversion |
|
Conversion |
|
MODBUS |
|
LCD |
|
LCD |
|
LCD |
|
LCD |
|
LCD |
|
LCD |
|
LCD |
|
LCD |
|
LCD |
|
LCD |
|
LCD |
|
LCD |
|
LCD |
|
LCD |
|
IO |
|
PS2 |
|
PS2 |
|
PS2 |
|
DATE TIME |
|
DATE TIME |
|
SPI |
|
TCPIP |
|
1WIRE |
|
VIDEO |
|
USB |
|
WS2812/RAINBOW |
|
SERIAL |
|
LCD I2C PCF8574 |
BASCOM Language Reference
-#-
#IF , #ELSE , #ENDIF , #AUTOCODE
-$-
$ASM , $BAUD , $BAUD1 , $BIGSTRINGS, $BGF , $BOOT , $CRYSTAL , $DATA , $DBG , $DEFAULT , $EEPLEAVE , $EEPROM , $EEPROMHEX , $EEPROMSIZE, $EXTERNAL , $HWSTACK , $INC , $INCLUDE , $INITMICRO , $LCD , $LCDRS , $LCDPUTCTRL , $LCDPUTDATA , $LCDVFO , $LIB , $LOADER , $LOADERSIZE , $MAP , $NOCOMPILE , $NOINIT , $NORAMCLEAR , $NORAMPZ , $PROJECTTIME, $PROG , $PROGRAMMER , $REGFILE , $RESOURCE , $ROMSTART $SERIALINPUT, $SERIALINPUT1 , $SERIALINPUT2LCD , $SERIALOUTPUT , $SERIALOUTPUT1 , $SIM , $SWSTACK , $TIMEOUT , $TINY , $WAITSTATE , $XRAMSIZE , $XRAMSTART , $XA , $CRYPT , $NOTRANSFORM , $FILE , $AESKEY , $XTEAKEY , $STACKDUMP , $NOFRAMEPROTECT , $FRAMEPROTECT , $FORCESOFTI2C , $REDUCEIVR , $BOOTVECTOR
-1-
1WRESET , 1WREAD , 1WWRITE , 1WSEARCHFIRST , 1WSEARCHNEXT ,1WVERIFY , 1WIRECOUNT
-A-
ABS , ADR, ADR2 , ACOS , ALIAS , ASC , ASIN , ATN , ATN2 , AESENCRYPT , AESDECRYPT , AND
-B-
BASE64DEC , BASE64ENC , BAUD , BAUD1-BAUDx, BCD , BIN , BITS , BINVAL , BIN2GRAY , BITWAIT , BYVAL , BOX, BOXFILL , BSAVE , BLOAD , BUFSPACE , BREAK
-C-
CALL ,CHARPOS, CIRCLE , CHECKFLOAT, CHECKSUM , CHECKSUMXOR, CHR , CLEAR , CLS , CLOCKDIVISION , CLOSE , CLOSESOCKET , CPEEKH , CONST , COS , COSH , CRC8 , CRC16 , CRC32 , CRC16UNI , CRYSTAL , CPEEK , CPEEKH , CURSOR , CANBAUD, CANRESET, CANCLEARMOB, CANCLEARALLMOBS, CANSEND, CANRECEIVE , CANID, CANSELPAGE, CANGETINTS , CHDIR , CMD8 , CMD16 , CMD32 , CLEARATTR , COMPARE , EDMA , EDMAx , CRCMB ,CONTINUE , CRC8UNI ,
CONFIG ,
CONFIG 1WIRE , CONFIG ACAX|ACBX , CONFIG ACI , CONFIG ACx , CONFIG ADC , CONFIG ADCA|ADCB , CONFIG ADC0|ADCx , CONFIG ATEMU ,
CONFIG BASE , CONFIG BCCARD , CONFIG CANBUS , CONFIG CANMOB , CONFIG CLOCK , CONFIG CLOCKDIV , CONFIG COM1 , CONFIG COM2 , CONFIG COMx ,
CONFIG DACA|DACB , CONFIG DACX , CONFIG DATE , CONFIG DCF77 , CONFIG DEBOUNCE , CONFIG DMA , CONFIG DMACHx , CONFIG DMXSLAVE , CONFIG DP ,
CONFIG EDMA , CONFIG EDMAx , CONFIG EEPROM , CONFIG ERROR , CONFIG EVENT_SYSTEM (xmega) , CONFIG EVENT_SYSTEM (xtiny) , CONFIG EXTENDED_PORT ,
CONFIG FT800, CONFIG GRAPHLCD , CONFIG HITAG , CONFIG I2CBUS , CONFIG I2CDELAY , CONFIG I2CSLAVE , CONFIG INPUT , CONFIG INPUTBIN , CONFIG INTx , CONFIG INTVECTORSELECTION ,
CONFIG KBD , CONFIG KEYBOARD , CONFIG LCD , CONFIG LCDBUS , CONFIG LCDMODE , CONFIG LCDPIN ,
CONFIG OPAMP, CONFIG OSC XMEGA , CONFIG OSC XTINY , CONFIG PORT , CONFIG PORT_MUX , CONFIG POWERMODE , CONFIG POWER_REDUCTION , CONFIG PRIORITY XMEGA , CONFIG PRIORITY XTINY ,
CONFIG PRINT , CONFIG PRINTBIN , CONFIG PS2EMU , CONFIG RAINBOW , CONFIG RC5 , CONFIG RC5SEND, CONFIG RND ,
CONFIG SERIALIN , CONFIG SERIALIN1 , CONFIG SERIALIN2 , CONFIG SERIALIN3 , CONFIG SERIALOUT , CONFIG SERIALOUT1 , CONFIG SERIALOUT2 , CONFIG SERIALOUT3 , CONFIG SERVOS , CONFIG SHIFTIN ,
CONFIG SINGLE , CONFIG SDA , CONFIG SCL , CONFIG SPI , CONFIG SPIx , CONFIG SUBMODE , CONFIG SYSCLOCK XMEGA ,CONFIG SYSCLOCK XTINY ,
CONFIG TCXX , CONFIG TCA0 , CONFIG TCB0, TCB1 , CONFIG TCD0 , CONFIG TCPIP , CONFIG TWI , CONFIG TWISLAVE , CONFIG TWIxSLAVE , CONFIG TIMER0 , CONFIG TIMER1 , CONFIG TIMER2 and 3 ,
CONFIG USB, CONFIG USI , CONFIG VPORT , CONFIG VREF , CONFIG VREGPWR , CONFIG WATCHDOG , CONFIG WAITSUART , CONFIG X10 , CONFIG XPIN , CONFIG XRAM , CONFIG ZCDx
-D-
DATE , DATA , DATE$ , DBG , DEBOUNCE , DECR , DAYOFWEEK , DAYOFYEAR , DriveGetIdentity , DriveWriteSector , DriveReadSector ,DEBUG, DECLARE FUNCTION , DECLARE SUB , DEFXXX , DEFLCDCHAR , DEG2RAD , DELAY , DIM , DISABLE , DISPLAY , DO-LOOP , DTMFOUT , DISKFREE , DIR , DriveReset , DriveInit , DELCHAR , DELCHARS , DESENCRYPT, DESDECRYPT
-E-
ECHO , ELSE , ENABLE , END , EXIT , EXP , EOF , ENCODER
-F-
FIX , FORMAT , FOR-NEXT , FOURTHLINE , FRAC , FUSING , FLUSH , FREEFILE , FILEATTR , FILEDATE , FILETIME , FILEDATETIME , FILELEN , FLIP
-G-
GET , GETADC , GETKBD , GETATKBD , GETRC , GETRC5 , GLCDCMD , GLCDDATA , GOSUB , GOTO , GRAY2BIN , GETDSTIP , GETDSTPORT , GETSOCKET , GETTCPREGS , GETREG , GETATTR
-H-
HEX , HEXVAL , HIGH , HIGHW , HOME
-I-
I2CINIT , I2CRECEIVE , I2CSEND , I2CSTART, I2CREPSTART, I2CSTOP,I2CRBYTE,I2CWBYTE , IDLE , IF-THEN-ELSE-END IF , INCR , INITLCD , INKEY , INP , INPUTBIN , INPUTHEX , INPUT , INSTR , INT , ISCHARWAITING , INITFILESYSTEM , IP2STR , INSERTCHAR
-J-
-K-
-L-
LCASE , LCD , LCDAT , LCDCMD, LCDDATA, LCDAUTODIM , LEFT , LEN , LINE , LOAD , LOADADR , LOADLABEL , LOADWORDADR , LOCAL , LCDCONTRAST , LOCATE , LOG , LOG10 , LOOKDOWN , LOOKUP , LOC , LOF , LOOKUPSTR , LOW , LOWERLINE , LTRIM , LINE INPUT , LCDFONT
-M-
MACRO , MAKEBCD , MAKEDEC , MAKEMODBUS , MAKEINT , MID , MAX , MIN , MOD , MKDIR , MANCHESTERDEC, MANCHESTERENC , MEMFILL
-N-
-O-
ON INTERRUPT ,ON VALUE , OPEN , OUT , OR
-P-
PEEK , POKE , POPALL , POWER mode , POWER , POWERDOWN , POWERSAVE , PRINT , PRINTBIN , PSET , PULSEIN , PS2MOUSEXY , PUT , PULSEOUT , PUSHALL
-Q-
-R-
RAD2DEG , RC5SEND , RC6SEND , READ , READEEPROM , READHITAG , READMAGCARD , REM , REPLACECHARS , RESET , RESTORE , RETURN , RIGHT , RND , ROTATE , ROUND RTRIM , READSIG , RMDIR , RGB8TO16 ,
RB_ADDCOLOR, RB_ANDCOLOR, RB_ORCOLOR, RB_SUBCOLOR, RB_CLEARSTRIPE , RB_CLEARCOLORS , RB_FILL , RB_FILLCOLORS , RB_FILLSTRIPE , RB_SELECTCHANNEL, RB_SEND, RB_SETCOLOR , RB_SWAPCOLOR , RB_ROTATELEFT, RB_ROTATERIGHT, RB_SHIFTLEFT, RB_SHIFTRIGHT , RB_CHANGEPIN , RB_SETTABLECOLOR , RB_GETCOLOR , RB_LOOKUPCOLOR , RB_COLOR , RB_COPY , REDO
-S-
SENDSCAN , SENDSCANKBD , SELECT CASE - END SELECT , SET , SETFONT , SERIN , SEROUT , SECOFDAY , SECELAPSED , SYSDAY , SYSSEC , SYSSECELAPSED , SETTCP , SGN , SHIFT , SHIFTCURSOR , SHIFTIN , SHIFTOUT , SHIFTLCD , SHOWPIC , SHOWPICE , SIN , SINH , SONYSEND , SOUND , SPACE , SPC , SPIIN , SPIINIT , SPIMOVE , SPIOUT , SQR , START , STCHECK , STOP , STR , STRING , SUB , SOCKETSTAT , SOCKETCONNECT , SOCKETLISTEN , SEEK , SWAP , SPLIT , SETTCPREGS , SETIPPROTOCOL , SORT , STR2DIGITS ,SETREG , SNTP , SOCKETCLOSE, SOCKETDISCONNECT , SETATTR , SPI1IN , SPI1INIT , SPI1MOVE , SPI1OUT , SIZEOF
-T-
TIME , TCPWRITE , TCPWRITESTR , TCPREAD , TCPCHECKSUM , TAN , TANH , THIRDLINE , TIME$ , TRIM , TOGGLE , TCPREADHEADER
-U-
UCASE , UPPERLINE , UDPREAD , UDPWRITE , UDPWRITESTR , UDPREADHEADER, URL2IP
-V-
-W-
WAIT , WAITKEY , WAITMS , WAITUS , WRITE , WHILE-WEND , WRITEEEPROM , WR8 , WR16 , WR32 , WRITEDAC
-X-
X10DETECT , X10SEND , XTEADECODE , XTEAENCODE , XOR