User Tools

Site Tools


journal:spring2019:jruskauf:week8

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
journal:spring2019:jruskauf:week8 [2019/03/20 22:43]
jruskauf [MONTH Day, YEAR]
journal:spring2019:jruskauf:week8 [2019/03/20 22:48] (current)
jruskauf [MONTH Day, YEAR]
Line 1: Line 1:
 =====comporg week8===== =====comporg week8=====
 ---- ----
-====MONTH DayYEAR====+====March 202019====
  
-Filler textyour entry goes here; remove this line to receive full credit.+Raspberry Pi breadboard: ​ \ 
 +<​code>​  
 +[-]    [+]    
 + ​| ​     | 
 + ​-R- ​   | 
 +    |   | 
 +    [led] 
 + 
 +NOT 
 + 
 +[-] [+]    
 + ​| ​  | 
 + ​R ​  | 
 + ​| ​  | 
 + ​[led] 
 +</​code>​ 
 + 
 +The first option is correct, as the vertical pinning on the board will bypass the resistor in the second diagram, therefore putting more voltage/​amperage through the LED than we want.  By moving right or left one pin on the breadboard, we force the current ​to go through the resistor. 
 + 
 +The binary counter was a tough nut to crack in terms of using bitwise operators, but i was able to get the program to be very lightweight. ​ One or two loops and a single line of code drove the entire operation, without any "​basic"​ arithmetic. ​ Worked on it with my dad, but i still learned a lot from the experience.
 =====hpc0 week8===== =====hpc0 week8=====
 ---- ----
journal/spring2019/jruskauf/week8.txt · Last modified: 2019/03/20 22:48 by jruskauf