#include <stdlib.h>
#include <float.h>
#include <stdint.h>
#include <math.h>
#include <values.h>
#include <qualia/compat/Arduino.h>
#include <qualia/core/error.h>
#include <qualia/core/Allocator.h>
Go to the source code of this file.
#define __STDC_LIMIT_MACROS |
#define bitFlip |
( |
|
value, |
|
|
|
bit |
|
) |
| ((value) ^= (1UL << (bit))) |
Flips bit bit# in element #value#.
#define is_arduino |
( |
| ) |
defined(ARDUINO) |
#define is_avr |
( |
| ) |
defined(__AVR__) |
True iff we are compiling for AVR.
This file provides some common includes and definition. Among other things, it gives access to some common Arduino functions when compiling on a computer. This file should be included at the top of every header file that uses Qualia.
#define is_computer |
( |
| ) |
!defined(__AVR__) |
True iff we are compiling for a non-AVR platform.
#define RANDOM_MAX RAND_MAX |