diff --git a/README.md b/README.md index d8c7d60..7d6f3e9 100644 --- a/README.md +++ b/README.md @@ -381,7 +381,7 @@ const MockBinding = SerialPort.Binding; // Create a port and enable the echo and recording. MockBinding.createPort('/dev/ROBOT', { echo: true, record: true }) -cont port = new SerialPort('/dev/ROBOT') +const port = new SerialPort('/dev/ROBOT') ``` ### Debugging