This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2021:common:projects:led1 [2021/09/05 14:04] – [bitwise-xOR] wedge | haas:fall2021:common:projects:led1 [2021/09/12 22:54] (current) – [Process] wedge | ||
---|---|---|---|
Line 177: | Line 177: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 193: | Line 193: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 266: | Line 266: | ||
char value = 5; // 00000101 in binary | char value = 5; // 00000101 in binary | ||
value = value | 6; // | value = value | 6; // | ||
- | // | + | // |
// | // | ||
// | // | ||
Line 313: | Line 313: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
make: Entering directory '/ | make: Entering directory '/ | ||
- | '/ | + | '/ |
- | '/ | + | '/ |
make: Leaving directory '/ | make: Leaving directory '/ | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 346: | Line 346: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
Oops - unable to determine board type... model: 17 | Oops - unable to determine board type... model: 17 | ||
</ | </ | ||
Line 353: | Line 353: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
... | ... | ||
- | yourpi: | + | yourpi: |
... | ... | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 371: | Line 371: | ||
When done and ready to submit, on lab46: **make submit** | When done and ready to submit, on lab46: **make submit** | ||
+ | =====Process===== | ||
+ | The general flow of the process (one way of going about it, anyway) can be described as follows: | ||
+ | |||
+ | < | ||
+ | number <- 0 | ||
+ | loop (endlessly) | ||
+ | if the number is zero | ||
+ | activate/ | ||
+ | |||
+ | if the number is one | ||
+ | activate/ | ||
+ | |||
+ | if the number is two | ||
+ | activate/ | ||
+ | |||
+ | ... on and on through the cases for the remaining numbers | ||
+ | |||
+ | strategic delay so you can see the current number | ||
+ | |||
+ | let the number increment by one, but not to exceed fifteen | ||
+ | done | ||
+ | </ | ||
=====Submission===== | =====Submission===== | ||
To successfully complete this project, the following criteria must be met: | To successfully complete this project, the following criteria must be met: | ||
Line 387: | Line 409: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
- | Submitting desig project " | + | |
- | -> led1.c(OK) | + | |
- | + | ||
- | SUCCESSFULLY SUBMITTED | + | |
</ | </ | ||