diff --git a/led.cpp b/led.cpp index b13e95c..dd0bff6 100644 --- a/led.cpp +++ b/led.cpp @@ -67,7 +67,11 @@ int main(int argc, char* argv[]){ if(cmd=="on")leds[i].TurnOn(); else if(cmd=="off")leds[i].TurnOff(); else if(cmd=="blink")leds[i].blink(); - else{std::cout << "comando invalido" << std::endl;} + else{std::cout << "comando invalido" << std::endl; + std::cout << "Para encender el LED utilice: ./leds on" << std::endl; + std::cout << "Para apagar el LED utilice: ./leds off" << std::endl; + std::cout << "Para hacer parpadear el LED utilice: sudo ./leds blink" << std::endl; + } } std::cout << "programa terminado" << std::endl; return 0;