[HAL]Add support for ST7920 - Teensy 3.x (#10872)

This commit is contained in:
android444 2018-05-27 10:36:57 +02:00 committed by Scott Lahteine
parent 7b9f0302d4
commit 9c235ef821
2 changed files with 5 additions and 0 deletions

View File

@ -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>

View File

@ -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
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------