-
Notifications
You must be signed in to change notification settings - Fork 215
/
JeeLib.h
33 lines (24 loc) · 872 Bytes
/
JeeLib.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/// @file
/// Trivial wrapper around the Ports.h and RF12.h header files.
#ifndef JeeLib_h
#define JeeLib_h
// Include RF69 in compatibility mode if so requested, i.e. by inserting the
// line "#define RF69_COMPAT 1" before including this <JeeLib.h> header file.
// Define it as 0 otherwise, to support "if (RF69_COMPAT) ..." in app code.
#if RF69_COMPAT
#include <RF69_compat.h>
#elif !defined(RF69_COMPAT)
#define RF69_COMPAT 0
#endif
#include <Ports.h>
#include <RF12.h>
#include <RF69.h>
#endif
/// @dir examples
/// Contains all example sketches, this is automatically scanned by the IDE.
/// @dir examples/Ports
/// All example sketches related to the Port class and plugs using it.
/// @dir examples/RF12
/// All example sketches related to the RF12.h wireless driver.
/// @dir examples/RF69
/// All example sketches related to the RF69.h wireless driver.