When loading firmware, the relay is always on
Relay problem... To turn off the relay, I need to give the command to supply voltage to D11. Connected sig wire to D11, ground to ground, + to 5V. I fill in the firmware, the relay turns on, on the sig wire and the ground-0V. To relay off need 5 volts...option LASER_ON_HIGH does not help...LASER_PIN 11, 255 M3 tap is not working and M5 Not working... To turn off the relay you need to apply 5V, but how? the config link below. Thanks in advance!
https://drive.google.com/file/d/1sxyzgvMECNXc4Et0cXoR-oZC2cTnJhor/view?usp=sharing
https://drive.google.com/file/d/1sxyzgvMECNXc4Et0cXoR-oZC2cTnJhor/view?usp=sharing
Comments
#define LASER_ON_HIGH 0
#define LASER_PIN pinnumber
should set laser output to high when firmware starts. But it is very dangerous to have this. While uploading or with errors the laser will be enabled. That is why normally all require high signal to get enabled, so default is off.