I have been working on setting up my spindle to be turn on and off by the Marin firmware. I have the RAMBo board with the current firmware for the dual end stops firmware attached to a PWN AC light Dimmer module. I have attached the two board together using pin 45(PL4), VCC and GND that is located on the RMABO Boards Motor Extension X31. On the PWN AC light Dimmer module, I used the VCC, PWM and GND.
I tested the hardware by running a script that dimed a light attached to the dimmer, so I am confident that the hardware is working correctly. I believe I have misted something on the setup of Marlin. The pins_RAMBO.h file was set to use pin 45 for PWM. The other change I made was to Configuration_adv.h file. The #define SPINDLE_LASER_ENABLEconfiguration was changed from a comment to a command. After making the changes, I flashed the RAMBo board.
When the board came back up the light came on, but I was unable to get it to do anything else when I sent M03 or M05 commands. I spent a few hours doing Google searches to see if I was missing something but could not get it to work. I am hoping someone can tell me what I have done wrong.