I have all the correct libraries for components that I am using, however, i keep having this error
'SparkFunMPL3115A2' does not name a type
code below:
#include <Wire.h>
#include "SparkFunMPL3115A2.h"
#include "SevSeg.h"
#include <Bounce2.h>
//#define SERIAL_DEBUG //Used for activating Serial Debugging
#define TITLE_MODE 1
#define VALUE_MODE 0
#define ALT 0
#define TOP 1
#define BOT 2
#define DIFF 3
#define STBY 4
//Create an instance of the object
SparkFunMPL3115A2 myPressure;
SevSeg myDisplay;