User Tools

Site Tools


haas:fall2020:common:projects:lob0

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haas:fall2020:common:projects:lob0 [2020/08/28 12:06] – [Objective] wedgehaas:fall2020:common:projects:lob0 [2020/09/01 12:23] (current) – [Raspberry Pi command-line via SSH/MOSH] wedge
Line 124: Line 124:
 You don't have a monitor, so you are logging into your pi remotely (doable, and good intra-system practice) You don't have a monitor, so you are logging into your pi remotely (doable, and good intra-system practice)
  
-Once your **Makefile** and **lob0.c** file are added to your repository, **commit** and **push**. +We start by running a successfully-compiled **lob0**:
- +
-On lab46, **pull** and **update**+
- +
-Compile:+
  
 <cli> <cli>
-lab46:~/src/desig/lob0$ make+yourpi:~/src/desig/lob0$ ./lob0
 </cli> </cli>
  
-and run your program:+... which will produce an image (**lob0.png**); You want to put this in your web space (with the proper permissions set), so you can view it in a web browser:
  
 <cli> <cli>
-lab46:~/src/desig/lob0$ ./lob0+yourpi:~/src/desig/lob0$ scp lob0.png yourusername@lab46.g7n.org:public_html/
 </cli> </cli>
  
-... which will produce an image (**lob0.png**); You want to put this in your web space (with the proper permissions set), so you can view it in a web browser:+Note that you will be prompted for your lab46 password. 
 + 
 +Then over on lab46, run this:
  
 <cli> <cli>
-lab46:~/src/desig/lob0$ mv lob0.png ~/public_html/ +lab46:~$ chmod 0644 ~/public_html/lob0.png
-lab46:~/src/desig/lob0$ chmod 0644 ~/public_html/lob0.png+
 </cli> </cli>
  
haas/fall2020/common/projects/lob0.1598616419.txt.gz · Last modified: 2020/08/28 12:06 by wedge