Skip to content

Commit

Permalink
THERE we go.
Browse files Browse the repository at this point in the history
I assumed that the file was on my school repository, but it wasn't here is the original submission just copied over. THANKS!
  • Loading branch information
JSUCSD committed Jun 7, 2024
1 parent 91e11e7 commit 111c47f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# CHANGELOG
#1 CHANGELOG

## {DATE}
## {4/30/24}
### Contributors
...
Josue Solano

### Added
...
A submission video, code and the quiz answers

### Changed
...
Expand Down
12 changes: 12 additions & 0 deletions QUIZ.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
### How does the DevBoard handle received serial messages? How does this differ from the naïve approach?

The DevBoard manages incoming serial messages using interrupt methods. When a serial message reaches the microcontroller, it triggers an interrupt. This interrupts the current task being executed by the microcontroller, allowing it to initiate a routine specifically designed to handle the incoming data. This method differs from a more simplistic approach where the microcontroller continuously checks for incoming bytes, a process that consumes more energy and CPU resources compared to using interrupts.






### What does `detached_callback` do? What would happen if it wasn't used?

It serves as a mechanism to prevent the user interface from becoming unresponsive in scenarios where certain code operations take an extended period to execute..


### What does `LockedSerial` do? Why is it _necessary_?

In situations where multiple threads attempt to utilize the same serial port concurrently, it can lead to unpredictable outcomes. LockedSerial ensures that these threads can effectively share the same resources simultaneously, mitigating potential conflicts and ensuring smooth operation.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-24ddc0f5d75046c5622901739e7c5dd533143b0c8e959d652212380cedb1ea36.svg)](https://classroom.github.com/a/ngjBWg8z)
# ControlWithPython

Get started by visiting the [wiki](https://github.com/ECE-196/ControlWithPython/wiki).
Expand Down
Binary file added Submission
Binary file not shown.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations
from threading import Thread, Lock
from serial import Serial, SerialException
from serial.tools.list_ports import comports
from serial import Serial, SerialException # type: ignore
from serial.tools.list_ports import comports # type: ignore

import tkinter as tk
import tkinter.ttk as ttk
Expand Down

0 comments on commit 111c47f

Please sign in to comment.