Skip to content

Commit

Permalink
lots of refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
AdinAck committed Aug 1, 2024
1 parent 72f3ce7 commit e69f5ad
Show file tree
Hide file tree
Showing 56 changed files with 90 additions and 41 deletions.
9 changes: 0 additions & 9 deletions content/assignments/ControlWithPython/_index.md

This file was deleted.

12 changes: 6 additions & 6 deletions content/assignments/_index.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
title: Assignments
next: assignments/LightShield/
next: assignments/light-shield/
toc: false
---

All of the ECE 196 assignment instructions can be found here.

{{< cards >}}
{{< card link="lightshield" title="LightShield" icon="light-bulb" >}}
{{< card link="devboard" title="DevBoard" icon="chip" >}}
{{< card link="vumeter" title="VUMeter" icon="chart-square-bar" >}}
{{< card link="spinningandblinking" title="SpinningAndBlinking" icon="cog" >}}
{{< card link="controlwithpython" title="ControlWithPython" icon="code" >}}
{{< card link="light-shield" title="Light Shield" icon="light-bulb" >}}
{{< card link="dev-board" title="DevBoard" icon="chip" >}}
{{< card link="vu-meter" title="VU Meter" icon="chart-square-bar" >}}
{{< card link="spinning-and-blinking" title="Spinning and Blinking" icon="code" >}}
{{< card link="full-stack" title="Full Stack" icon="wifi" >}}
{{< /cards >}}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: DevBoard
type: docs
prev: assignments/LightShield/
next: assignments/DevBoard/assembly
prev: assignments/light-shield/
next: assignments/dev-board/assembly
weight: 2
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Assembly
type: docs
prev: assignments/DevBoard/
prev: assignments/dev-board/
weight: 1
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Submission
type: docs
next: assignments/VUMeter/
next: assignments/vu-meter/
weight: 2
---

Expand Down
46 changes: 46 additions & 0 deletions content/assignments/full-stack/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: Full Stack
type: docs
prev: assignments/spinning-and-blinking/
next: assignments/full-stack/tutorial
weight: 5
---

## Preamble

You may have heard the term "full stack" before. Web developers have coined it as meaning all the systems from the database (backend) to the user interface (frontend).

But web developers don't get all the fun. As Electrical Engineers, we have our *own* definition of "full stack".

For us, the full stack is:

1. Hardware
1. Firmware
1. Communication
1. User Interface

You're half way there! In one fell swoop, we're going to finish off the last two.

## Assignment

In this assignment you will become a full stack engineer by learning to create a **G**raphical **U**ser **I**nterface (GUI) and a communication
system to interact with a microcontroller.

You will create a **client** (the GUI running on your computer/phone) which communicates with a **peripheral** (your microcontroller) over some medium.

**You are once again faced with an important decision**

You now have **four** pathways to choose from:

{{< cards >}}
{{< card link="python" title="USB: Python & Arduino" >}}
{{< card link="python" title="USB: Python & Rust" >}}
{{< card link="python" title="BLE: Swift & Arduino" >}}
{{< card link="python" title="BLE: Swift & Rust" >}}
{{< /cards >}}

{{< callout type="warning" >}}
You **must** have a Mac and an iPhone to develop Swift apps.
{{< /callout >}}

Similarly to the previous assignment, some of these paths are easier than others, but less interesting.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Quiz
type: docs
prev: assignments/ControlWithPython/tutorial
prev: assignments/full-stack/tutorial
weight: 2
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Tutorial
type: docs
prev: assignments/ControlWithPython/
prev: assignments/full-stack/
weight: 1
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: LightShield
title: Light Shield
type: docs
prev: assignments/
next: assignments/LightShield/assembly
next: assignments/light-shield/assembly
weight: 1
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Assembly
type: docs
prev: assignments/LightShield/
prev: assignments/light-shield/
weight: 1
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Submission
type: docs
next: assignments/DevBoard/
next: assignments/dev-board/
weight: 2
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: SpinningAndBlinking
title: Spinning and Blinking
type: docs
prev: assignments/VUMeter/
next: assignments/SpinningAndBlinking/getting-started
prev: assignments/vu-meter/
next: assignments/spinning-and-blinking/getting-started
weight: 4
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Arduino
type: docs
prev: assignments/SpinningAndBlinking/
next: assignments/SpinningAndBlinking/Arduino/Blinking
prev: assignments/spinning-and-blinking/
next: assignments/spinning-and-blinking/arduino/blinking
weight: 1
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Blinking
type: docs
prev: assignments/SpinningAndBlinking/Arduino
prev: assignments/spinning-and-blinking/arduino
weight: 1
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Rust
type: docs
prev: assignments/SpinningAndBlinking/
next: assignments/SpinningAndBlinking/Rust/setup
prev: assignments/spinning-and-blinking/
next: assignments/spinning-and-blinking/rust/setup
weight: 2
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Blinking
type: docs
prev: assignments/SpinningAndBlinking/Rust/Setup
prev: assignments/spinning-and-blinking/rust/setup
weight: 2
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
---
title: Setup
type: docs
prev: assignments/SpinningAndBlinking/Rust
prev: assignments/spinning-and-blinking/rust
weight: 1
---

{{< callout type="info" >}}
Ideally these steps would be omitted and a Docker image would be provided.
Unfortunately the environment we are setting up relies on USB access
which is currently unsupported on Apple Silicon. Learn more [here](https://github.com/docker/for-mac/issues/5263).
{{< /callout >}}


## Install Rust

To install rust, follow the instructions [here](https://www.rust-lang.org/tools/install).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Spinning
type: docs
prev: assignments/SpinningAndBlinking/Blinking
prev: assignments/spinning-and-blinking/blinking
weight: 3
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: VUMeter
title: VU Meter
type: docs
prev: assignments/DevBoard/
next: assignments/VUMeter/firmware
prev: assignments/dev-board/
next: assignments/vu-meter/firmware
weight: 3
---

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Firmware
type: docs
prev: assignments/VUMeter/
prev: assignments/vu-meter/
weight: 1
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Submission
type: docs
next: assignments/SpinningAndBlinking/
next: assignments/spinning-and-blinking/
weight: 3
---

Expand Down
4 changes: 4 additions & 0 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,7 @@ params:

page:
width: full

theme:
default: "dark"
displayToggle: false
Binary file added static/android-chrome-192x192.png
Binary file added static/android-chrome-512x512.png
Binary file added static/apple-touch-icon.png
Binary file added static/favicon-16x16.png
Binary file added static/favicon-32x32.png
Binary file added static/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions static/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

0 comments on commit e69f5ad

Please sign in to comment.