SWE-350 TOTP Generator Milestone 5
The DE-10 board has six 7-segment displays, this can be used to display and generate a time based one-time pin (TOTP).
Loading...
Searching...
No Matches
LCD_Lib.h
Go to the documentation of this file.
1// ============================================================================
2// Copyright (c) 2013 by Terasic Technologies Inc.
3// ============================================================================
4//
5// Permission:
6//
7// Terasic grants permission to use and modify this code for use
8// in synthesis for all Terasic Development Boards and Altera Development
9// Kits made by Terasic. Other use of this code, including the selling
10// ,duplication, or modification of any portion is strictly prohibited.
11//
12// Disclaimer:
13//
14// This VHDL/Verilog or C/C++ source code is intended as a design reference
15// which illustrates how these types of functions can be implemented.
16// It is the user's responsibility to verify their design for
17// consistency and functionality through the use of formal
18// verification methods. Terasic provides no warranty regarding the use
19// or functionality of this code.
20//
21// ============================================================================
22//
23// Terasic Technologies Inc
24// 9F., No.176, Sec.2, Gongdao 5th Rd, East Dist, Hsinchu City, 30070. Taiwan
25//
26//
27// web: http://www.terasic.com/
28// email: support@terasic.com
29//
30// ============================================================================
31
32#ifndef _LCD_LIB_H_
33#define _LCD_LIB_H_
34
35#include "LCD_Hw.h"
36
37#define LCD_WIDTH 128
38#define LCD_HEIGHT 64
39
40void LCD_Init(void);
41void LCD_SetStartAddr(uint8_t x, uint8_t y);
42void LCD_FrameCopy(uint8_t *Data);
43
44
45
46#endif // _LCD_LIB_H_
void LCD_SetStartAddr(uint8_t x, uint8_t y)
Definition LCD_Lib.c:80
void LCD_Init(void)
Definition LCD_Lib.c:38
void LCD_FrameCopy(uint8_t *Data)
Definition LCD_Lib.c:101