7seg_numbers_arduino/7segNums.h
2020-03-13 13:06:55 +01:00

26 lines
388 B
C++

#ifndef 7segNums_h
#define 7segNums_h
#include "Ardunio.h"
class SegDisp
{
public:
SegDisp(int pins[8]);
void zero(int state);
void one(int state);
void two(int state);
void three(int state);
void four(int state);
void five(int state);
void six(int state);
void seven(int state);
void eight(int state);
void nine(int state);
private:
int _pins[8];
};
#endif