sipeed / Longduino

Longduino is an Arduino port for gd32v mcu.
Other
70 stars 21 forks source link

SPI support? #17

Open mpmarks opened 4 years ago

mpmarks commented 4 years ago

I noticed that there has been some SPI support added to the Arduino framework. I've tried to use it and can't get it to work. I realize that its set up a little differently than the standard Arduino SPI scheme.. Even so I tried to get some SPI transfers working on SPI0 so I can drive the LCD without success. Can someone post a working Arduino framework example of GD32 Arduino SPI please? Thanks!

phillowcompiler commented 4 years ago

I wrote the Arduino SPI example code for the LCD on LonganNano.

https://gist.github.com/phillowcompiler/f0e16b90d505fccc79d1242197262da0