File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,7 +165,8 @@ Use the ``machine.ADC`` class::
165165SPI bus
166166-------
167167
168- There are two SPI drivers. One is implemented in software and works on all pins::
168+ There are two SPI drivers. One is implemented in software (bit-banging)
169+ and works on all pins::
169170
170171 from machine import Pin, SPI
171172
@@ -194,14 +195,15 @@ Hardware SPI
194195------------
195196
196197The hardware SPI is faster (up to 80Mhz), but only works on following pins:
197- ``MISO `` is gpio12 , ``MOSI `` is gpio13 , and ``SCK `` is gpio14 . It has the same
198+ ``MISO `` is GPIO12 , ``MOSI `` is GPIO13 , and ``SCK `` is GPIO14 . It has the same
198199methods as SPI, except for the pin parameters for the constructor and init
199200(as those are fixed).
200201
201202 from machine import Pin, SPI
202203
203- hspi = SPI(0 , baudrate=80000000, polarity=0, phase=0)
204+ hspi = SPI(1 , baudrate=80000000, polarity=0, phase=0)
204205
206+ (SPI(0) is used for FlashROM and not available to users.)
205207
206208I2C bus
207209-------
You can’t perform that action at this time.
0 commit comments