Once the script is running, enter the following commands sequentially into the Serial Monitor: Type AT →right arrow Expected Response: +OK (Confirms connection) Type AT+CLSS →right arrow
The AT+CLSS command changes the fundamental behavior of the GPIO pins from serial communication to various remote-control I/O modes. jdy40 arduino example best
What the example typically includes (practical checklist) Once the script is running, enter the following
SoftwareSerial jdy40(2, 3); DHT dht(7, DHT11); Once the script is running
void loop() // Read from wireless module if (jdy40.available()) String command = jdy40.readString(); command.trim();