What is PICAXE BASIC?

PICAXE is a microcontroller system based on a range of Microchip PIC microcontrollers. PICAXE devices are Microchip PIC devices with pre-programmed firmware that enables bootloading of code directly from a PC, simplifying hobbyist embedded development (not unlike the Arduino and Parallax BASIC Stamp systems).

What was PICAXE made for?

A PICAXE microcontroller is designed to be the brain of your electronic project. Originally designed as an educational system for schools, the PICAXE system has now also been widely adopted by hundreds of thousands of ‘hobbyists’ due to its ease of use.

Which command is used to write data memory?

EEPROM command
Write byte data content into data memory. The write command allows byte data to be written into the microcontroller’s internal data memory. The contents of this memory is not lost when the power is removed. However the data is updated (with the EEPROM command specified data) upon a new download.

What is Picaxe microcontroller?

A PICAXE microcontroller is a Microchip PIC microcontroller that has been preprogrammed with the PICAXE bootstrap code. The bootstrap code enables the microcontroller to be reprogrammed without the need for an (expensive) conventional programmer, making the whole download system a very low-cost simple serial cable!

What is a pickaxe used for?

A pickaxe, pick-axe, or pick is a generally T-shaped hand tool used for prying. Its head is typically metal, attached perpendicularly to a longer handle, traditionally made of wood, occasionally metal, and increasingly fiberglass.

How do you read RAM?

In modern operating systems, RAM accesses are separated between processes. Therefore you cannot build a simple application to take a look into the data of another progam running. To do this you will have to program in kernel mode or use debug functions of the specific operating system.

What do you need to know about PICAXE basic?

PICAXE BASIC provides two commands for controlling servos. The SERVO command is used to initialize the servo and takes the syntax: The optional preload parameter is only available on X2 parts and is used to provide a timing constant. In order to hold the position the timing pulse must be refreshed periodically.

When to use ” if ” and ” symbol ” in PICAXE?

Note that when testing an input pin, the ‘pin’ variable name must be used and not the pin number or the pin’s port.number label. For example – If the ‘pin’ variable name is not specified a ‘syntax error’ will likely be raised for the ‘if’ command. Care needs to be taken when specifying an input pin to test using the symbol command.

When do you ignore a command in PICAXE?

If not the command is ignored and program flow continues on the next line after the ‘if’ command. The ‘if’ statement commands check the variable’s values and inputs at the time the command is processed so it is normal to put the command within a program loop that regularly scans the input.

What do the BIT variables mean in PICAXE?

In addition to byte variables, PICAXE offers bit variables and word variables. Bit variables are named bit0, bit1, etc. They store and refer to a single binary digit of 1 or 0. There are 16 bit variables available on first generation, and the A, M, and X series chips, and 32 bit variables on the X1 and X2 chips.