Subversion Repositories MK-Marlin

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 ron 1
/**
2
 * Lightweight Status Screen for the RepRapDiscount Full
3
 * Graphics Smart Controller (ST7920-based 128x64 LCD)
4
 *
5
 * (c) 2017 Aleph Objects, Inc.
6
 *
7
 * The code in this page is free software: you can
8
 * redistribute it and/or modify it under the terms of the GNU
9
 * General Public License (GNU GPL) as published by the Free Software
10
 * Foundation, either version 3 of the License, or (at your option)
11
 * any later version.  The code is distributed WITHOUT ANY WARRANTY;
12
 * without even the implied warranty of MERCHANTABILITY or FITNESS
13
 * FOR A PARTICULAR PURPOSE.  See the GNU GPL for more details.
14
 *
15
 */
16
 
17
#include "status_screen_lite_ST7920_class.h"
18
 
19
void ST7920_Lite_Status_Screen::cs() {
20
  ST7920_CS();
21
  current_bits.synced = false;
22
}
23
 
24
void ST7920_Lite_Status_Screen::ncs() {
25
  ST7920_NCS();
26
  current_bits.synced = false;
27
}
28
 
29
void ST7920_Lite_Status_Screen::sync_cmd() {
30
  ST7920_SET_CMD();
31
}
32
 
33
void ST7920_Lite_Status_Screen::sync_dat() {
34
  ST7920_SET_DAT();
35
}
36
 
37
void ST7920_Lite_Status_Screen::write_byte(const uint8_t data) {
38
  ST7920_WRITE_BYTE(data);
39
}