Do you what use soft or hard SPI (SPI1 and SPI2 is hardware)?
In the sample of post #8 is using software.
What about the baud rate, don't you need a specific one?
Sorry, the example was not clear enough 🙂. I just made an example where I could easily switch between using SW spi (the stuff with ".. new SPI ()... "), and HW SPI (the one with "SPI2 ... ") for this demonstration.
The problem occurs when I try to use the HW spi (the block I commented out in the example of #8).
Yes, setting the baud rate was what started this endeavour in the very first rate--but first I need HW SPI to work though 🙂.
© Espruino, powered by microcosm.
Report a problem