Includes a basic 4-bit binary counter function for the leds.

Dependents:   datalogging_RTC

ledCounter.h

Committer:
BaserK
Date:
2015-07-08
Revision:
0:805b57b2dd2b
Child:
1:dbabf5266268

File content as of revision 0:805b57b2dd2b:

#ifndef LEDCOUNTER_H
#define LEDCOUNTER_H

#include "mbed.h"

extern DigitalOut led1;     // allow led1 to be manipulated by other files
extern DigitalOut led2;
extern DigitalOut led3;
extern DigitalOut led4;

void ledCounter(int value);  // function prototype

#endif