randomskk / followingrobot

C/ASM code for an ARM-based robot with a vision system to follow the user

This URL has Read+Write access

followingrobot / lcd.h
100644 25 lines (18 sloc) 0.589 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/************************************************
* FollowingRobot - lcd.h
* Functions to interact with an LCD
* screen connected to SPI1.
* Header file.
* See README for more details.
***********************************************/
 
#include "stm32f10x_lib.h"
 
#define LCD_ADDR 0x74
 
//Set a register in LCD RAM
void _lcd_write_reg( u8 index, u16 data );
 
//Initialise the LCD
void lcd_initialise();
 
//Start and finish sending data to the LCD
void lcd_startdata();
void lcd_enddata();
 
//Prototype for Delay, defined in main.c, a busy wait loop
void Delay( unsigned long delay );