#ifndef DIGITAL_OUT_H_
#define DIGITAL_OUT_H_

/**** Includes ****/
#include <stdint.h>
#include "din.h"

namespace bsp {

/**** Public definitions ****/
class DigitalOut : public DigitalIn
{	
	public:
	// New or redefined stuff
	DigitalOut(void);
	~DigitalOut(void);
	
	int8_t last_writen;
	
	void write(int8_t level);
	
	#ifndef TESTING
	protected:
	#endif
};

/**** Public function declarations ****/

#ifdef TESTING
#endif

} //namespace

#endif /* DIGITAL_OUT_H_ */