Waveshare_ILI9486 icon indicating copy to clipboard operation
Waveshare_ILI9486 copied to clipboard

Calls to SPI.writeByte is not supported by native Arduino library

Open Mega-mania opened this issue 3 years ago • 1 comments

Hi,

I have installed GUIslice to be used on an ATMega2560 with a Waveshare 4.0 Inch touch display. On compiling the code I found the ILI9486 library makes calls to the SPI library ( SPI.writeByte ) that are not supported by the native Arduino SPI library.

What should I do?

Mega-mania avatar Jul 28 '21 14:07 Mega-mania

Arduino SPI library do not support function SPI.writeByte. You must use SPI.transfer instead. You may apply attached patch (please remove .txt extension - Github does not accept patch files)

Waveshare_ILI9486.patch.txt

stormy-gh avatar Mar 09 '23 22:03 stormy-gh