SPI.LBS or SPI.MBS use on ESP8266

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
SUCAEDDIN
Posts: 1
Joined: Sun Jul 09, 2017 10:49 pm

SPI.LBS or SPI.MBS use on ESP8266

Post by SUCAEDDIN » Sun Jul 09, 2017 11:22 pm

TO using the ISD1760 audio module from SPI...I want to write SPI.LBS or SPI.MBS

>>hspi = SPI(1, baudrate=1000000, polarity=0, phase=0, firstbit=SPI.LSB)
TypeError: extra keyword arguments given

firstbit doesn't work... Help me.. please

Damien
Site Admin
Posts: 647
Joined: Mon Dec 09, 2013 5:02 pm

Re: SPI.LBS or SPI.MBS use on ESP8266

Post by Damien » Mon Jul 10, 2017 6:27 am

The firstbit argument to the SPI constructor is not yet implemented. One way around this is to convert the data before you send it, but that's probably too computationally expensive.

Post Reply