Control Marlin or GRBL with DMX

Hey Guys, is there a way how to get a other Input into GRBL or Marlin then Gcode from a CAM program? like from a other Arduino which receives DMX? I saw somewhere(cant find it again) that someone connected a Wii controller directly to the a RAMPS 1.4. What i wanna do is to get 5 DMX channels into a arduino Uno with a DMX shield (that part i know how to do and is easy) and take those values and send them to a Arduino Mega with a Ramps 1.4 with Marlin or GRBL. Maybe i thaught there is some easy way arround this :slight_smile: If not ill need to try to get int configuring the Ramp code on my own which will be a hard and long journey but possble i think. Thanks in advance and greetings, Mateo

You will have to write Arduino code that sends the appropriate GCode when it receives a message from DMX.

Of course if you have no need of GRBL or Marlin you could write your own code to operate the stepper motors.

...R
Stepper Motor Basics
Simple Stepper Code