Libraries includes
The Waspmote API is divided into two folders: "core" and "libraries". The libraries inside "core" are invoked automatically so there is no need to add them to the ".pde". Some examples are "Utils.h" or "WaspACC.h". However, it is mandatory to manually include to the ".pde" a library which is inside the "libraries" folder (if we need to use it).
The libraries used in the programs must be included at the beginning of the code by writing the inclusion of the corresponding header. The list of classes which have to be included when they are used is:
1
#include <WaspBT_Pro.h>
2
#include <WaspBLE.h>
3
#include <WaspFrame.h>
4
#include <WaspGPRS_Pro.h>
5
#include <WaspGPRS_SIM908.h>
6
#include <WaspRFID1356.h>
7
#include <WaspSensorAgr_v30.h>
8
#include <WaspSensorAmbient.h>
9
#include <WaspSensorCities.h>
10
#include <WaspSensorEvent_v30.h>
11
#include <WaspSensorGas_v30.h>
12
#include <WaspSensorPrototyping_v30.h>
13
#include <WaspSensorRadiation.h>
14
#include <WaspSensorSW.h>
15
#include <WaspSensorSmart_v30.h>
16
#include <WaspSX1272.h>
17
#include <WaspWIFI_PRO.h>
18
#include <WaspXBee802.h>
19
#include <WaspXBee868LP.h>
20
#include <WaspXBee900HP.h>
21
#include <WaspXBeeZB.h>
22
#include <WaspXBeeDM.h>
23
#include <Wasp3G.h>
24
#include <Wasp4G.h>
25
#include <WaspStackEEPROM.h>
Copied!
Copy link