7seg_numbers_arduino/7segNums.h

27 lines
411 B
C
Raw Normal View History

2020-03-13 12:06:55 +00:00
#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);
2020-03-13 12:13:27 +00:00
void dot(int state);
2020-03-13 12:06:55 +00:00
private:
int _pins[8];
};
#endif