' |
Single line comment |
/* ... */ |
Multi line comment |
ADC FREQUENCY [freq] |
This changes the sampling frequency of the ADC conversion without having to close and re-open |
ADC CLOSE |
Releases the pins to normal usage |
ADC OPEN freq, n_channels[, interrupt] |
This allocates up to 4 ADC channels for use and sets them to be converted at the specified frequency |
ADC START array1!() [,array2!()] [,array3!()] [,array4!()] [,C1min] [,C1max] [,C2min] [,C2max] [,C3min] [,C3max] [,C4min] [,C4max] |
This starts conversion into the specified arrays. The arrays must be floating point and the same size. ‘Cxmin’ and ‘Cxmax’ will scale the readings. |
ADC RUN array1%(), array2%() |
Runs the ADC continuously in double buffered mode. |
ARRAY ADD in(), value, out() |
This adds (or appends for strings) the value 'value' to every element of the matrix in() and puts the answer in out(). |
ARRAY INSERT targetarray(), [d1] [,d2] [,d3] [,d4] [,d5], sourcearray() |
This is the opposite of ARRAY SLICE |
ARRAY SET value, array() |
Sets all elements of array() to value |
ARRAY SLICE sourcearray(), [d1] [,d2] [,d3] [,d4] [,d5] destinationarray() |
This command copies a specified set of values from a multi-dimensional array into a single dimensional array. |
ARC x, y, r1, [r2], a1, a2 [, c] |
Draws an arc of a circle with a given colour and width between two radials (defined in degrees) |
AUTOSAVE [CRUNCH|APPEND] |
Enter automatic program entry mode. CRUNCH removes all comments and whitespace, APPEND appends to the end of the existing program |
BIT(var%, bitno) = value |
Sets the specified bit bitno in the 64-bit integer variable var% to value |
BLIT READ [#]b, x, y, w, h |
Will copy a portion of the display to the memory buffer '#b'. 32 buffers are available ranging from #1 to #32. |
BLIT WRITE [#]b, x, y [,mode] |
Will copy the memory buffer '#b' to the display. 32 buffers are available ranging from #1 to #32. |
BLIT LOAD[BMP] [#]b, fname$ [,x] [,y] [,w] [,h] |
Will load a blit buffer from a 24-bit bmp image file. |
BLIT CLOSE [#]b |
Will close the memory buffer '#b' |
BLIT FRAMEBUFFER from, to, xin, yin, xout, yout, width, height [,colour] |
Copies an area of a specific ‘from’ framebuffer N, F, or L to another different ‘to’ framebuffer N, F, or L. |
BLIT MEMORY address, x, y [,col] |
Copies an area of memory treated as a packed array of colour nibbles to the current graphical output as specified by FRAMEBUFFER WRITE |
BLIT COMPRESSED address%, x, y [,col] |
Acts the same as BLIT MEMORY but assumes the data is compressed and ignores the top bit in the width and height |
BLIT x1, y1, x2, y2, w, h |
Copy one section of the display screen to another part of the display |
BOX x, y, w, h [, lw] [,c] [,fill] |
Draws a box on the display with the top left hand corner at 'x' and 'y' with a width of 'w' pixels and a height of 'h' pixels |
BYTE(var$, byteno)=value |
Sets byte byteno in string var$ to integer value value. value can be in the range 0- 255. |
CALL usersubname$ [,usersubparameters,..] |
Call subroutine usersubname$ |
CAT S$, N$ |
Appends N$ to S$ |
CHAIN fname$ [cmdline$] |
Invokes program fname$ and keeps the variables intact |
CHDIR dir$ |
Changes the current working directory to dir$ |
CIRCLE x, y, r [,lw] [, a] [, c] [, fill] |
Draw a circle centered at x and y with a radius of r on the display |
CLEAR |
Delete all variables |
CLOSE [#]fnbr [,[#]fnbr] |
Closes the file(s) with the specified file number(s) |
CLS [color] |
Clears the screen |
CMM2 LOAD|RUN |
Loads and or runs a program from disk using the CMM2 program loading mechanism |
COLOR fore [, back] |
Sets the default color for commands that display on the screen |
COLOUR MAP inarray%(), outarray%() [,colourmap%()] |
Generates RGB888 colors in outarray% from color codes (0- 15) in inarray% |
CONFIGURE cfg |
Configures a board as per the cfg specified equivalent of OPTION RESET |
CONFIGURE LIST |
Lists all the various configurations available for the firmware version |
CONST id = expression [, id = expression][, ...] |
Creates constant identifier id and sets it to the value of expression. This value cannot be changed once set. |
CONTINUE |
Resume running a program that has been stopped by an END statement, an error, or CTRL-C |
CONTINUE DO|FOR |
Skip to the end of a DO/LOOP or a FOR/NEXT loop |
COPY fname1$ TO fname2$ |
Copy file fname1$ to new file fnames2$ |
COPY fname$ TO dirname$ |
Wildcard copy. The bulk copy is triggered if fname$ contains a '*' or a '?' character. dirname$ must be a valid directory name and should NOT end in a slash character |
CPU RESTART |
Will force a restart of the CPUs. This will clear all variables and reset everything |
CPU SLEEP n |
Will cause the processors to sleep for n seconds |
CSUB name [type][, type][, ...] |
Defines the binary code for an embedded machine code program module written in C or ARM assembler. |
END CSUB |
Ends the CSUB definition |
DATA constant[, constant][, ...[ |
Stores numerical and string constants to be accessed by READ |
DATE$ = "DD-MM-YY[YY]" | "DD/MM/YY[YY]" | ”YYYY-MM-DD” | ”YYYY/MM/DD” |
Set the date of the internal clock/calendar |
DEFINEFONT #Nbr |
This will define an embedded font which can be used alongside or to replace the built in font(s) used on an attached LCD panel. |
END DEFINEFONT |
Ends the font definition |
DEVICE BITSTREAM pinno, n_transitions, array%() |
Generate an extremely accurate bit sequence on pin pinno |