From 4333b2fb539b60b7f536db70a63595620919b3b6 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 5 Apr 2017 11:47:15 +0300 Subject: [PATCH] docs/machine.SPI: Remove outdated wipy chunk. --- docs/library/machine.SPI.rst | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/docs/library/machine.SPI.rst b/docs/library/machine.SPI.rst index e8a8a2d8cc..82858629f3 100644 --- a/docs/library/machine.SPI.rst +++ b/docs/library/machine.SPI.rst @@ -10,18 +10,6 @@ SS (Slave Select), to select a particular device on a bus with which communication takes place. Management of an SS signal should happen in user code (via machine.Pin class). -.. only:: port_wipy - - See usage model of I2C; SPI is very similar. Main difference is - parameters to init the SPI bus:: - - from machine import SPI - spi = SPI(0, mode=SPI.MASTER, baudrate=1000000, polarity=0, phase=0, firstbit=SPI.MSB) - - Only required parameter is mode, must be SPI.MASTER. Polarity can be 0 or - 1, and is the level the idle clock line sits at. Phase can be 0 or 1 to - sample data on the first or second clock edge respectively. - Constructors ------------