Bulme_Übungen

Simulator HexLeds

Aufgabe 3: HexLeds

BusOut & DigitalOut-Pins

http://ec2-52-211-146-247.eu-west-1.compute.amazonaws.com:7829/#user_1529165071315

Class Hexleds - BusOut & DigitalOut-Pins

class HexLeds{
    public:
   HexLeds(PinName pin1, PinName pin2, PinName pin3, PinName pin4):  
 _allleds(pin1,pin2,pin3,pin4),  
 _led1(pin1), _led2(pin2), _led3(pin3), _led4(pin4)
   {    }