Changed default mode to 0
authorBjoernSch <mail@bjoern-schrader.de>
Tue, 9 Aug 2016 18:04:42 +0000 (20:04 +0200)
committerBjoernSch <mail@bjoern-schrader.de>
Tue, 9 Aug 2016 18:04:42 +0000 (20:04 +0200)
Should be the most common mode

pigpio.py

index b1f382c5daa17171fdffb7cbede5858dab396074..4b3976c36569577647413b8caf893bf0dd753368 100644 (file)
--- 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.