25 lines
493 B
C++
25 lines
493 B
C++
//
|
|
// Created by camer on 22/05/2020.
|
|
//
|
|
|
|
#ifndef PROJET_VICTORAVECUNK_SCREEN_H
|
|
#define PROJET_VICTORAVECUNK_SCREEN_H
|
|
|
|
|
|
#include "../../core_simulation.h"
|
|
#include <unistd.h>
|
|
|
|
class Screen : public Device{
|
|
protected:
|
|
// memorise l'affichage de l'ecran
|
|
char buf[I2C_BUFFER_SIZE];
|
|
|
|
public:
|
|
// constructeur
|
|
Screen ();
|
|
// thread representant le capteur et permettant de fonctionner independamment de la board
|
|
virtual void run();
|
|
};
|
|
|
|
|
|
#endif //PROJET_VICTORAVECUNK_SCREEN_H
|