I am trying to control a set of lights using an Arduino UNO, SIM900 board, and a relay board. The Sketch works beautifully as long as the Uno is connected to a PC and the serial port is active - either through the USB or direct to pins 0,1 however if I do not have the serial port active it does not work. I need the sketch to be able to process messages without having a PC connected. Any advice would be greatly appreciated. Attached is my sketch:
ChristmasLights.txt
I am trying to control a set of lights using an Arduino UNO, SIM900 board, and a relay board. The Sketch works beautifully as long as the Uno is connected to a PC and the serial port is active - either through the USB or direct to pins 0,1 however if I do not have the serial port active it does not work. I need the sketch to be able to process messages without having a PC connected. Any advice would be greatly appreciated. Attached is my sketch:
ChristmasLights.txt