Skip to main content
\(\newcommand{\doubler}[1]{2#1} \newcommand{\binary}{\mathtt} \newcommand{\hex}{\mathtt} \newcommand{\octal}{\mathtt} \newcommand{\prog}{\mathtt} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section19.3Programming Exercise

1

Write an assembly language program that blinks an LED five time. The LED will be on for 1 second then off for 1 second. Use the sleep function for timing, which is described in man 3 sleep.

Hint Solution