fix use stmts in readme

master
Ondřej Hruška 6 years ago
parent c6be1e064b
commit f96dffe848
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 4
      README.md

@ -31,8 +31,8 @@ Implementation of the basic functionality of the Modbus TCP and UDP based protoc
## Example ## Example
```php ```php
use MightyPork\PHPModbus\ModbusMaster; use PHPModbus\ModbusMaster;
use MightyPork\PHPModbus\PhpType; use PHPModbus\PhpType;
// Modbus master UDP // Modbus master UDP
$modbus = new ModbusMaster("192.168.1.1", "UDP"); $modbus = new ModbusMaster("192.168.1.1", "UDP");

Loading…
Cancel
Save