Workaround for SCK/MOSI pins on VIKI
This commit is contained in:
parent
2f14eaf6a3
commit
06a02dd200
28 changed files with 196 additions and 0 deletions
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -564,6 +564,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -588,6 +588,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -577,6 +577,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -577,6 +577,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -577,6 +577,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -577,6 +577,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -582,6 +582,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -577,6 +577,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
|
@ -575,6 +575,13 @@
|
|||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
|
Reference in a new issue