 
 #include <ELModule.h>
 #include <ELDigitalIO.h>
-#include <ELSerial.h>
+#include <ELCommand.h>
 #include <ELRealTime.h>
 #include <ELAssert.h>
 
-class CExampleModule : public CModule, public IDigitalIOEventHandler, public ISerialCmdHandler, public IRealTimeHandler
+class CExampleModule : public CModule, public IDigitalIOEventHandler, public ICmdHandler, public IRealTimeHandler
 {
 	CExampleModule(
 		)

setup(
	void)
{
	CModule::SetupAll("v0.2", true);	// Passing in true blinks the led
}

void

		Serial.printf("In Setup\n");

		// Register a serial port command.
		gCmd->RegisterCommand("hello", this, static_cast<TCmdHandlerMethod>(&CExampleModule::SerialCmdHello));

		// Register a digital io event handler on pin 1
		gDigitalIO->RegisterEventHandler(1, false, this, static_cast<TDigitalIOEventMethod>(&CExampleModule::PinActivated), NULL);
