Skip to content
This repository has been archived by the owner on Aug 21, 2021. It is now read-only.

Patch 1 #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Assets/WRMHL/Scripts/wrmhlRead.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ public class wrmhlRead : MonoBehaviour {
[Tooltip("Timeout")]
public int ReadTimeout = 20;

[Tooltip("QueueLenght")]
public int QueueLenght = 1;
[Tooltip("QueueLength")]
public int QueueLength = 1;

void Start () {
myDevice.set (portName, baudRate, ReadTimeout, QueueLenght); // This method set the communication with the following vars;
myDevice.set (portName, baudRate, ReadTimeout, QueueLength); // This method set the communication with the following vars;
// Serial Port, Baud Rates, Read Timeout and QueueLenght.
myDevice.connect (); // This method open the Serial communication with the vars previously given.
}
Expand Down
6 changes: 3 additions & 3 deletions Assets/WRMHL/Scripts/wrmhlWrite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ public class wrmhlWrite : MonoBehaviour {
[Tooltip("Something you want to send.")]
public string dataToSend = "Hello World!";

[Tooltip("QueueLenght")]
public int QueueLenght = 1;
[Tooltip("QueueLength")]
public int QueueLength = 1;

void Start () {
myDevice.set (portName, baudRate, ReadTimeout, QueueLenght); // This method set the communication with the following vars;
myDevice.set (portName, baudRate, ReadTimeout, QueueLength); // This method set the communication with the following vars;
// Serial Port, Baud Rates, Read Timeout and QueueLenght.
myDevice.connect (); // This method open the Serial communication with the vars previously given.
}
Expand Down