From: BjoernSch Date: Tue, 9 Aug 2016 18:04:42 +0000 (+0200) Subject: Changed default mode to 0 X-Git-Tag: archive/raspbian/1.68-2+rpi1~77^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=735c87342e55235e8121532ee06afadf29544af6;p=pigpio.git Changed default mode to 0 Should be the most common mode --- diff --git a/pigpio.py b/pigpio.py index b1f382c..4b3976c 100644 --- a/pigpio.py +++ b/pigpio.py @@ -2957,7 +2957,7 @@ class pi(): return bytes, data - def bb_spi_open(self, CS, MISO, MOSI, SCLK, baud=100000, spi_flags=1): + def bb_spi_open(self, CS, MISO, MOSI, SCLK, baud=100000, spi_flags=0): """ This function selects a set of GPIO for bit banging SPI at a specified baud rate.