26#ifndef PART_LCD_SSD1306_H
27#define PART_LCD_SSD1306_H
29#include "../devices/lcd_ssd1306.h"
30#include "../lib/part.h"
32#define PART_LCD_SSD1306_Name "LCD ssd1306"
36 std::string
GetAboutInfo(
void)
override {
return "L.C. Gamboa \n <lcgamboa@yahoo.com>"; };
40 void DrawOutput(
const unsigned int index)
override;
49 unsigned short GetInputId(
char* name)
override;
53 unsigned char input_pins[5];
55 unsigned char type_com;
Board class.
Definition board.h:111
Definition output_LCD_ssd1306.h:34
void DrawOutput(const unsigned int index) override
Called to draw every output.
Definition output_LCD_ssd1306.cc:71
unsigned short GetOutputId(char *name) override
return the output ids numbers of names used in output map
Definition output_LCD_ssd1306.cc:130
void Process(void) override
Called every CPU step.
Definition output_LCD_ssd1306.cc:206
void ConfigurePropertiesWindow(void) override
Called to configure the properties window.
Definition output_LCD_ssd1306.cc:168
void ReadPreferences(std::string value) override
Called whe configuration file load preferences.
Definition output_LCD_ssd1306.cc:162
void ReadPropertiesWindow(void) override
Called when properties window close.
Definition output_LCD_ssd1306.cc:183
unsigned short GetInputId(char *name) override
return the input ids numbers of names used in input map
Definition output_LCD_ssd1306.cc:125
std::string GetAboutInfo(void) override
Return the about information of part.
Definition output_LCD_ssd1306.h:36
void PreProcess(void) override
Called every start of CPU process.
Definition output_LCD_ssd1306.cc:200
void LoadPartImage(void) override
Load Part Image.
Definition output_LCD_ssd1306.cc:231
void PostProcess(void) override
Called every end of CPU process.
Definition output_LCD_ssd1306.cc:226
std::string WritePreferences(void) override
Called to save part preferences in configuration file.
Definition output_LCD_ssd1306.cc:154
PART class.
Definition part.h:49
Definition lcd_ssd1306.h:44