Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /home3/validus/public_html/wp-includes/class-wp-hook.php on line 298

08 – BASIC Programming Commands

The different PICAXE controllers may have a different set of programming commands based on the functionality of the PICAXE model. The following Basic Programming Commands is available for the PICAXE-08M. 

Type

List of commands per Type

ADC

readadc, readadc10

Clock Frequency

 setfreq

Data memory

eeprom, write, read

Delays

pause, wait, nap, sleep, end

Infrared

infrain2, infraout

Input

if…then, readadc, pulsin, button, count

Interrupt

setint

I/O Config.

input, output, reverse, let dirs =

Loops

for…next

Mathematics

let (+, -, *, **, /, //, max, min, &, |, ^, &/, |/, ^/ )

Miscellaneous

symbol, debug

Music

play, tune

Output

high, low, toggle, pulsout, let pins =

Program Flow

goto, gosub, return, branch

PWM

pwm

RAM

peek, poke

Serial

serin, serout

Servo Control

servo

Sound

sound

Temperature

readtemp, readtemp12

Variables

if…then, random, lookdown, lookup

1-wire Serial No

readowsn


See the PICAXE Manual 2 for descriptions of these commands.