Giter Club home page Giter Club logo

ledpattern's People

Contributors

yveaux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ledpattern's Issues

general / offtopic question about incompatibility with other libraries...

First of all, thanks a lot @Yveaux for your library! Is being very helpful for my last project; and other people should know for it.
I am using the lib for a big_start_arcade_ligthing_button for a computer TV station based on Arduino + openFrameworks app connected through usb serial com.

The thing is that sometimes I am stuck with some errors that I can't debug fine (I don't know how).
I use Visual Micro as Arduino IDE in MS Visual Studio (Arduino Mega & Uno + 1 NeoPixel RGB led).
I can't figure out why sometimes the Arduino hangs and stops working and it falls freezed.

When modifying the led patterns (I think...), sometimes the code backs to work fine. Also just disabling the serial1 (second aux port used to debug) makes the code stop working (?)... I started with the FastLed examples.

I suspect that maybe is related to some incompatibility (timers?, interrupts?, used pins?, to debug on serial on a listener function?...) with the others libraries I am using. But I don't know what I have to check inside the other libs (and also into LedPattern) to disable/debug the problems.

The other libs I am using are this ones:
https://github.com/bakercp/PacketSerial
https://github.com/mathertel/OneButton
https://github.com/TinkerKit/DmxMaster
https://github.com/pfeerick/elapsedMillis

Any idea of how/where to start check around?
Thanks again! I'll post here my progress if I see something helpful...

Cannot declare variable 'pattern' to be of abstract type 'LedPattern_Mono'

This library looks awesome! Alas, the examples do not compile on Arduino IDE 1.8.5 for Arduino Uno. For example, in "Mono_pattern.ino", the error given is:

Mono_pattern:48: error: cannot declare variable 'pattern' to be of abstract type 'LedPattern_Mono'
 static LedPattern_Mono pattern(LED_PIN);
                        ^
In file included from /Users/usr/Documents/Arduino/libraries/LedPattern/examples/Mono_pattern/Mono_pattern.ino:1:0:
/Users/usr/Documents/Arduino/libraries/LedPattern/LedPattern_Mono.h:6:7: note:   because the following virtual functions are pure within 'LedPattern_Mono':
 class LedPattern_Mono : public LedPattern
       ^
In file included from /Users/usr/Documents/Arduino/libraries/LedPattern/LedPattern_Mono.h:4:0,
                 from /Users/usr/Documents/Arduino/libraries/LedPattern/examples/Mono_pattern/Mono_pattern.ino:1:
/Users/usr/Documents/Arduino/libraries/LedPattern/LedPattern.h:118:22: note: 	virtual void LedPattern::ledFadeStop()
         virtual void ledFadeStop(void) = 0;
                      ^
exit status 1
cannot declare variable 'pattern' to be of abstract type 'LedPattern_Mono'

Any idea what could be wrong in here?

Question: Why is this library not available via Arduino Library Manager ?

Could not find this library via the Arduino Library Manager. Is there a specific keyword to search with ? Or does the library have to be added manually ?

From the description, this library seems to be exactly what I need, as I need to simultaneously run various blink patterns on multiple LEDs (on/off, no fade), and that operates asynchronously.

Library location.

Where am I supposed to find this library? I cant seem to find it anywhere.

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.