| H |
|
halt
|
Halt a motor |
|
hi2cin
|
Read data from an I2C device |
|
hi2cout
|
Write data to an I2C device |
|
hi2csetup
|
Configure the I2C mode and the I2C bus |
|
hibernate
|
Reduce power consumption for a period of time |
|
high
|
Switch an output pin on |
|
high portc
|
Switch a Port C output on |
|
hintsetup
|
Configure hardware interrupt input pins |
|
hpwm
|
Generate PWM output signals |
|
hpwmduty
|
Set the duty ratio of HPWM generated signals |
|
hserin
|
Receive serial data through the High-Speed Serial In pin |
|
hserout
|
Send serial data out through the High-Speed Serial Out pin |
|
hsersetup
|
Configure the High-Speed Serial interface |
|
hspiin
|
Read data using the High-Speed SPI interface |
|
hspiout
|
Write data using the High-Speed SPI interface |
|
hspisetup
|
Configure the High-Speed SPI interface |
| I |
|
i2cslave
|
Configure the I2C bus |
|
if
|
Conditionally execute program code |
|
if bit
|
Conditionally execute code depending on a variable bit setting |
|
if pin
|
Respond to the state of an input signal |
|
inc
|
Increment a variable's value by one |
|
infrain
|
Receive an infra-red command |
|
infrain2
|
Receive an infra-red command |
|
infraout
|
Generate an infra-red command |
|
input
|
Set a pin for receiving input |
|
inputtype
|
Select the electrical characteristics of an input pin |
|
irin
|
Receive an infra-red command |
|
irout
|
Generate an infra-red command |
| P |
|
pause
|
Delay for a number of milliseconds |
|
pauseus
|
Delay for a number of microseconds |
|
peek
|
Get a value from PICAXE memory |
|
peeksfr
|
Read data from an internal control register |
|
play
|
Play a pre-defined musical tune |
|
poke
|
Set a value in PICAXE memory |
|
pokesfr
|
Write data to an internal control register |
|
pullup
|
Set internal pull-ups for input pins |
|
pulsin
|
Measure the length of a pulse on an input pin |
|
pulsout
|
Generate a pulse on an output pin |
|
put
|
Set a value in scratchpad memory |
|
pwm
|
Generate a PWM output signal |
|
pwmduty
|
Set the duty ratio of a PWM signal |
|
pwmout
|
Generate a continuous PWM signal |
| R |
|
random
|
Set a variable to a random value |
|
read
|
Read a value from internal data EEPROM |
|
readadc
|
Read an analogue input |
|
readadc10
|
Read a high-resolution analogue input |
|
readdac
|
Read the analogue output |
|
readdac10
|
Read the analogue output using highest resolution |
|
readfirmware
|
Obtain PICAXE firmware information |
|
readi2c
|
Read data from an I2C device |
|
readinternaltemp
|
Read the internal temperature sensor |
|
readoutputs
|
Determine previously set output levels |
|
readowsn
|
Read the serial number of a 1-wire device |
|
readportc
|
Read Port C inputs |
|
readrevision
|
Obtain the #revision details for a program slot |
|
readsilicon
|
Obtain information on the PICAXE chip type |
|
readtable
|
Get a value from the data table |
|
readtemp
|
Read a DS18B20 temperature sensor |
|
readtemp12
|
Read a DS18B20 temperature sensor to 0.625C accuracy |
|
reconnect
|
Enable the PICAXE to accept program downloads |
|
reset
|
Reset the PICAXE and restart program execution |
|
restart
|
Restart a program task |
|
resume
|
Resume executing a suspended program task |
|
return
|
Return from a subroutine |
|
reverse
|
Toggle a pin between input and output use |
|
rfin
|
Receive data from an RF receiver module |
|
rfout
|
Send data to an RF transmitter module |
|
run
|
Run the program in another program slot |
| S |
|
select
|
Select which section of program code to execute |
|
serin
|
Receive serial data through an input pin |
|
serout
|
Send serial data out through an output pin |
|
serrxd
|
Receive serial data through the Serial In pin |
|
sertxd
|
Send serial data out through the Serial Out pin |
|
servo
|
Control a servo |
|
servopos
|
Set the position of a servo |
|
setbit
|
Set a bit within a variable |
|
setfreq
|
Set the operating speed of the PICAXE |
|
setint
|
Set the input conditions which cause an interrupt |
|
setintflags
|
Specify the events which cause an interrupt |
|
settimer
|
Configure the internal timer |
|
shiftin
|
Read data from an SPI device |
|
shiftout
|
Write data to an SPI device |
|
sleep
|
Sleep for a period of time |
|
sound
|
Generate simple sounds |
|
srlatch
|
Configure the hardware SR Latch |
|
srreset
|
Reset the hardware SR Latch |
|
srset
|
Set the hardware SR Latch |
|
stop
|
Stop the program code from continuing |
|
suspend
|
Suspend a program task |
|
swap
|
Swap the values of two variables between each other |
|
switch
|
Switch an output on or off |
|
symbol
|
Give a name to a variable or number value |
| # |
|
#com
|
Set the serial/USB COM port for downloading. |
|
#define
|
Define a name to control conditional compilation |
|
#else
|
Alternative program code include for #ifdef and #ifndef directives |
|
#endif
|
Terminate #ifdef and #ifndef commands |
|
#endrem
|
Terminate a previous #rem directive |
|
#error
|
Force a compilation error to be produced |
|
#freq
|
Specify the current operating speed of the PICAXE being downloaded into |
|
#gosubs
|
Specify the number of GOSUBs allowed |
|
#ifdef
|
Only include program code if a #define name is defined |
|
#ifndef
|
Only include program code if a #define name is not defined |
|
#include
|
Include program code from another source file |
|
#no_data
|
Do not download data EEPROM values |
|
#no_end
|
Do not include a terminating 'end' command |
|
#no_table
|
Do not download data table values |
|
#picaxe
|
Specify the PICAXE the program code is for |
|
#rem
|
Treat subsequent program lines as comments |
|
#revision
|
Specify the revision number in a program slot |
|
#sim
|
Specify simulation model to use |
|
#simspeed
|
Set speed of simulation |
|
#simtask
|
Specify program task to simulate |
|
#slot
|
Specify the program slot the program code will be downloaded into |
|
#terminal
|
Set Terminal display baud rate |
|
#undefine
|
Remove a name previously created with #define |