djcysmic / NeopixelBusFX

NeopixelBusFX plugin for ESPEasy
27 stars 7 forks source link

kann mit Atom und PlatformIO nicht komplimieren #10

Closed quorle closed 3 years ago

quorle commented 5 years ago

Wollte heute mal dies in die aktuelle ESPEasy einbinden. leider lässt sich das ganze nicht mehr komplimieren.

Kann hier noch wer helfen?

ozett commented 5 years ago

was für ein zufall, wollte jetzt gerade mit arduino ide dasselbe versuche. melde mich mal später mit einem feedback ...

ozett commented 5 years ago

ich hab die sourcen von espeasy heute geholt un das plugin neopixelbusfx. es scheitert bei mir an der fastled-library, die für den esp nicht compiliert wird. ist das das problem?

image

ozett commented 5 years ago

ops, gerade gesehen, ich hab das plugin von der plugin-seite. das enthätl der code noch den fastled aufruf. https://github.com/letscontrolit/ESPEasyPluginPlayground/blob/master/_P124_NeoPixelBusFX.ino#L80

ich versuche nochmal das plugin von hier

quorle commented 5 years ago

Na dann bin ich nicht alleine.

Ich habe jetzt alles versucht, funktioniert nicht mit Atom und PlatformIO

D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1685:22: error: request for member 'SetPixelColor' in '* Plugin_124_pixels', which is of non-class type 'int'
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino: In function 'void twinklefade()':
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1717:35: error: request for member 'GetPixelColor' in '* Plugin_124_pixels', which is of non-class type 'int'
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1719:35: error: request for member 'GetPixelColor' in '* Plugin_124_pixels', which is of non-class type 'int'
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1721:35: error: request for member 'GetPixelColor' in '* Plugin_124_pixels', which is of non-class type 'int'
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1735:23: error: request for member 'SetPixelColor' in '* Plugin_124_pixels', which is of non-class type 'int'
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1743:23: error: request for member 'SetPixelColor' in '* Plugin_124_pixels', which is of non-class type 'int'

D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino: In function 'void sparkle()':
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1773:59: error: request for member 'SetPixelColor' in '* Plugin_124_pixels', which is of non-class type 'int'
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1775:22: error: request for member 'SetPixelColor' in '* Plugin_124_pixels', which is of non-class type 'int'
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino: At global scope:
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1789:1: error: 'CRGB' does not name a type
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino: In function 'void fire()':
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1797:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1809:21: error: 'leds' was not declared in this scope
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1813:23: error: request for member 'SetPixelColor' in '* Plugin_124_pixels', which is of non-class type 'int'
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino: In function 'void Fire2012()':
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1835:73: error: 'random8' was not declared in this scope
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1835:74: error: 'qsub8' was not declared in this scope
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1853:15: error: 'random8' was not declared in this scope
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1857:47: error: 'qadd8' was not declared in this scope
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1867:3: error: 'CRGB' was not declared in this scope
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1867:8: error: expected ';' before 'color'
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1881:3: error: 'leds' was not declared in this scope
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino: In function 'void NeoPixelSendStatus(byte)':
D:/Dropbox/Backup/ATOM-Projekte/ESPEasy/src/_P124_NeoPixelBusFX.ino:1979:29: error: request for member 'GetBrightness' in '* Plugin_124_pixels', which is of non-class type 'int'
ozett commented 5 years ago

kennste die alternative vielleicht ?

https://github.com/toblum/McLighting

quorle commented 5 years ago

Kenn ich, nur leider muss ich noch einen Bewegungsmelder und einen Lichtsensor inplemetieren. Hab ich bei dem von dir genannten Projekt versucht und versagt: https://www.roqstech.de/viewtopic.php?f=12&t=33&p=125#p125

ozett commented 5 years ago

hab jetzt espeasy sourcen von 2018-10 probiert, und auch board-versionen 2.5/2.4/2.3 geht nicht auf anhieb. müsste demnächst mal sehen, dass ich eine kombination finde, die ich compilieren kann. und dann noch das plugin. die plugins bis 082, also auch basic neopixel 038 (?) scheinen gepflegt zu werden..

bis hierhin...