LCD implementation of our project.
Dependencies: mbed mbed-rtos MLX90614
Header.h
- Committer:
- ovidiup13
- Date:
- 2015-04-04
- Revision:
- 2:fcde41900fa5
- Parent:
- 0:1e597b0f8b3b
- Child:
- 3:688b62ff6474
File content as of revision 2:fcde41900fa5:
#ifndef _HEADER_H_ #define _HEADER_H_ #include<stdio.h> #include <stdlib.h> #include "st7565LCD.h" #define LEFT_MARGIN 5 using namespace std; class Header{ public: //variables uint8_t battery_level; char * title; ST7565 * st7565; //functions void setBatteryLevel(float d); void display(void); void setTitle(char * t){ title = t; } Header(float lvl, char * t, ST7565 * lcd); }; #endif