How to blink LED for few seconds by pressing the button on ARDUINO Uno.

3 visualizaciones (últimos 30 días)
step1: press push button step2: LED should blink for 5 times
I have to implement this on ARDUINO Uno board with modular based design (simulink).
  2 comentarios
KALYAN ACHARJYA
KALYAN ACHARJYA el 4 de Oct. de 2017
%Use loop in IDE programming
ON statement;
delay()
OFF statement;
end
%
Shivakumar Jogur
Shivakumar Jogur el 4 de Oct. de 2017
Thank you. I want to implement with block diagrams in simulink for Arduino uno board. My requirement is to blink LED with duty cycle 50% after pressing the push button.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by