|
@ -59,12 +59,12 @@ |
|
|
|
|
|
|
|
|
#if HAS_GRAPHICAL_LCD |
|
|
#if HAS_GRAPHICAL_LCD |
|
|
|
|
|
|
|
|
#include "u8g_com_HAL_DUE_sw_spi_shared.h" |
|
|
|
|
|
|
|
|
|
|
|
#include "../shared/Delay.h" |
|
|
#include "../shared/Delay.h" |
|
|
|
|
|
|
|
|
#include <U8glib.h> |
|
|
#include <U8glib.h> |
|
|
|
|
|
|
|
|
|
|
|
#include "u8g_com_HAL_DUE_sw_spi_shared.h" |
|
|
|
|
|
|
|
|
void u8g_SetPIOutput_DUE(u8g_t *u8g, uint8_t pin_index) { |
|
|
void u8g_SetPIOutput_DUE(u8g_t *u8g, uint8_t pin_index) { |
|
|
PIO_Configure(g_APinDescription[u8g->pin_list[pin_index]].pPort, PIO_OUTPUT_1, |
|
|
PIO_Configure(g_APinDescription[u8g->pin_list[pin_index]].pPort, PIO_OUTPUT_1, |
|
|
g_APinDescription[u8g->pin_list[pin_index]].ulPin, g_APinDescription[u8g->pin_list[pin_index]].ulPinConfiguration); // OUTPUT
|
|
|
g_APinDescription[u8g->pin_list[pin_index]].ulPin, g_APinDescription[u8g->pin_list[pin_index]].ulPinConfiguration); // OUTPUT
|
|
|