Browse Source

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

pull/1/head
android444 7 years ago
committed by Scott Lahteine
parent
commit
9c235ef821
  1. 1
      Marlin/src/HAL/HAL_TEENSY35_36/HAL.cpp
  2. 4
      Marlin/src/HAL/HAL_TEENSY35_36/HAL.h

1
Marlin/src/HAL/HAL_TEENSY35_36/HAL.cpp

@ -26,6 +26,7 @@
#if defined(__MK64FX512__) || defined(__MK66FX1M0__)
#include "HAL.h"
#include "../Delay.h"
#include <Wire.h>

4
Marlin/src/HAL/HAL_TEENSY35_36/HAL.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
// --------------------------------------------------------------------------

Loading…
Cancel
Save