Skip to content

Commit

Permalink
Removed obsolete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
marius-meissner committed Jan 11, 2018
1 parent 1c48005 commit dd53c35
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ use Volantus\BerrySpi\RegularInterface;

$interface = new RegularInterface(1, 32768, 0);

// Opening the connection
$interface->open();

// Don't forget to close the connection
$interface->close();
```

Expand Down Expand Up @@ -79,8 +76,8 @@ $retrievedData = $interface->read(8);
### Just writing
Sends the given bytes
```PHP
// Just sending data
$interface->write([1, 2, 3]);
// Sending 3 bytes of data
$interface->write([16, 12, 8]);
```

## Bit banging interface
Expand All @@ -92,10 +89,7 @@ use Volantus\BerrySpi\BitBangingInterface;

$interface = new BitBangingInterface(12, 16, 20, 21, 512, 0);

// Opening the connection
$interface->open();

// Don't forget to close the connection
$interface->close();
```

Expand Down

0 comments on commit dd53c35

Please sign in to comment.