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

HW SPI for st7920 for Arduino Due #13

Open
ghost opened this issue Oct 27, 2016 · 1 comment
Open

HW SPI for st7920 for Arduino Due #13

ghost opened this issue Oct 27, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 27, 2016

Why disabled Hardware SPI for st7920 on Arduino Due ?
u8g.h:

# elif defined(**SAM3X8E**)   /\* Arduino Due */
# define U8G_COM_HW_SPI u8g_com_arduino_hw_spi_fn
# define U8G_COM_ST7920_HW_SPI u8g_com_null_fn
# endif

This hardware work fine in both hardware and software SPI mode for u8g2 lib !

P.S.
Need for support ReprapWorld Graphical LCD screen v1.0 on Ultratronics Pro v1.0 (Arduino Due based) in Marlin MK4Duo Firmware

@olikraus
Copy link
Owner

olikraus commented Nov 2, 2016

One of the major changes for u8g2 had been the support for SPI,h
In u8glib all hardware support was manually coded without (SPI.h). However this support was not there for Due. This means you should upgrade to u8g2. HW SPI support will only be there with U8g2 (via SPI.h)

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

1 participant