mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 03:49:13 +03:00
some change
This commit is contained in:
8
Cmd.ino
8
Cmd.ino
@@ -474,16 +474,16 @@ void servoSet() {
|
||||
}
|
||||
|
||||
void serialBegin() {
|
||||
String s_speed = sCmd.next();
|
||||
//String s_speed = sCmd.next();
|
||||
//String rxPin = sCmd.next();
|
||||
//String txPin = sCmd.next();
|
||||
//SoftwareSerial mySerial(rxPin.toInt(), txPin.toInt());
|
||||
mySerial.begin(s_speed.toInt());
|
||||
//mySerial.begin(s_speed.toInt());
|
||||
}
|
||||
|
||||
void serialWrite() {
|
||||
String text = sCmd.next();
|
||||
mySerial.println(text);
|
||||
//String text = sCmd.next();
|
||||
//mySerial.println(text);
|
||||
}
|
||||
//====================================================================================================================================================
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user