Пользователь Victor разместил новый ресурс:
Arduino скетч для использования Arduino как USB-TTL - За скетч спасибо nec3540A
Arduino скетч для использования Arduino как USB-TTL - За скетч спасибо nec3540A
Узнать больше об этом ресурсе...Код:#include <SoftwareSerial.h> SoftwareSerial mySerial(9, 10); // RX, TX void setup() { // Open serial communications and wait for port to open: Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. Needed for Leonardo only } Serial.println("Goodnight moon!"); // set the data rate for the SoftwareSerial port mySerial.begin(9600); mySerial.println("AT"); } void loop() // run over and over { if (mySerial.available()) Serial.write(mySerial.read()); if...