Hi. I've made an arduino project for my photo booth. The code should turn on and off a LED .
When I use the command SerialSend.exe /devnum 05 /baudrate 9600 'a' or SerialSend.exe /devnum 05 /baudrate 9600 'b' the rx led shows it has communication but the led doesn't turn on .
This is the code that I used:
It appears that you are using the usb serial and not software serial for input. I think you should eliminate the software serial instance, and just use Serial.
Why do you have the software serial instance in your code?
Is your PC in some way connected to pins 10 and 9? Because that is what your code uses. Or is COM5 the USB port that is also used for upload?
The RX led should NOT light up when communicating over SoftwareSerial, so i suspect that you're talking to the USB port of the Arduino and not the SoftwareSerial port.
Sorry for wasting your time, but i've been hitting my head over this for quite some hours and I didnt know what was wrong and there were almost no examples on this topic.