I wanted the sender code for the sender APC220
With two Arduino
Please help me I need her a lot
I wanted the sender code for the sender APC220
With two Arduino
Please help me I need her a lot
Split from an unrelated topic
Do not hijack topics
Here is my APC220 test sketch.
#include <SoftwareSerial.h>
SoftwareSerial apc(4,7);
void setup()
{
Serial.begin(115200);
apc.begin(9600);
}
void loop()
{
unsigned long now = millis();
static unsigned long timer = 0;
unsigned long interval = 1000;
if(now - timer >= interval)
{
timer = millis();
Serial.print("Sending ");
Serial.println(now);
apc.println(now);
}
if(apc.available() > 0)
{
Serial.print(char(apc.read()));
}
}