@tnick STM32F1 2019.12.8 (stm32duino) is the version that was active when the latest MySensors release was made. Later versions may or may not work; nobody would know until they tried.
@Vuinne-Ryvmar You seem to be confused about what this forum is. Maybe you just ended up here on a random Google search?
But in our case on an Arduino, D3 is literally the name for one of the metal legs coming off of the little controller, and we call it a pin sometimes. @tbowmo was looking for how to send the command to turn the power on or off to that part of the board, not a code to enable connecting up a controller to their phone.
I see that a D3 game controller is a thing, but I doubt you will have any luck getting help with that here. It's not what this site is about.
This is what we work with:
@mvader Turn the time delay adjustment preset on your PIR module to the minimum.. Now try it.. You will not get a continuous output..Also, prepare the circuit using a long wire from the back to the sensor of your module.
@jaydenlord Probably you do. If you leave the EN floating, electrical noise could cause it to enable or disable randomly.
Some enable pin require a HIGH, some LOW. Connect it to VCC to see if it works more consistently. If it doesn't detect, connect it to GND.
If one of these works, then the part wasn't designed to be in a default state of enable.
Let us know your results (I found this video
OSD