You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gerardo Marx Chávez-Campos 7a351fcd8f | 2 years ago | |
---|---|---|
Readme.md | 2 years ago | |
leds.sh | 2 years ago |
Readme.md
Introduction
This project is a Bash script to modify the user-LED status by using the command leds.sh
and
passing an argument 0
, 1
, 2
, or 3
.
Then by running the command ./leds.sh 1
will turn ON the second LED on the BeagleBone Board/
Note: if the script does not run by permission restrictions, do not forget to change the file's user permission to enable custom scripts in the system by:
sudo chmod +x leds.sh
considering that you are currently in the file path.
Assignment
An issue will be created to solve the next assignment (each student must propose their own code):
- Develop a script that receives two arguments, the first to indicate the LED number and the second to indicate which operation must be applied to the LED.
- The operation options must include
on
,off
,blink
andanimation
. - A complete guide about the command usage must be included in the terminal and the Readme file in the repository.