[HAL]Add support for ST7920 - Teensy 3.x (#10872)
This commit is contained in:
parent
7b9f0302d4
commit
9c235ef821
2 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
#if defined(__MK64FX512__) || defined(__MK66FX1M0__)
|
||||
|
||||
#include "HAL.h"
|
||||
#include "../Delay.h"
|
||||
|
||||
#include <Wire.h>
|
||||
|
||||
|
|
|
@ -51,6 +51,10 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
#define ST7920_DELAY_1 DELAY_NS(600)
|
||||
#define ST7920_DELAY_2 DELAY_NS(750)
|
||||
#define ST7920_DELAY_3 DELAY_NS(750)
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// Defines
|
||||
// --------------------------------------------------------------------------
|
||||
|
|
Reference in a new issue