Aa

Dependents:   EMBEED_III_zad_4 mbed3 mbed_3 MBED3_zad4

Committer:
krzysiek99
Date:
Sat Jun 13 13:28:57 2020 +0000
Revision:
1:036ba0fc54a5
Ledboard;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
krzysiek99 1:036ba0fc54a5 1 #ifndef LEDBOARD_H
krzysiek99 1:036ba0fc54a5 2 #define LEDBOARD_H
krzysiek99 1:036ba0fc54a5 3 #include "Led.h"
krzysiek99 1:036ba0fc54a5 4
krzysiek99 1:036ba0fc54a5 5 class Ledboard
krzysiek99 1:036ba0fc54a5 6 {
krzysiek99 1:036ba0fc54a5 7 public:
krzysiek99 1:036ba0fc54a5 8 Ledboard (unsigned char ucColumn);
krzysiek99 1:036ba0fc54a5 9 void Off();
krzysiek99 1:036ba0fc54a5 10 void On(unsigned char ucRowNumber);
krzysiek99 1:036ba0fc54a5 11 private:
krzysiek99 1:036ba0fc54a5 12 Led *Leds[4];
krzysiek99 1:036ba0fc54a5 13 };
krzysiek99 1:036ba0fc54a5 14 #else
krzysiek99 1:036ba0fc54a5 15 #error "This class was definied previously"
krzysiek99 1:036ba0fc54a5 16 #endif