Changed default mode to 0

Should be the most common mode
This commit is contained in:
BjoernSch 2016-08-09 20:04:42 +02:00
parent 4d3ac5e66b
commit 735c87342e
1 changed files with 1 additions and 1 deletions

View File

@ -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.