This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
haas:fall2020:cprog:projects:cos0 [2020/10/19 13:17] – [Submission] wedge | haas:fall2020:cprog:projects:cos0 [2020/10/19 20:13] – [Grabit Integration] wedge | ||
---|---|---|---|
Line 203: | Line 203: | ||
make: Leaving directory '/ | make: Leaving directory '/ | ||
lab46: | lab46: | ||
- | lab46: | + | lab46: |
Makefile | Makefile | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 218: | Line 218: | ||
NOTE: You do NOT want to do this on a populated **cos0** project directory-- it will overwrite files. Only do this on an empty directory. | NOTE: You do NOT want to do this on a populated **cos0** project directory-- it will overwrite files. Only do this on an empty directory. | ||
+ | =====How to view the picture===== | ||
+ | Depending on your computing setup, choose the most practical means of viewing your program' | ||
+ | |||
+ | ====Raspberry Pi desktop==== | ||
+ | You've got a monitor and keyboard hooked up to your pi that you are using (preferred method for class). | ||
+ | |||
+ | Open a file browser, web browser, or image viewer and navigate to/open up your **cos0.png** image in your **~/ | ||
+ | |||
+ | Rinse and repeat as you go through revisions. | ||
+ | |||
+ | ====Raspberry Pi command-line via SSH/ | ||
+ | You don't have a monitor, so you are logging into your pi remotely (doable, and good intra-system practice) | ||
+ | |||
+ | We start by running a successfully-compiled **cos0**: | ||
+ | |||
+ | <cli> | ||
+ | yourpi: | ||
+ | </ | ||
+ | |||
+ | ... which will produce an image (**cos0.png**); | ||
+ | |||
+ | <cli> | ||
+ | yourpi: | ||
+ | </ | ||
+ | |||
+ | Note that you will be prompted for your lab46 password. | ||
+ | |||
+ | Then over on lab46, run this: | ||
+ | |||
+ | <cli> | ||
+ | lab46:~$ chmod 0644 ~/ | ||
+ | </ | ||
+ | |||
+ | Then, point a web browser at the following URL: | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | NOTE: sometimes the web browser caches previous results, you may have to refresh a few times on revisions to get changes to manifest. | ||
=====Submission===== | =====Submission===== | ||
To successfully complete this project, the following criteria must be met: | To successfully complete this project, the following criteria must be met: |