From dd53c35764787ca7cbbe91da080d09ddcd41a01b Mon Sep 17 00:00:00 2001 From: Marius Meissner Date: Thu, 11 Jan 2018 22:40:00 +0100 Subject: [PATCH] Removed obsolete comments --- README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 0c0f73d..d131a95 100644 --- a/README.md +++ b/README.md @@ -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(); ``` @@ -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 @@ -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(); ```