From e1a81e18a49970b71cb50663cc79f77cc9b63382 Mon Sep 17 00:00:00 2001 From: Philip Howard Date: Sun, 15 Sep 2013 12:21:15 +0100 Subject: [PATCH] Fixed erroneous Python syntax, thanks Livio --- README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index 6d2abd0..5194b61 100644 --- a/README +++ b/README @@ -31,11 +31,11 @@ Class-based Usage: Usage: import wiringpi2 - wiringpi2.wiringPiSetup // For sequential pin numbering, one of these MUST be called before using IO functions + wiringpi2.wiringPiSetup() // For sequential pin numbering, one of these MUST be called before using IO functions OR - wiringpi2.wiringPiSetupSys // For /sys/class/gpio with GPIO pin numbering + wiringpi2.wiringPiSetupSys() // For /sys/class/gpio with GPIO pin numbering OR - wiringpi2.wiringPiSetupGpio // For GPIO pin numbering + wiringpi2.wiringPiSetupGpio() // For GPIO pin numbering Setting up IO expanders (This example was tested on a quick2wire board with one digital IO expansion board connected via I2C): wiringpi2.mcp23017Setup(65,0x20)