It sure seems to be at least. Has anyone else had any success?
Using d8dec28 build ( http://forum.espruino.com/conversations/279176/#comment12701347 ) and I can't get SPI1, or an SPI object created with SPI() to actually transfer data over SPI.
Much more detail in github:
No direct experience of SPI but commented on the issue. Setting pinMode was critical in some stuff I was doing. In your code you are referencing the pin (in the pinMode argument) as numeric '13' versus 'D13'. I referenced with the letter prefix.
Thanks, it wasn't that (I'd tried it both ways last night too)
Not sure - all I'd say is make sure you power cycle it after trying hardware SPI. It could be it messes the pin state up and doesn't fix it properly.
Also, have you tried different pins? could be hardware SPI blocks it somehow. Maybe just choose 2 random pins and short MISO and MOSI - it should then echo back any data you send.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem