Giter Site home page Giter Site logo

Comments (4)

dekuNukem avatar dekuNukem commented on August 12, 2024

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.

jbmorley avatar jbmorley commented on August 12, 2024

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.

dekuNukem avatar dekuNukem commented on August 12, 2024

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.

jbmorley avatar jbmorley commented on August 12, 2024

Thank you so much!

from exixe.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.