Waspmote Programming Guide
Development website
  • Initial page
  • Introduction
  • Program structure
  • Libraries includes
  • Variable declaration
  • Code style
  • General advice
  • RTC watchdog
  • Flash memory
  • EEPROM
  • RAM
  • Power
  • Sensor Boards
  • Networking
  • Frame class
  • Interfacing with Meshlium
  • Real deployment advice
  • API changelog
  • GitHub Project
Powered by GitBook
On this page

Was this helpful?

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:

#include <WaspBT_Pro.h>
#include <WaspBLE.h>
#include <WaspFrame.h>
#include <WaspGPRS_Pro.h>
#include <WaspGPRS_SIM908.h>
#include <WaspRFID1356.h>
#include <WaspSensorAgr_v30.h>
#include <WaspSensorAmbient.h>
#include <WaspSensorCities.h>
#include <WaspSensorEvent_v30.h>
#include <WaspSensorGas_v30.h>
#include <WaspSensorPrototyping_v30.h>
#include <WaspSensorRadiation.h>
#include <WaspSensorSW.h>
#include <WaspSensorSmart_v30.h>
#include <WaspSX1272.h>
#include <WaspWIFI_PRO.h>
#include <WaspXBee802.h>
#include <WaspXBee868LP.h>
#include <WaspXBee900HP.h>
#include <WaspXBeeZB.h>
#include <WaspXBeeDM.h>
#include <Wasp3G.h>
#include <Wasp4G.h>
#include <WaspStackEEPROM.h>
PreviousProgram structureNextVariable declaration

Last updated 4 years ago

Was this helpful?