Library definition in example error
Closed this issue · 0 comments
Techie-Inc commented
Library definition #include <arduino-OC03.h> causes an error when compiling.
Incorrect code below:
#include <arduino-OC03.h> // https://github.com/xinabox/arduino-OC03
#include <xCore.h>
/****************** Global sensor objects *******************/
xOC03 OC03;
/********************* SYSTEM VARIABLES *********************/
const int DELAY_TIME = 2000;
Corrected below:
#include <xOC03.h> // https://github.com/xinabox/arduino-OC03
#include <xCore.h>
/****************** Global sensor objects *******************/
xOC03 OC03;
/********************* SYSTEM VARIABLES *********************/
const int DELAY_TIME = 2000;