User Tools

Site Tools


haas:fall2021:common:projects:clr0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
haas:fall2021:common:projects:clr0 [2020/10/09 19:49] – external edit 127.0.0.1haas:fall2021:common:projects:clr0 [2021/10/03 16:57] (current) wedge
Line 6: Line 6:
  
 =====Abstraction===== =====Abstraction=====
-{{page>haas:fall2020:common:projects:abstraction&noheader}}+{{page>haas:fall2021:common:projects:abstraction&noheader}}
  
 =====Locational Awareness===== =====Locational Awareness=====
-{{page>haas:fall2020:common:projects:location&noheader}}+{{page>haas:fall2021:common:projects:location&noheader}}
  
 =====Reading===== =====Reading=====
Line 19: Line 19:
  
 AND: the wiringPi API on [[http://wiringpi.com/reference/software-pwm-library/|Sofware PWM functionality]] AND: the wiringPi API on [[http://wiringpi.com/reference/software-pwm-library/|Sofware PWM functionality]]
 +
 =====Background===== =====Background=====
 For this project, you will be working with a C program using the wiringPi library on the Raspberry Pi, wiring up a circuit containing an RGB LED to your breadboard and witnessing your ability to access and control it in varying states of on and off (more than just simply "ON" and "OFF") via a software-based Pulse Width Modulation (PWM) scheme. For this project, you will be working with a C program using the wiringPi library on the Raspberry Pi, wiring up a circuit containing an RGB LED to your breadboard and witnessing your ability to access and control it in varying states of on and off (more than just simply "ON" and "OFF") via a software-based Pulse Width Modulation (PWM) scheme.
Line 34: Line 35:
  
 <cli> <cli>
-yourpi:~/src/desig/clr0$ gpio readall+yourpi:~/src/SEMESTER/DESIG/clr0$ gpio readall
  +-----+-----+---------+------+---+---Pi 4B--+---+------+---------+-----+-----+  +-----+-----+---------+------+---+---Pi 4B--+---+------+---------+-----+-----+
  | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |  | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |
Line 85: Line 86:
  
 <cli> <cli>
-lab46:~/src/desig$ grabit desig clr0 +lab46:~/src/SEMESTER/DESIG$ grabit DESIG clr0 
-make: Entering directory '/var/public/SEMESTER/desig/clr0' +make: Entering directory '/var/public/SEMESTER/DESIG/clr0' 
-'/var/public/SEMESTER/desig/clr0/Makefile' -> '/home/user/src/desig/clr0/Makefile' +'/var/public/SEMESTER/DESIG/clr0/Makefile' -> '/home/user/src/SEMESTER/DESIG/clr0/Makefile' 
-'/var/public/SEMESTER/desig/clr0/clr0.c' -> '/home/user/src/desig/clr0/clr0.c' +'/var/public/SEMESTER/DESIG/clr0/clr0.c' -> '/home/user/src/SEMESTER/DESIG/clr0/clr0.c' 
-make: Leaving directory '/var/public/SEMESTER/desig/clr0' +make: Leaving directory '/var/public/SEMESTER/DESIG/clr0' 
-lab46:~/src/desig+lab46:~/src/SEMESTER/DESIG
 </cli> </cli>
  
Line 145: Line 146:
  
 <cli> <cli>
-lab46:~/src/desig/clr0$ submit desig clr0 clr0.c +lab46:~/src/SEMESTER/DESIG/clr0$ make submit
-Submitting desig project "clr0": +
-    -> clr0.c(OK) +
- +
-SUCCESSFULLY SUBMITTED+
 </cli> </cli>
  
haas/fall2021/common/projects/clr0.1602272986.txt.gz · Last modified: 2020/10/09 19:49 by 127.0.0.1