markrad / esp32-adxl355 Goto Github PK
View Code? Open in Web Editor NEWADXL355 Access from ESP32 via I2C
License: MIT License
ADXL355 Access from ESP32 via I2C
License: MIT License
In file included from /Users/ankitbhardwaj/Documents/Arduino/hardware/espressif/esp32/cores/esp32/esp32-hal.h:53:0,
from /Users/ankitbhardwaj/Documents/Arduino/hardware/espressif/esp32/cores/esp32/Arduino.h:35,
from sketch/adxl355.ino.cpp:1:
/Users/ankitbhardwaj/Documents/Arduino/hardware/espressif/esp32/cores/esp32/esp32-hal-gpio.h:51:19: error: expected identifier before numeric constant
#define DISABLED 0x00
^
sketch/ADXL355.h:109:9: note: in expansion of macro 'DISABLED'
DISABLED = 0b000,
^
/Users/ankitbhardwaj/Documents/Arduino/hardware/espressif/esp32/cores/esp32/esp32-hal-gpio.h:51:19: error: expected '}' before numeric constant
#define DISABLED 0x00
^
sketch/ADXL355.h:109:9: note: in expansion of macro 'DISABLED'
DISABLED = 0b000,
^
/Users/ankitbhardwaj/Documents/Arduino/hardware/espressif/esp32/cores/esp32/esp32-hal-gpio.h:51:19: error: expected unqualified-id before numeric constant
#define DISABLED 0x00
^
sketch/ADXL355.h:109:9: note: in expansion of macro 'DISABLED'
DISABLED = 0b000,
^
In file included from /Users/ankitbhardwaj/Documents/Arduino/adxl355/adxl355.ino:1:0:
sketch/ADXL355.h:135:18: error: expected ')' before 'deviceAddress'
ADXL355(uint8_t deviceAddress, gpio_num_t sdaPin, gpio_num_t sclPin);
^
sketch/ADXL355.h:140:5: error: 'STATUS_VALUES' does not name a type
STATUS_VALUES GetStatus();
^
sketch/ADXL355.h:144:5: error: 'RANGE_VALUES' does not name a type
RANGE_VALUES GetRange();
^
sketch/ADXL355.h:145:18: error: 'RANGE_VALUES' was not declared in this scope
int SetRange(RANGE_VALUES value);
^
sketch/ADXL355.h:146:5: error: 'HPF_CORNER' does not name a type
HPF_CORNER GetHpfCorner();
^
sketch/ADXL355.h:147:22: error: 'HPF_CORNER' was not declared in this scope
int SetHpfCorner(HPF_CORNER value);
^
sketch/ADXL355.h:167:1: error: expected unqualified-id before 'private'
private:
^
sketch/ADXL355.h:174:1: error: expected declaration before '}' token
};
^
exit status 1
Error compiling for board SparkFun ESP32 Thing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.