This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2020:common:projects:lob0 [2020/08/28 12:06] – [Objective] wedge | haas: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 |
- | + | ||
- | On lab46, **pull** and **update**. | + | |
- | + | ||
- | Compile: | + | |
<cli> | <cli> | ||
- | lab46: | + | yourpi: |
</ | </ | ||
- | and run your program: | + | ... which will produce an image (**lob0.png**); |
<cli> | <cli> | ||
- | lab46: | + | yourpi: |
</ | </ | ||
- | ... 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:~/ | + | lab46:~$ chmod 0644 ~/ |
- | lab46: | + | |
</ | </ | ||