Complete Language Index — Maple v0.0.12 Documentation

### Navigation

- next
- previous |
- LeafLabs |
- Index »

# Complete Language Index

This is the index of Maple’s language reference documentation. The “Maple API” column provides API references for documented libmaple functionality. The “C++ for Maple” pages are intended as a minimal reference/refresher for programmers familiar with the Arduino language.

Looking for Something Else?

- See the Maple Library Reference for extra built-in libraries for dealing with different kinds of hardware.
- If you’re looking for something from the C standard library (like `atoi()`, for instance): the CodeSourcery GCC compiler used to compile your programs is configured to link against newlib, and allows the use of any of its header files. However, dynamic memory allocation (`malloc()`, etc.) is not available.
- If you’re looking for pointers to low-level details, see the Language Recommended Reading and libmaple pages.

Maple API | C++ for Maple
--- | ---
abs() analogRead() analogWrite() `ASSERT(...)` attachInterrupt() bit() bitClear() bitRead() bitSet() bitWrite() Board-Specific Values boardUsesPin() Constants constrain() cos() delay() delayMicroseconds() detachInterrupt() digitalRead() digitalWrite() disableDebugPorts() enableDebugPorts() HardwareSPI HardwareTimer highByte() interrupts() isButtonPressed() loop() lowByte() map() max() micros() millis() min() noInterrupts() pinMode() pow() pwmWrite() random() randomSeed() Serial Ports (`Serial1`, `Serial2`, `Serial3`) `SerialUSB` setup() shiftOut() sin() sq() tan() toggleLED() togglePin() `volatile` waitForButtonPress() | Arithmetic Operators (`+`, `-`, `*`, `/`) Arrays Assignment Operator (`=`) Bit Shift Operators (`<<`, `>>`) Bitwise Operators (`&`, `|`, `^`, `~`) Boolean Operators Booleans `break` Built-in Types byte byte() (cast) `char` `char()` (cast) Comments Comparison Operators (`==`, `!=`, `<`, `>`, `<=`, `>=`) Compound Arithmetic Operators (`+=` , `-=`, `*=`, `/=`) Compound Bitwise Operators (`&=`, `|=`, `^=`) `const` `continue` Curly Braces (`{`, `}`) `#define` `double` `double()` (cast) `do`/`while` `enum` `float` `float()` (cast) `for` Labels and `goto` `if`/`else` `#include` Increment and Decrement Operators (`++`, `--`) `int` `int()` (cast) Keywords `long()` (cast) `long long` Modulo Operator (`%`) Pointer Operators (`&`, `*`) `return` Scope Semicolon (`;`) `sizeof()` sqrt() `static` Strings `switch`/`case` `unsigned char` `unsigned int` `unsigned long long` Variables `void` `while`

### Navigation

- next
- previous |
- LeafLabs |
- Index »