#include <SoftwareSerial.h>
SoftwareSerial name(2,3);
SoftwareSerial name2(4,5);
void setup()
{
name.begin(9600);
name2.begin(9600);
delay(2000);
}
void loop()
{
name.listen()
name.println("Serial 1");
delay(1000);
name2.listen()
name2.println("Serial 2");
delay(3000);
}
How can i write this code for STM32F103C8T6 for pins (serial1) - PA_9, PA_10 ; (serial2) - PA_2, PA_3
PLEASE HELP MEEE , Thanks !