The primitive Data Types available in ESPL1000 are used similar to those available in C.
Type | Width | Signed-ness | Example |
---|---|---|---|
int8 | 1 byte | signed | int8 x = 3; |
uint8 | 1 byte | unsigned | uint8 x = 0b00001010; |
int | unspecified | signed | int x = 0x0f; |
uint | unspecified | unsigned | |
char | 1 byte | char c = 'k'; | |
bool | 1 byte | bool x = true; |