Jdy-40 Arduino Example -

#include <SoftwareSerial.h> SoftwareSerial jdy(2, 3); // RX = pin 2, TX = pin 3 const int ledPin = 5;

Now that your JDY-40 Arduino example is working, here are five practical projects you can build: jdy-40 arduino example

const int buttonPin = 4; int lastState = LOW; #include &lt;SoftwareSerial