Insert one line of assembly language code.
ADCIN Read on-chip analog to digital converter.
ASM..ENDASM Insert assembly language code section.
BRANCH Computed GOTO (equiv. to ON..GOTO).
BRANCHL BRANCH out of page (long BRANCH).
BUTTON Debounce and auto-repeat input on specified
pin.
CALL Call assembly language subroutine.
CLEAR Zero all variables.
CLEARWDT Clear (tickle) Watchdog Timer.
COUNT Count number of pulses on a pin.
DATA Define initial contents of on-chip EEPROM.
DEBUG Asynchronous serial output to fixed pin and
baud.
DEBUGIN Asynchronous serial input from fixed pin
and baud.
DISABLE Disable ON DEBUG and ON
INTERRUPT processing.
DISABLE DEBUG Disable ON DEBUG processing.
DISABLE INTERRUPT Disable ON INTERRUPT processing.
DTMFOUT Produce touch-tones on a pin.
EEPROM Define initial contents of on-chip EEPROM.
ENABLE Enable ON DEBUG and ON INTERRUPT processing.
ENABLE DEBUG Enable ON DEBUG processing.
ENABLE INTERRUPT Enable ON INTERRUPT processing.
END Stop execution and enter low power mode.
FOR..NEXT Repeatedly execute statements.
FREQOUT Produce up to 2 frequencies on a pin.
GOSUB Call BASIC subroutine at specified label.
GOTO Continue execution at specified label.
HIGH Make pin output high.
HPWM Output hardware pulse width modulated pulse
train.
HSERIN Hardware asynchronous serial input.
HSEROUT Hardware asynchronous serial output.
I2CREAD Read from I2C device.
I2CWRITE Write to I2C device.
IF..THEN..ELSE..ENDIF Conditionally execute
statements.
INPUT Make pin an input.
LCDIN Read from LCD RAM.
LCDOUT Display characters on LCD.
{LET} Assign result of an expression to a
variable.
LOOKDOWN Search constant table for value.
LOOKDOWN2 Search constant / variable table for
value.
LOOKUP Fetch constant value from table.
LOOKUP2 Fetch constant / variable value from
table.
LOW Make pin output low.
NAP Power down processor for short period of time.
ON DEBUG Execute BASIC debug monitor.
ON INTERRUPT Execute BASIC subroutine on an
interrupt.
OWIN One-wire input.
OWOUT One-wire output.
OUTPUT Make pin an output.
PAUSE Delay (1mSec resolution).
PAUSEUS Delay (1uSec resolution).
PEEK Read byte from register.
POKE Write byte to register.
POT Read potentiometer on specified pin.
PULSIN Measure pulse width on a pin.
PULSOUT Generate pulse to a pin.
PWM Output pulse width modulated pulse train to
pin.
RANDOM Generate pseudo-random number.
RCTIME Measure pulse width on a pin.
READ Read byte from on-chip EEPROM.
READCODE Read word from code memory.
RESUME Continue execution after interrupt
handling.
RETURN Continue at statement following last GOSUB.
REVERSE Make output pin an input or an input pin
an output.
SELECT CASE Compare a variable with different
values.
SERIN Asynchronous serial input (BS1 style).
SERIN2 Asynchronous serial input (BS2 style).
SEROUT Asynchronous serial output (BS1 style).
SEROUT2 Asynchronous serial output (BS2 style).
SHIFTIN Synchronous serial input.
SHIFTOUT Synchronous serial output.
SLEEP Power down processor for a period of time.
SOUND Generate tone or white-noise on specified
pin.
STOP Stop program execution.
SWAP Exchange the values of two variables.
TOGGLE Make pin output and toggle state.
USBIN USB input.
USBINIT Initialize USB.
USBOUT USB output.
WHILE..WEND Execute statements while condition is
true.
WRITE Write byte to on-chip EEPROM.
WRITECODE Write word to code memory.
XIN X-10 input.
XOUT X-10 output.
Funciones y operaciones:
ABS , valor absoluto - COS , Coseno
- DCD , descodificación 2n - DIG , devuelve un dígito - MAX , máximo - MIN , mínimo -
NCD , codificar - REV , invertir bits - SIN , seno - SQR , raíz cuadrada - + - / // * **
*/ << >> & | ^ ~ && || ^^ &/ |/ ^/
El PicBasic Pro Compiler no posee el
mismo nivel de compatibilidad con la BASIC Stamp I que el PicBasic Compiler tiene. El
PicBasic Pro Compiler se acerca mas a un compilador BASIC "real".
El PicBasic Compiler posee una alta
compatibilidad con el lenguaje de programación BS1. Si Ud. requiere de un máximo de
compatibilidad, o desea ahorrar dinero, o no requiere de las características extras del
PicBasic Pro Compiler, entonces solo compre el PicBasic Compiler.
El PicBasic Pro Compiler es un
producto totalmente independiente del PicBasic Compiler.
Soporta todos los PICmicro
MCUs!
12C508(A), 12C509(A), 12CE518, 12CE519: Limited support.
12C671, 12C672, 12CE673, 12CE674, 12F629, 12F675: Supported.
14000: Supported.
16C432, 16C433: Supported.
16C505, 16C54(AC), 16C55(A), 16C56(A), 16C57(C), 16C58(B),
16HV540: Limited support.
16C554, 16C557, 16C558, 16C61, 16C62(AB), 16C620(A),
16C621(A), 16C622(A), 16C63(A), 16C64(A), 16C642, 16C65(AB), 16C66, 16C662, 16C67, 16C71,
16C710, 16C711, 16C712, 16C715, 16C716, 16C717, 16C72(A), 16C73(AB), 16C74(AB), 16C745,
16C76, 16C765, 16C77, 16C770, 16C771, 16C773, 16C774, 16C781, 16C782, 16C84, 16C923,
16C924, 16C925, 16C926, 16CE623, 16CE624, 16CE625, 16F54, 16F57, 16F627(A), 16F628(A),
16F630, 16F648A, 16F676, 16F72, 16F73, 16F74, 16F76, 16F77, 16F818, 16F819, 16F83,
16F84(A), 16F870, 16F871, 16F872, 16F873(A), 16F874(A), 16F876(A), 16F877(A): Supported.
17C42A, 17C43, 17C44, 17C752, 17C756(A), 17C762, 17C766: Supported.
18C242, 18C442, 18C252, 18C452, 18C601, 18C658, 18C801,
18C858, 18F1220, 18F1320, 18F2220, 18F2320, 18F242, 18F2439, 18F248, 18F252, 18F2539,
18F258, 18F4220, 18F4320, 18F442, 18F4439, 18F448, 18F452, 18F4539, 18F458, 18F6520,
18F6525, 18F6585, 18F6620, 18F6621, 18F6680, 18F6720, 18F8520, 18F8525, 18F8585, 18F8620,
18F8621, 18F8680, 18F8720: Supported. |