From 735c87342e55235e8121532ee06afadf29544af6 Mon Sep 17 00:00:00 2001 From: BjoernSch Date: Tue, 9 Aug 2016 20:04:42 +0200 Subject: [PATCH] Changed default mode to 0 Should be the most common mode --- pigpio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.