Hi,
I am trying to connect my laser to a MKS Gen L V1.0 using a 5v PWM pin.
I have found that i can use pin 44 as a 5v PMW output but i am not really sure how to program it.
I am not a prgrammer and i havent had anything to do with arduino port and bit programming before
From what i can work out i need to change the spindle output in cpu_map.h to be:
// Define spindle output pins.
#define SPINDLEPWMDDR DDRL
#define SPINDLEPWMPORT PORTL
#define SPINDLEPWMBIT 5 // MEGA2560 Digital Pin 44
When i tell the laser to run im not getting any voltage coming from Pin 44
I am using the below Pinout Diagram of the MKS to Reference the Pin 44 Connection
https://i.stack.imgur.com/YlGDW.png
Thanks in Advance
#1 – botio 于 2021-02-07
#55