Klipper3d / klipper

Klipper is a 3d-printer firmware
GNU General Public License v3.0
9.41k stars 5.3k forks source link

[NEO PIXEL] Unknown command: neopixel_send #1810

Closed Zwaubel closed 5 years ago

Zwaubel commented 5 years ago

Just came across the new neo pixel module and immediately had to test it. Unfortunately it did not work. It looks like the module is incomplete/erroneous, since I got the following error although I flashed my µC with the newest firmware (make clean; make; make flash):

Unknown command: neopixel_send This type of error is frequently caused by running an older version of the firmware on the micro-controller (fix by recompiling and flashing the firmware). Once the underlying issue is corrected, use the "RESTART" command to reload the config and restart the host software. Protocol error connecting to printer Klipper state: Not ready

klippy.log

KevinOConnor commented 5 years ago

That code isn't supported on the AVR chips right now - due to the slow speed of the AVR chips, a custom micro-controller implementation would be needed on that platform.

-Kevin

Zwaubel commented 5 years ago

Okay, thanks for clarifying.

KevinOConnor commented 5 years ago

Can you retry with the latest code (commit f6d1ab2e)?

-Kevin

Zwaubel commented 5 years ago

Neopixel control works perfectly on my MEGA2560. Thank you so much!

FYI: I'm using a single WS2812b pixel to represent the status of the printer and as of right now, I have not tested anything other than controlling the pixel. Will do some more in depth testing tomorrow, if required.