Comments (4)
Thanks for the discovery, I don't have a ESP32 myself and apparently it's different.
Isn't memset
in string.h
? Try#include <string.h>
instead of Arduino.h
and see if it works. I'll test and update the library tomorrow.
from exixe.
A collection of other symbols seem to be missing with just #include <string.h>
.
/Users/jbmorley/Documents/Arduino/libraries/exixe/exixe.cpp: In constructor 'exixe::exixe(int)':
/Users/jbmorley/Documents/Arduino/libraries/exixe/exixe.cpp:18:19: error: 'OUTPUT' was not declared in this scope
pinMode(cs_pin, OUTPUT);
^
/Users/jbmorley/Documents/Arduino/libraries/exixe/exixe.cpp:18:25: error: 'pinMode' was not declared in this scope
pinMode(cs_pin, OUTPUT);
^
/Users/jbmorley/Documents/Arduino/libraries/exixe/exixe.cpp:19:24: error: 'HIGH' was not declared in this scope
digitalWrite(cs_pin, HIGH);
^
/Users/jbmorley/Documents/Arduino/libraries/exixe/exixe.cpp:19:28: error: 'digitalWrite' was not declared in this scope
digitalWrite(cs_pin, HIGH);
^
/Users/jbmorley/Documents/Arduino/libraries/exixe/exixe.cpp: In member function 'void exixe::spi_write()':
/Users/jbmorley/Documents/Arduino/libraries/exixe/exixe.cpp:25:24: error: 'LOW' was not declared in this scope
digitalWrite(cs_pin, LOW);
^
/Users/jbmorley/Documents/Arduino/libraries/exixe/exixe.cpp:25:27: error: 'digitalWrite' was not declared in this scope
digitalWrite(cs_pin, LOW);
^
/Users/jbmorley/Documents/Arduino/libraries/exixe/exixe.cpp:26:11: error: 'delay' was not declared in this scope
delay(10);
^
/Users/jbmorley/Documents/Arduino/libraries/exixe/exixe.cpp:29:24: error: 'HIGH' was not declared in this scope
digitalWrite(cs_pin, HIGH);
^
/Users/jbmorley/Documents/Arduino/libraries/exixe/exixe.cpp: In member function 'void exixe::crossfade_init(unsigned char, unsigned int, unsigned char, unsigned char)':
/Users/jbmorley/Documents/Arduino/libraries/exixe/exixe.cpp:107:34: error: 'millis' was not declared in this scope
animation_start_frame = millis() / EXIXE_ANIMATION_FRAME_DURATION_MS;
^
/Users/jbmorley/Documents/Arduino/libraries/exixe/exixe.cpp: In member function 'unsigned char exixe::crossfade_run()':
/Users/jbmorley/Documents/Arduino/libraries/exixe/exixe.cpp:116:41: error: 'millis' was not declared in this scope
unsigned long current_frame = (millis() / EXIXE_ANIMATION_FRAME_DURATION_MS) - animation_start_frame;
^
from exixe.
I updated the library just now so try it out.
Feel free to submit pull requests too if there are any other issues.
from exixe.
Thank you so much!
from exixe.
Related Issues (17)
- LED does not stay lit HOT 6
- Windows 10 & STM32 ST-LINK
- Exixe14 BOM not matching PCB HOT 8
- Overdrive doesn't seem to do anything HOT 1
- Unable to completely turn of the LED HOT 1
- Mounting methods HOT 2
- Crossfade issue on ESP8266 HOT 2
- SPI pins HOT 17
- Inconsistent behavior with multiple exixe HOT 22
- Random blinking numbers and inconsistent LED behaviour HOT 7
- Arduino library: Initialising multiple tubes doesn't seem to work HOT 2
- The exixe 2018 boards not working HOT 13
- sourcing STM32F042K6T6 HOT 1
- Created and assembled board, connected to ST Link V2 HOT 2
- The MISO and MOSI pins are the wrong way around on the getting started page HOT 3
- exixe12_bom different capacitor values HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exixe.