Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Mega-mania opened this issue Jul 28, 2021 · 1 comment
Open

Comments

@Mega-mania
Copy link

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?

@stormy-gh
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants