Login
Products
Development Software
Open Source Software
Pyxis Boards
Char
Creates a new variable of the char type. Char's are usually used to hold character or string values but can be used interchangeably with Bytes and take 1 byte of RAM.
Variables can be created as single values or as arrays. To create a value as an array place the size of the array to the right of the variable name in brackets (ie char string[6] creates an array of 7 characters; note 0 to 6 = 7).
Variables can be assigned values when declared (ie int i = 32). Variables not assigned a value when declared will have a default value of 0 (zero).