control WS2812 LEDs

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

control WS2812 LEDs

Postby CADdy » Thu Apr 07, 2022 7:18 am

Hi all,

is it possible to control WS2812 LEDs in a macro via UCCNC? My search on the Internet has revealed control only in conjunction with an Arduino or Raspberry. I would like to use a LED-ring with WS2812 for visual indication of different states of a tool changer.

Peter
CADdy
 
Posts: 148
Joined: Sun Sep 17, 2017 2:26 pm

Re: control WS2812 LEDs

Postby dezsoe » Thu Apr 07, 2022 10:24 am

You'll need the Arduino to control the LEDs and you can control the Arduino from a macro. (Direct serial or Modbus.)
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: control WS2812 LEDs

Postby CADdy » Thu Apr 07, 2022 6:35 pm

Hi dezsoe,

thank you for your reply. To control an Arduino via a macro, I still lack the experience. I still have to find out more and experiment a little.
Thank you very much!

Peter
CADdy
 
Posts: 148
Joined: Sun Sep 17, 2017 2:26 pm


Return to Macros

Who is online

Users browsing this forum: No registered users and 2 guests