[HAL]Add support for ST7920 - Teensy 3.x (#10872)
This commit is contained in:
parent
7b9f0302d4
commit
9c235ef821
@ -26,6 +26,7 @@
|
|||||||
#if defined(__MK64FX512__) || defined(__MK66FX1M0__)
|
#if defined(__MK64FX512__) || defined(__MK66FX1M0__)
|
||||||
|
|
||||||
#include "HAL.h"
|
#include "HAL.h"
|
||||||
|
#include "../Delay.h"
|
||||||
|
|
||||||
#include <Wire.h>
|
#include <Wire.h>
|
||||||
|
|
||||||
|
@ -51,6 +51,10 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#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
|
// Defines
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user