source: ETALON/DAQ/Sensors/lcd/lcd.h @ 709

Last change on this file since 709 was 709, checked in by hodnevuc, 7 years ago
File size: 408 bytes
Line 
1#ifndef LCD_H
2#define LCD_H
3#include "../bcm/bcm2835.h"
4#include <stdio.h>
5#include <unistd.h>
6#include <iostream>
7
8
9
10
11using namespace std;
12
13class lcd
14{
15        public:
16                lcd(void);
17                ~lcd(void); 
18                void write(string message, uint8_t row);
19                uint8_t LCD_RS;
20                uint8_t LCD_E ;
21                uint8_t LCD_D4;
22                uint8_t LCD_D5;
23                uint8_t LCD_D6;
24                uint8_t LCD_D7;
25
26        private:
27                void lcd_byte(uint8_t bits, bool mode);
28               
29
30};
31#endif
Note: See TracBrowser for help on using the repository browser.