Started Lab 2 report

This commit is contained in:
David Lenfesty 2019-10-10 10:24:06 -06:00
parent 7e93cabdfe
commit 9cbc057d8e
30 changed files with 1571 additions and 185 deletions

0
.gitignore vendored Normal file → Executable file
View File

0
CMakeLists.txt Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
final_project/main.c Normal file → Executable file
View File

0
generic-gcc-avr.cmake Normal file → Executable file
View File

View File

@ -1,156 +0,0 @@
##################################################################################
# "THE ANY BEVERAGE-WARE LICENSE" (Revision 42 - based on beer-ware
# license):
# <dev@layer128.net> wrote this file. As long as you retain this notice
# you can do whatever you want with this stuff. If we meet some day, and
# you think this stuff is worth it, you can buy me a be(ve)er(age) in
# return. (I don't like beer much.)
#
# Matthias Kleemann
##################################################################################
##################################################################################
# Sample CMakeLists.txt for a simple AVR project based on the toolchain
##################################################################################
cmake_minimum_required(VERSION 2.8)
### TOOLCHAIN SETUP AREA #################################################
# Set any variables used in the toolchain prior project() call. In that
# case they are already set and used.
##########################################################################
##################################################################################
# tools to be used for programming the AVR
##################################################################################
set(AVR_UPLOADTOOL avrdude)
set(AVR_PROGRAMMER avrispmkII)
set(AVR_UPLOADTOOL_PORT usb)
# AVR and fuses needs to be set
set(AVR_MCU attiny13a)
set(AVR_H_FUSE 0xFF)
set(AVR_L_FUSE 0x6A)
### END TOOLCHAIN SETUP AREA #############################################
##########################################################################
# name your project
##########################################################################
project(lab1)
##################################################################################
# status messages
##################################################################################
message(STATUS "Current uploadtool is: ${AVR_UPLOADTOOL}")
message(STATUS "Current programmer is: ${AVR_PROGRAMMER}")
message(STATUS "Current upload port is: ${AVR_UPLOADTOOL_PORT}")
message(STATUS "Current uploadtool options are: ${AVR_UPLOADTOOL_OPTIONS}")
message(STATUS "Current MCU is set to: ${AVR_MCU}")
message(STATUS "Current H_FUSE is set to: ${AVR_H_FUSE}")
message(STATUS "Current L_FUSE is set to: ${AVR_L_FUSE}")
##################################################################################
# set build type, if not already set at cmake command line
##################################################################################
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif(NOT CMAKE_BUILD_TYPE)
##################################################################################
# needs to be defined for AVR toolchain
##################################################################################
set(MCU_SPEED "9600000UL")
##################################################################################
# some cmake cross-compile necessities
##################################################################################
if(DEFINED ENV{AVR_FIND_ROOT_PATH})
set(CMAKE_FIND_ROOT_PATH $ENV{AVR_FIND_ROOT_PATH})
else(DEFINED ENV{AVR_FIND_ROOT_PATH})
if(EXISTS "/opt/local/avr")
set(CMAKE_FIND_ROOT_PATH "/opt/local/avr")
elseif(EXISTS "/usr/avr")
set(CMAKE_FIND_ROOT_PATH "/usr/avr")
elseif(EXISTS "/usr/lib/avr")
set(CMAKE_FIND_ROOT_PATH "/usr/lib/avr")
elseif(EXISTS "/usr/local/CrossPack-AVR")
set(CMAKE_FIND_ROOT_PATH "/usr/local/CrossPack-AVR")
else(EXISTS "/opt/local/avr")
message(FATAL_ERROR "Please set AVR_FIND_ROOT_PATH in your environment.")
endif(EXISTS "/opt/local/avr")
endif(DEFINED ENV{AVR_FIND_ROOT_PATH})
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
# not added automatically, since CMAKE_SYSTEM_NAME is "generic"
set(CMAKE_SYSTEM_INCLUDE_PATH "${CMAKE_FIND_ROOT_PATH}/include")
set(CMAKE_SYSTEM_LIBRARY_PATH "${CMAKE_FIND_ROOT_PATH}/lib")
##################################################################################
# status messages for generating
##################################################################################
message(STATUS "Set CMAKE_FIND_ROOT_PATH to ${CMAKE_FIND_ROOT_PATH}")
message(STATUS "Set CMAKE_SYSTEM_INCLUDE_PATH to ${CMAKE_SYSTEM_INCLUDE_PATH}")
message(STATUS "Set CMAKE_SYSTEM_LIBRARY_PATH to ${CMAKE_SYSTEM_LIBRARY_PATH}")
##################################################################################
# set compiler options for build types
##################################################################################
if(CMAKE_BUILD_TYPE MATCHES Release)
set(CMAKE_C_FLAGS_RELEASE "-Os")
set(CMAKE_CXX_FLAGS_RELEASE "-Os")
endif(CMAKE_BUILD_TYPE MATCHES Release)
if(CMAKE_BUILD_TYPE MATCHES RelWithDebInfo)
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-Os -save-temps -g -gdwarf-3 -gstrict-dwarf")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-Os -save-temps -g -gdwarf-3 -gstrict-dwarf")
endif(CMAKE_BUILD_TYPE MATCHES RelWithDebInfo)
if(CMAKE_BUILD_TYPE MATCHES Debug)
set(CMAKE_C_FLAGS_DEBUG "-O0 -save-temps -g -gdwarf-3 -gstrict-dwarf")
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -save-temps -g -gdwarf-3 -gstrict-dwarf")
endif(CMAKE_BUILD_TYPE MATCHES Debug)
##################################################################################
# compiler options for all build types
##################################################################################
add_definitions("-DF_CPU=${MCU_SPEED}")
add_definitions("-fpack-struct")
add_definitions("-fshort-enums")
add_definitions("-Wall")
add_definitions("-Werror")
# http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Alternate-Keywords.html#Alternate-Keywords
# [...]-pedantic and other options cause warnings for many GNU C extensions. You can prevent such warnings within
# one expression by writing __extension__ before the expression. __extension__ has no effect aside from this.[...]
add_definitions("-pedantic")
add_definitions("-pedantic-errors")
add_definitions("-funsigned-char")
add_definitions("-funsigned-bitfields")
add_definitions("-ffunction-sections")
add_definitions("-c")
add_definitions("-std=gnu99")
##################################################################################
# add AVR executable
##################################################################################
add_avr_executable(
main
main.c
)
##################################################################################
# add AVR library
##################################################################################
# add_avr_library(
# <library-name>
# <sources> <headers>
# )
##################################################################################
# link library to executable
# NOTE: It needs to be the elf target.
##################################################################################
# target_link_libraries(<executable-name>-${AVR_MCU}.elf <library-name>-${AVR_MCU})
# OR easier
#target_link_libraries(<executable-name> <library-name> <some-external-libary>)

View File

@ -0,0 +1,58 @@
\documentclass[12pt]{article}
\usepackage{comment}
\newcommand{\firstName}{FirstName}
\newcommand{\lastName}{LastName}
\newcommand{\docTitle}{My Document}
\newcommand{\email}{email@example.ca}
\newcommand{\userID}{123456789}
\newcommand{\courseNum}{COURSE 101}
\newcommand{\labName}{Lab 0}
\newcommand{\labSection}{D00}
\usepackage{pdfpages}
\usepackage[hidelinks]{hyperref}
\hypersetup{
pdftitle={\docTitle{}},
pdfauthor={\firstName{} \lastName{}},
bookmarksnumbered=true,
bookmarksopen=true,
bookmarksopenlevel=1,
colorlinks=false,
pdfstartview=Fit,
pdfpagemode=UseOutlines, % this is the option you were lookin for
pdfpagelayout=TwoPageRight
}
\title{ {\Huge \docTitle{}} \\
\courseNum{} - \labName{} - \labSection{}}
\author{
\firstName{} \lastName{}\\
\texttt{\email{}}\\
\texttt{ID: \userID{}}
}
\begin{document}
\pagenumbering{roman}
\maketitle
\newpage
\tableofcontents
\newpage
\pagenumbering{arabic}
\section{Section}
\subsection{Subsection}
\subsubsection{Subsubsection}
\begin{comment}
Use this to attach a pdf, such as a marking sheet
\includepdf[pages=-,pagecommand={}]{./YourPDFHere.pdf}
\end{comment}
\end{document}

37
lab_1/answers.md Normal file
View File

@ -0,0 +1,37 @@
# Question 1:
Defining a macro to hold a constant value essentially tells the compiler
to fill in that value where it is placed before actually compiling,
while declaring a constant variable creates a value in memory that holds the variable.
The advantage of a macro is that it is smaller, and can take up less code space if used
in certain contexts, and puts some of the work into the preprocessor instead of
the microcontroller. However, macros can sometimes be confusing to work with, as the
compiler errors can be less useful, and you can occasionally have to follow long chains of
definitions. Constant variables are also able to be referenced via pointers which can be
necessary in a context that needs pointers.
# Question 2:
F_CPU is a deginition that affects the math used for the delay functions
(_delay_ms() and _delay_us()). Changing this macro does not change the clock frequency,
as that has to be changed (in the case of the Attiny13A) by setting the the various
clock-related fuse bits, like CLKDIV8, and the CLKSEL bits.
# Question 3:
DDRx is the genericised name for the collection of Data Direction Registers
(DDRA, DDRB, etc.). By setting individual bits in these registers, you change whether the
correlating pin is an input or an ouptut (0 or 1, respectively).
PORTx is similar, it effects the values of these pins. When DDRB has the relevent pin set
as an output, the value of the same bit is set as the output (0 is low, 1 is high). If it
is set as an input, the bit in PORTB determines if the integrated pullup resistor is
connected. (1 means it's connected, 0 means it is not, and the pin is left floating)
It is typically better to use bitwise operates to set individual bits, rather than setting
all of the bits at once so that you don't have to keep track of what each pin should be.
By using the bitwise operators, you can keep the state of the pins that are not immediately
relevant with no decision overhead from the programmer (i.e. you would not have to keep
track of the other pins state, you just need to care about the single pin).

View File

@ -0,0 +1,3 @@
EESchema-DOCLIB Version 2.0
#
#End Doc Library

View File

@ -0,0 +1,88 @@
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# ADISCOVERY
#
DEF ADISCOVERY P 0 40 Y Y 1 F N
F0 "P" 300 -100 50 H V C CNN
F1 "ADISCOVERY" 250 2350 50 H V C CNN
F2 "" 0 2100 50 H I C CNN
F3 "" 0 2100 50 H I C CNN
DRAW
S 0 2300 550 0 0 1 0 N
X CH1- 1 -100 2150 100 R 50 50 1 1 I
X W1 10 650 1200 100 L 50 50 1 1 O
X GND 11 650 150 100 L 50 50 1 1 w
X GND 12 650 50 100 L 50 50 1 1 w
X T2 13 -100 1700 100 R 50 50 1 1 I
X T1 14 -100 1800 100 R 50 50 1 1 I
X D8 15 -100 750 100 R 50 50 1 1 I
X D0 16 -100 1550 100 R 50 50 1 1 I
X D9 17 -100 650 100 R 50 50 1 1 I
X D1 18 -100 1450 100 R 50 50 1 1 I
X D10 19 -100 550 100 R 50 50 1 1 I
X CH1+ 2 -100 2250 100 R 50 50 1 1 I
X D2 20 -100 1350 100 R 50 50 1 1 I
X D11 21 -100 450 100 R 50 50 1 1 I
X D3 22 -100 1250 100 R 50 50 1 1 I
X D12 23 -100 350 100 R 50 50 1 1 I
X D4 24 -100 1150 100 R 50 50 1 1 I
X D13 25 -100 250 100 R 50 50 1 1 I
X D5 26 -100 1050 100 R 50 50 1 1 I
X D14 27 -100 150 100 R 50 50 1 1 I
X D6 28 -100 950 100 R 50 50 1 1 I
X D15 29 -100 50 100 R 50 50 1 1 I
X CH2- 3 -100 1950 100 R 50 50 1 1 I
X D7 30 -100 850 100 R 50 50 1 1 I
X CH2+ 4 -100 2050 100 R 50 50 1 1 I
X GND 5 650 350 100 L 50 50 1 1 w
X GND 6 650 250 100 L 50 50 1 1 w
X V- 7 650 2150 100 L 50 50 1 1 w
X V+ 8 650 2250 100 L 50 50 1 1 w
X W2 9 650 1300 100 L 50 50 1 1 O
ENDDRAW
ENDDEF
#
# ATTINY13A
#
DEF ATTINY13A U 0 40 Y Y 1 F N
F0 "U" 250 -100 50 H V C CNN
F1 "ATTINY13A" 250 700 50 H V C CNN
F2 "" 250 450 50 H I C CNN
F3 "" 250 450 50 H I C CNN
DRAW
S 0 600 450 0 0 1 0 N
X PB5 1 550 550 100 L 50 50 1 1 B
X PB3 2 550 350 100 L 50 50 1 1 B
X PB4 3 550 450 100 L 50 50 1 1 B
X GND 4 -100 50 100 R 50 50 1 1 W
X PB0 5 550 50 100 L 50 50 1 1 B
X PB1 6 550 150 100 L 50 50 1 1 B
X PB2 7 550 250 100 L 50 50 1 1 B
X VCC 8 -100 550 100 R 50 50 1 1 W
ENDDRAW
ENDDEF
#
# ICE_SPI
#
DEF ICE_SPI P 0 40 Y Y 1 F N
F0 "P" 100 -50 50 H V C CNN
F1 "ICE_SPI" 150 1050 50 H V C CNN
F2 "" 350 600 50 H I C CNN
F3 "" 350 600 50 H I C CNN
DRAW
S 300 0 0 1000 0 1 0 N
X TCK 1 400 950 100 L 50 50 1 1 B
X GND 10 400 50 100 L 50 50 1 1 W
X GND 2 400 850 100 L 50 50 1 1 W
X TDO 3 400 750 100 L 50 50 1 1 B
X VTG 4 400 650 100 L 50 50 1 1 W
X TMS 5 400 550 100 L 50 50 1 1 B
X nSRST 6 400 450 100 L 50 50 1 1 B
X NC 7 400 350 100 L 50 50 1 1 N
X nTRST 8 400 250 100 L 50 50 1 1 B
X TDI 9 400 150 100 L 50 50 1 1 B
ENDDRAW
ENDDEF
#
#End Library

View File

@ -0,0 +1,115 @@
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# 312_ADISCOVERY
#
DEF 312_ADISCOVERY P 0 40 Y Y 1 F N
F0 "P" 300 -100 50 H V C CNN
F1 "312_ADISCOVERY" 250 2350 50 H V C CNN
F2 "" 0 2100 50 H I C CNN
F3 "" 0 2100 50 H I C CNN
DRAW
S 0 2300 550 0 0 1 0 N
X CH1- 1 -100 2150 100 R 50 50 1 1 I
X W1 10 650 1200 100 L 50 50 1 1 O
X GND 11 650 150 100 L 50 50 1 1 w
X GND 12 650 50 100 L 50 50 1 1 w
X T2 13 -100 1700 100 R 50 50 1 1 I
X T1 14 -100 1800 100 R 50 50 1 1 I
X D8 15 -100 750 100 R 50 50 1 1 I
X D0 16 -100 1550 100 R 50 50 1 1 I
X D9 17 -100 650 100 R 50 50 1 1 I
X D1 18 -100 1450 100 R 50 50 1 1 I
X D10 19 -100 550 100 R 50 50 1 1 I
X CH1+ 2 -100 2250 100 R 50 50 1 1 I
X D2 20 -100 1350 100 R 50 50 1 1 I
X D11 21 -100 450 100 R 50 50 1 1 I
X D3 22 -100 1250 100 R 50 50 1 1 I
X D12 23 -100 350 100 R 50 50 1 1 I
X D4 24 -100 1150 100 R 50 50 1 1 I
X D13 25 -100 250 100 R 50 50 1 1 I
X D5 26 -100 1050 100 R 50 50 1 1 I
X D14 27 -100 150 100 R 50 50 1 1 I
X D6 28 -100 950 100 R 50 50 1 1 I
X D15 29 -100 50 100 R 50 50 1 1 I
X CH2- 3 -100 1950 100 R 50 50 1 1 I
X D7 30 -100 850 100 R 50 50 1 1 I
X CH2+ 4 -100 2050 100 R 50 50 1 1 I
X GND 5 650 350 100 L 50 50 1 1 w
X GND 6 650 250 100 L 50 50 1 1 w
X V- 7 650 2150 100 L 50 50 1 1 w
X V+ 8 650 2250 100 L 50 50 1 1 w
X W2 9 650 1300 100 L 50 50 1 1 O
ENDDRAW
ENDDEF
#
# 312_ATTINY13A
#
DEF 312_ATTINY13A U 0 40 Y Y 1 F N
F0 "U" 250 -100 50 H V C CNN
F1 "312_ATTINY13A" 250 700 50 H V C CNN
F2 "" 250 450 50 H I C CNN
F3 "" 250 450 50 H I C CNN
DRAW
S 0 600 450 0 0 1 0 N
X PB5 1 550 550 100 L 50 50 1 1 B
X PB3 2 550 350 100 L 50 50 1 1 B
X PB4 3 550 450 100 L 50 50 1 1 B
X GND 4 -100 50 100 R 50 50 1 1 W
X PB0 5 550 50 100 L 50 50 1 1 B
X PB1 6 550 150 100 L 50 50 1 1 B
X PB2 7 550 250 100 L 50 50 1 1 B
X VCC 8 -100 550 100 R 50 50 1 1 W
ENDDRAW
ENDDEF
#
# 312_ICE_SPI
#
DEF 312_ICE_SPI P 0 40 Y Y 1 F N
F0 "P" 100 -50 50 H V C CNN
F1 "312_ICE_SPI" 150 1050 50 H V C CNN
F2 "" 350 600 50 H I C CNN
F3 "" 350 600 50 H I C CNN
DRAW
S 300 0 0 1000 0 1 0 N
X TCK 1 400 950 100 L 50 50 1 1 B
X GND 10 400 50 100 L 50 50 1 1 W
X GND 2 400 850 100 L 50 50 1 1 W
X TDO 3 400 750 100 L 50 50 1 1 B
X VTG 4 400 650 100 L 50 50 1 1 W
X TMS 5 400 550 100 L 50 50 1 1 B
X nSRST 6 400 450 100 L 50 50 1 1 B
X NC 7 400 350 100 L 50 50 1 1 N
X nTRST 8 400 250 100 L 50 50 1 1 B
X TDI 9 400 150 100 L 50 50 1 1 B
ENDDRAW
ENDDEF
#
# power_GND
#
DEF power_GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "power_GND" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# power_VCC
#
DEF power_VCC #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "power_VCC" 0 150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
C 0 75 25 0 1 0 N
P 2 0 1 0 0 0 0 50 N
X VCC 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
#End Library

View File

@ -0,0 +1 @@
(kicad_pcb (version 4) (host kicad "dummy file") )

Binary file not shown.

View File

@ -0,0 +1,43 @@
update=Mon 07 Oct 2019 10:18:21 AM MDT
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
[schematic_editor]
version=1
PageLayoutDescrFile=
PlotDirectoryName=
SubpartIdSeparator=0
SubpartFirstId=65
NetFmtName=
SpiceAjustPassiveValues=0
LabSize=50
ERC_TestSimilarLabels=1

View File

@ -0,0 +1,221 @@
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L 312:ATTINY13A U?
U 1 1 5D9B7CC8
P 5150 3100
F 0 "U?" H 5375 3875 50 0000 C CNN
F 1 "ATTINY13A" H 5375 3784 50 0000 C CNN
F 2 "" H 5400 3550 50 0001 C CNN
F 3 "" H 5400 3550 50 0001 C CNN
1 5150 3100
1 0 0 -1
$EndComp
$Comp
L 312:ICE_SPI P?
U 1 1 5D9B8E3A
P 3150 3500
F 0 "P?" H 3358 4675 50 0000 C CNN
F 1 "ICE_SPI" H 3358 4584 50 0000 C CNN
F 2 "" H 3500 4100 50 0001 C CNN
F 3 "" H 3500 4100 50 0001 C CNN
1 3150 3500
1 0 0 -1
$EndComp
$Comp
L 312:ADISCOVERY P?
U 1 1 5D9BBE82
P 7250 4250
F 0 "P?" H 7525 6725 50 0000 C CNN
F 1 "ADISCOVERY" H 7525 6634 50 0000 C CNN
F 2 "" H 7250 6350 50 0001 C CNN
F 3 "" H 7250 6350 50 0001 C CNN
1 7250 4250
1 0 0 -1
$EndComp
Wire Wire Line
3550 2650 4100 2650
Wire Wire Line
4100 2650 4100 3450
Wire Wire Line
3550 3450 4100 3450
Connection ~ 4100 3450
Wire Wire Line
4100 3450 4100 3700
Wire Wire Line
3550 2850 3950 2850
Wire Wire Line
3950 2850 3950 2350
Text Label 3700 2750 0 50 ~ 0
MISO
Wire Wire Line
3550 2750 3700 2750
Wire Wire Line
3550 2550 3700 2550
Wire Wire Line
3550 3050 3700 3050
Wire Wire Line
3550 3350 3700 3350
Text Label 3700 2550 0 50 ~ 0
SCK
Text Label 3700 3050 0 50 ~ 0
~RESET
Text Label 3700 3350 0 50 ~ 0
MOSI
$Comp
L power:VCC #PWR?
U 1 1 5D9C1403
P 3950 2350
F 0 "#PWR?" H 3950 2200 50 0001 C CNN
F 1 "VCC" H 3967 2523 50 0000 C CNN
F 2 "" H 3950 2350 50 0001 C CNN
F 3 "" H 3950 2350 50 0001 C CNN
1 3950 2350
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 5D9C16FB
P 4100 3700
F 0 "#PWR?" H 4100 3450 50 0001 C CNN
F 1 "GND" H 4105 3527 50 0000 C CNN
F 2 "" H 4100 3700 50 0001 C CNN
F 3 "" H 4100 3700 50 0001 C CNN
1 4100 3700
1 0 0 -1
$EndComp
Wire Wire Line
5050 3050 4950 3050
Wire Wire Line
4950 3050 4950 3250
$Comp
L power:GND #PWR?
U 1 1 5D9C1C4C
P 4950 3250
F 0 "#PWR?" H 4950 3000 50 0001 C CNN
F 1 "GND" H 4955 3077 50 0000 C CNN
F 2 "" H 4950 3250 50 0001 C CNN
F 3 "" H 4950 3250 50 0001 C CNN
1 4950 3250
1 0 0 -1
$EndComp
$Comp
L power:VCC #PWR?
U 1 1 5D9C1E2A
P 4900 2350
F 0 "#PWR?" H 4900 2200 50 0001 C CNN
F 1 "VCC" H 4917 2523 50 0000 C CNN
F 2 "" H 4900 2350 50 0001 C CNN
F 3 "" H 4900 2350 50 0001 C CNN
1 4900 2350
1 0 0 -1
$EndComp
Wire Wire Line
5050 2550 4900 2550
Wire Wire Line
4900 2550 4900 2350
Wire Notes Line
3050 2050 4250 2050
Wire Notes Line
4250 2050 4250 4050
Wire Notes Line
4250 4050 3050 4050
Wire Notes Line
3050 4050 3050 2050
Text Notes 3100 4000 0 50 ~ 0
Atmel ICE\nProgramming Header
Wire Wire Line
5700 2550 5850 2550
Text Label 5850 2550 0 50 ~ 0
~RESET
Wire Wire Line
5700 2850 5850 2850
Text Label 5850 2850 0 50 ~ 0
SCK
Text Label 5850 2950 0 50 ~ 0
MISO
Text Label 5850 3050 0 50 ~ 0
MOSI
Wire Wire Line
5700 2950 5850 2950
Wire Wire Line
5700 3050 5850 3050
Text Label 6550 2000 0 50 ~ 0
WAVEOUT
Wire Wire Line
7900 2000 8050 2000
Wire Wire Line
8050 2000 8050 1800
$Comp
L power:VCC #PWR?
U 1 1 5D9C6149
P 8050 1800
F 0 "#PWR?" H 8050 1650 50 0001 C CNN
F 1 "VCC" H 8067 1973 50 0000 C CNN
F 2 "" H 8050 1800 50 0001 C CNN
F 3 "" H 8050 1800 50 0001 C CNN
1 8050 1800
1 0 0 -1
$EndComp
Wire Wire Line
7900 3900 7900 4000
Wire Wire Line
7900 4100 7900 4200
Wire Wire Line
7900 4200 7900 4350
Connection ~ 7900 4200
Wire Wire Line
7900 4000 7900 4100
Connection ~ 7900 4000
Connection ~ 7900 4100
$Comp
L power:GND #PWR?
U 1 1 5D9C7A2D
P 7900 4350
F 0 "#PWR?" H 7900 4100 50 0001 C CNN
F 1 "GND" H 7905 4177 50 0000 C CNN
F 2 "" H 7900 4350 50 0001 C CNN
F 3 "" H 7900 4350 50 0001 C CNN
1 7900 4350
1 0 0 -1
$EndComp
Wire Wire Line
6500 2000 7150 2000
Wire Wire Line
6500 2000 6500 2750
Wire Wire Line
6500 2750 5700 2750
Wire Notes Line
4750 2050 6150 2050
Wire Notes Line
6150 2050 6150 3500
Wire Notes Line
6150 3500 4750 3500
Wire Notes Line
4750 3500 4750 2050
Text Notes 5550 3500 0 50 ~ 0
Microcontroller
Wire Notes Line
6900 1500 6900 4650
Wire Notes Line
6900 4650 8150 4650
Wire Notes Line
8150 4650 8150 1500
Wire Notes Line
8150 1500 6900 1500
Text Notes 6950 1650 0 50 ~ 0
Analog Discovery 2
$EndSCHEMATC

View File

@ -0,0 +1,201 @@
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L 312:ATTINY13A U?
U 1 1 5D9B7CC8
P 5150 3100
F 0 "U?" H 5375 3875 50 0000 C CNN
F 1 "ATTINY13A" H 5375 3784 50 0000 C CNN
F 2 "" H 5400 3550 50 0001 C CNN
F 3 "" H 5400 3550 50 0001 C CNN
1 5150 3100
1 0 0 -1
$EndComp
$Comp
L 312:ICE_SPI P?
U 1 1 5D9B8E3A
P 3150 3500
F 0 "P?" H 3358 4675 50 0000 C CNN
F 1 "ICE_SPI" H 3358 4584 50 0000 C CNN
F 2 "" H 3500 4100 50 0001 C CNN
F 3 "" H 3500 4100 50 0001 C CNN
1 3150 3500
1 0 0 -1
$EndComp
$Comp
L 312:ADISCOVERY P?
U 1 1 5D9BBE82
P 7250 4250
F 0 "P?" H 7525 6725 50 0000 C CNN
F 1 "ADISCOVERY" H 7525 6634 50 0000 C CNN
F 2 "" H 7250 6350 50 0001 C CNN
F 3 "" H 7250 6350 50 0001 C CNN
1 7250 4250
1 0 0 -1
$EndComp
Wire Wire Line
3550 2650 4100 2650
Wire Wire Line
4100 2650 4100 3450
Wire Wire Line
3550 3450 4100 3450
Connection ~ 4100 3450
Wire Wire Line
4100 3450 4100 3700
Wire Wire Line
3550 2850 3950 2850
Wire Wire Line
3950 2850 3950 2350
Text Label 3700 2750 0 50 ~ 0
MISO
Wire Wire Line
3550 2750 3700 2750
Wire Wire Line
3550 2550 3700 2550
Wire Wire Line
3550 3050 3700 3050
Wire Wire Line
3550 3350 3700 3350
Text Label 3700 2550 0 50 ~ 0
SCK
Text Label 3700 3050 0 50 ~ 0
~RESET
Text Label 3700 3350 0 50 ~ 0
MOSI
$Comp
L power:VCC #PWR?
U 1 1 5D9C1403
P 3950 2350
F 0 "#PWR?" H 3950 2200 50 0001 C CNN
F 1 "VCC" H 3967 2523 50 0000 C CNN
F 2 "" H 3950 2350 50 0001 C CNN
F 3 "" H 3950 2350 50 0001 C CNN
1 3950 2350
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 5D9C16FB
P 4100 3700
F 0 "#PWR?" H 4100 3450 50 0001 C CNN
F 1 "GND" H 4105 3527 50 0000 C CNN
F 2 "" H 4100 3700 50 0001 C CNN
F 3 "" H 4100 3700 50 0001 C CNN
1 4100 3700
1 0 0 -1
$EndComp
Wire Wire Line
5050 3050 4950 3050
Wire Wire Line
4950 3050 4950 3250
$Comp
L power:GND #PWR?
U 1 1 5D9C1C4C
P 4950 3250
F 0 "#PWR?" H 4950 3000 50 0001 C CNN
F 1 "GND" H 4955 3077 50 0000 C CNN
F 2 "" H 4950 3250 50 0001 C CNN
F 3 "" H 4950 3250 50 0001 C CNN
1 4950 3250
1 0 0 -1
$EndComp
$Comp
L power:VCC #PWR?
U 1 1 5D9C1E2A
P 4900 2350
F 0 "#PWR?" H 4900 2200 50 0001 C CNN
F 1 "VCC" H 4917 2523 50 0000 C CNN
F 2 "" H 4900 2350 50 0001 C CNN
F 3 "" H 4900 2350 50 0001 C CNN
1 4900 2350
1 0 0 -1
$EndComp
Wire Wire Line
5050 2550 4900 2550
Wire Wire Line
4900 2550 4900 2350
Wire Notes Line
3050 2050 4250 2050
Wire Notes Line
4250 2050 4250 4050
Wire Notes Line
4250 4050 3050 4050
Wire Notes Line
3050 4050 3050 2050
Text Notes 3100 4000 0 50 ~ 0
Atmel ICE\nProgramming Header
Wire Wire Line
5700 2550 5850 2550
Text Label 5850 2550 0 50 ~ 0
~RESET
Wire Wire Line
5700 2850 5850 2850
Text Label 5850 2850 0 50 ~ 0
SCK
Text Label 5850 2950 0 50 ~ 0
MISO
Text Label 5850 3050 0 50 ~ 0
MOSI
Wire Wire Line
5700 2950 5850 2950
Wire Wire Line
5700 3050 5850 3050
Text Label 6550 2000 0 50 ~ 0
WAVEOUT
Wire Wire Line
7900 2000 8050 2000
Wire Wire Line
8050 2000 8050 1800
$Comp
L power:VCC #PWR?
U 1 1 5D9C6149
P 8050 1800
F 0 "#PWR?" H 8050 1650 50 0001 C CNN
F 1 "VCC" H 8067 1973 50 0000 C CNN
F 2 "" H 8050 1800 50 0001 C CNN
F 3 "" H 8050 1800 50 0001 C CNN
1 8050 1800
1 0 0 -1
$EndComp
Wire Wire Line
7900 3900 7900 4000
Wire Wire Line
7900 4100 7900 4200
Wire Wire Line
7900 4200 7900 4350
Connection ~ 7900 4200
Wire Wire Line
7900 4000 7900 4100
Connection ~ 7900 4000
Connection ~ 7900 4100
$Comp
L power:GND #PWR?
U 1 1 5D9C7A2D
P 7900 4350
F 0 "#PWR?" H 7900 4100 50 0001 C CNN
F 1 "GND" H 7905 4177 50 0000 C CNN
F 2 "" H 7900 4350 50 0001 C CNN
F 3 "" H 7900 4350 50 0001 C CNN
1 7900 4350
1 0 0 -1
$EndComp
Wire Wire Line
6500 2000 7150 2000
Wire Wire Line
6500 2000 6500 2750
Wire Wire Line
6500 2750 5700 2750
$EndSCHEMATC

View File

@ -1,20 +1,36 @@
/* main.c
*
*
* Created: 9/24/2019 2:15:19 PM
* Author: wfarmer, dlenfesty
*/
// CLKDIV8 was set on our processor
#define F_CPU 1200000UL
#define ON_TIME 9 // On time for pulses, accounting for overhead
#define END_TIME 87.5 // Off time at the end of the pulse train (tuned for overhead + clock drift)
#define NUM_PULSES 15
#include <avr/io.h>
#include <util/delay.h>
int main(void) {
DDRB |= (1 << DDB3);
// Set PB5 low
PORTB &= ~(1 << PORTB3);
// Set up GPIO here
void pin_setup() {
DDRB |= (1 << DDB3);
}
int main() {
pin_setup();
while (1) {
PORTB ^= (1 << PORTB3);
_delay_ms(500);
// Main loop
while (1) {
// Loop for all pulses, high then low, excluding 15th low pulse, which is 100us
for (uint8_t i = 0; i < (NUM_PULSES * 2) - 1; i++) {
// Toggle PB5
PORTB ^= (1 << PORTB3);
_delay_us(ON_TIME);
}
// Last low pulse
PORTB &= ~(1 << PORTB3);
_delay_us(END_TIME);
}
}

36
lab_1/main.txt Normal file
View File

@ -0,0 +1,36 @@
/* main.c
*
*
* Created: 9/24/2019 2:15:19 PM
* Author: wfarmer, dlenfesty
*/
// CLKDIV8 was set on our processor
#define F_CPU 1200000UL
#define ON_TIME 9 // On time for pulses, accounting for overhead
#define END_TIME 87.5 // Off time at the end of the pulse train (tuned for overhead + clock drift)
#define NUM_PULSES 15
#include <avr/io.h>
#include <util/delay.h>
int main(void) {
DDRB |= (1 << DDB3);
// Set PB5 low
PORTB &= ~(1 << PORTB3);
// Main loop
while (1) {
// Loop for all pulses, high then low, excluding 15th low pulse, which is 100us
for (uint8_t i = 0; i < (NUM_PULSES * 2) - 1; i++) {
// Toggle PB5
PORTB ^= (1 << PORTB3);
_delay_us(ON_TIME);
}
// Last low pulse
PORTB &= ~(1 << PORTB3);
_delay_us(END_TIME);
}
}

View File

@ -0,0 +1,23 @@
\relax
\providecommand\hyper@newdestlabel[2]{}
\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument}
\HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined
\global\let\oldcontentsline\contentsline
\gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
\global\let\oldnewlabel\newlabel
\gdef\newlabel#1#2{\newlabelxx{#1}#2}
\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
\AtEndDocument{\ifx\hyper@anchor\@undefined
\let\contentsline\oldcontentsline
\let\newlabel\oldnewlabel
\fi}
\fi}
\global\let\hyper@last\relax
\gdef\HyperFirstAtBeginDocument#1{#1}
\providecommand\HyField@AuxAddToFields[1]{}
\providecommand\HyField@AuxAddToCoFields[2]{}
\@writefile{toc}{\contentsline {section}{\numberline {1}Brief Description}{1}{section.1}}
\@writefile{toc}{\contentsline {section}{\numberline {2}Target Specifications}{1}{section.2}}
\@writefile{toc}{\contentsline {section}{\numberline {3}Schematic}{1}{section.3}}
\@writefile{toc}{\contentsline {section}{\numberline {4}Firmware Plan}{1}{section.4}}
\@writefile{toc}{\contentsline {section}{\numberline {5}Parts Required}{1}{section.5}}

View File

@ -0,0 +1,95 @@
# Fdb version 3
["pdflatex"] 1570724546 "/home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.tex" "/home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.pdf" "Empty LaTex ReportV1" 1570724546
"/etc/texmf/web2c/texmf.cnf" 1567530603 475 c0e671620eb5563b2130f56340a5fde8 ""
"/home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.aux" 1570724546 1101 c03febe99fcc7c400611da31896ca24d ""
"/home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.tex" 1570724546 1526 31ebeef1956784c2ac73d49c98b9df7a ""
"/usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map" 1511824771 3332 103109f5612ad95229751940c61aada0 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex7.tfm" 1480098698 1004 54797486969f23fa377b128694d548df ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex8.tfm" 1480098698 988 bdf658c3bfc2d96d3c8b02cfc1c94c20 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam10.tfm" 1480098698 916 f87d7c45f9c908e672703b83b72241a3 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam7.tfm" 1480098698 928 2dc8d444221b7a635bb58038579b861a ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm" 1480098698 908 2921f8a10601f252058503cc6570e581 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm7.tfm" 1480098698 940 228d6584342e91276bf566bcf9716b83 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm" 1480098701 1324 c910af8c371558dc20f2d7822f66fe64 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmex10.tfm" 1480098701 992 662f679a0b3d2d53c1b94050fdaa3f50 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm" 1480098701 1524 4414a8315f39513458b80dfc63bff03a ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi6.tfm" 1480098701 1512 f21f83efb36853c0b70002322c1ab3ad ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi8.tfm" 1480098701 1520 eccf95517727cb11801f4f1aee3a21b4 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr12.tfm" 1480098701 1288 655e228510b4c2a1abe905c368440826 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr17.tfm" 1480098701 1292 296a67155bdbfc32aa9c636f21e91433 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr6.tfm" 1480098701 1300 b62933e007d01cfd073f79b963c01526 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr8.tfm" 1480098701 1292 21c1c5bfeaebccffdb478fd231a0997d ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm" 1480098701 1124 6c73e740cf17375f03eec0ee63599741 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy6.tfm" 1480098701 1116 933a60c408fc0a863a92debe84b2d294 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy8.tfm" 1480098701 1120 8b7d695260f3cff42e636090a8002094 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmtt12.tfm" 1480098701 772 9a936b7f5e2ff0557fce0f62822f0bbf ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb" 1480098733 32080 340ef9bf63678554ee606688e7b5339d ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb" 1480098733 32722 d7379af29a190c3f453aba36302ff5a9 ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb" 1480098733 32362 179c33bbf43f19adbb3825bb4e36e57a ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt12.pfb" 1480098733 24252 1e4e051947e12dfb50fee0b7f4e26e3a ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/symbols/msam10.pfb" 1480098733 31764 459c573c03a4949a528c2cc7f557e217 ""
"/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii" 1480098806 71627 94eb9990bed73c364d7f53f960cc8c5b ""
"/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty" 1480098815 1458 43ab4710dc82f3edeabecd0d099626b2 ""
"/usr/share/texlive/texmf-dist/tex/generic/oberdiek/atbegshi.sty" 1480098815 24580 144573175d90c8e36676f97ae1d11ec2 ""
"/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty" 1480098815 8237 3b62ef1f7e2c23a328c814b3893bc11f ""
"/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty" 1517006633 185082 6c11d4e30ed78e2a12957b7e77030856 ""
"/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty" 1480098815 70864 bcd5b216757bd619ae692a151d90085d ""
"/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty" 1490564930 1251 d170e11a3246c3392bc7f59595af42cb ""
"/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty" 1480098815 8253 473e0e41f9adadb1977e8631b8f72ea6 ""
"/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty" 1480098815 18425 5b3c0c59d76fac78978b5558e83c1f36 ""
"/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty" 1480098820 5949 3f3fd50a8cc94c3d4cbf4fc66cd3df1c ""
"/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty" 1480098820 13829 94730e64147574077f8ecfea9bb69af4 ""
"/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd" 1480098820 961 6518c6525a34feb5e8250ffa91731cff ""
"/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd" 1480098820 961 d02606146ba5601b5645f987c92e6193 ""
"/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty" 1480098820 2210 5c54ab129b848a5071554186d0168766 ""
"/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty" 1480098820 4160 c115536cf8d4ff25aa8c1c9bc4ecb79a ""
"/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty" 1504905757 84352 897a476d96a0681047a5b0f91178a3d2 ""
"/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty" 1480098820 4115 318a66090112f3aa3f415aeb6fe8540f ""
"/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty" 1480098820 2431 fe3078ec12fc30287f568596f8e0b948 ""
"/usr/share/texlive/texmf-dist/tex/latex/base/article.cls" 1480098821 19821 310da678527a7dfe2a02c88af38079b7 ""
"/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty" 1480098821 5159 a08c9bbd48fc492f15b22e458bef961f ""
"/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo" 1480098821 8303 1d67e16498f00f63da792fab169302fc ""
"/usr/share/texlive/texmf-dist/tex/latex/comment/comment.sty" 1480098825 10197 204f75d5d8d88aa345a8c402e879e63b ""
"/usr/share/texlive/texmf-dist/tex/latex/eso-pic/eso-pic.sty" 1480098827 11954 3abdeb9fbc956bcd048295dd83dd5e7c ""
"/usr/share/texlive/texmf-dist/tex/latex/float/float.sty" 1480098828 6749 16d2656a1984957e674b149555f1ea1d ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg" 1480098830 1213 620bba36b25224fa9b7e1ccb4ecb76fd ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg" 1480098830 1224 978390e9c2234eab29404bc21b268d1e ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def" 1515537368 17334 520b9b85ad8a2a48eda3f643e27a5179 ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty" 1498427532 15275 7d676729b1bedd3e7f3c6717affb366c ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty" 1498427532 9066 649f2ccf62888e3d8c3e57256b70b8e1 ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty" 1480098830 2594 d18d5e19aa8239cf867fa670c556d2e9 ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics/lscape.sty" 1480098830 1757 94e21888eaf2391b7bbc441045c70c12 ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty" 1480098830 3980 0a268fbfda01e381fa95821ab13b6aee ""
"/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def" 1518041854 51699 9069fc983fff0db91d59a15af144ad62 ""
"/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty" 1518041854 234088 2c849389d62d41c593d9f5176c4116ab ""
"/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty" 1480098831 12949 81e4e808884a8f0e276b69410e234656 ""
"/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def" 1518041854 14098 4e70bf396c7c265bd8b0e5cab3fd3d4d ""
"/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg" 1480098833 678 4792914a8f45be57bb98413425e4c7af ""
"/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg" 1480098833 235 6031e5765137be07eed51a510b2b8fb7 ""
"/usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty" 1480098836 3834 4363110eb0ef1eb2b71c8fcbcdb6c357 ""
"/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty" 1480098836 12095 5337833c991d80788a43d3ce26bd1c46 ""
"/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty" 1480098836 7075 2fe3d848bba95f139de11ded085e74aa ""
"/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty" 1480098836 22417 1d9df1eb66848aa31b18a593099cf45c ""
"/usr/share/texlive/texmf-dist/tex/latex/oberdiek/pdflscape.sty" 1480098836 6688 c84de1eae6cda82865a6d3d09e339ec9 ""
"/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty" 1480098836 9581 023642318cef9f4677efe364de1e2a27 ""
"/usr/share/texlive/texmf-dist/tex/latex/pdfpages/pdfpages.sty" 1509485055 52989 80e784f009ef46fd8220535bd14a7d82 ""
"/usr/share/texlive/texmf-dist/tex/latex/pdfpages/pppdftex.def" 1509485055 6364 ca3f15bd79c5439d528d1a286b3405c1 ""
"/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty" 1480098841 10214 d03d065f799d54f6b7e9b175f8d84279 ""
"/usr/share/texlive/texmf-dist/tex/latex/url/url.sty" 1480098842 12796 8edb7d69a20b857904dd0ea757c14ec9 ""
"/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty" 1480098843 55589 34128738f682d033422ca125f82e5d62 ""
"/usr/share/texlive/texmf-dist/web2c/texmf.cnf" 1520210507 32485 c64754543d8ac501bea6e75e209ea521 ""
"/usr/share/texmf/web2c/texmf.cnf" 1520210507 32485 c64754543d8ac501bea6e75e209ea521 ""
"/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1568140038 2361257 726fe6b8da9ff7c93aa3fe9e1a980b90 ""
"/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1567717912 724917 8f47dfd9e170416fd47eaec382daba57 ""
"Empty LaTex ReportV1.aux" 1570724546 1101 c03febe99fcc7c400611da31896ca24d ""
"Empty LaTex ReportV1.out" 1570724546 259 c3c35b14c3a91f538e188aae8cf11d7b ""
"Empty LaTex ReportV1.tex" 1570724546 1526 31ebeef1956784c2ac73d49c98b9df7a ""
"Empty LaTex ReportV1.toc" 1570724546 349 91412fdd71c097b903e27d5f22f77325 ""
(generated)
"Empty LaTex ReportV1.aux"
"/home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.pdf"
"Empty LaTex ReportV1.pdf"
"Empty LaTex ReportV1.toc"
"/home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.log"
"Empty LaTex ReportV1.out"
"Empty LaTex ReportV1.log"

View File

@ -0,0 +1,166 @@
PWD /home/david/Documents/homework/ECE_312/lab/lab_2
INPUT /etc/texmf/web2c/texmf.cnf
INPUT /usr/share/texmf/web2c/texmf.cnf
INPUT /usr/share/texlive/texmf-dist/web2c/texmf.cnf
INPUT /var/lib/texmf/web2c/pdftex/pdflatex.fmt
INPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.tex
OUTPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.log
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size12.clo
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size12.clo
INPUT /usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr12.tfm
INPUT /usr/share/texlive/texmf-dist/tex/latex/comment/comment.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/comment/comment.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/float/float.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/float/float.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/pdfpages/pdfpages.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/pdfpages/pdfpages.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/eso-pic/eso-pic.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/eso-pic/eso-pic.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/atbegshi.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/atbegshi.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
INPUT /usr/share/texlive/texmf-dist/tex/latex/pdfpages/pppdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/pdfpages/pppdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg
INPUT /usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg
INPUT /usr/share/texlive/texmf-dist/tex/latex/url/url.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/url/url.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
INPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.aux
INPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.aux
OUTPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.aux
INPUT /usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
INPUT /usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
INPUT /usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/pdflscape.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/oberdiek/pdflscape.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/lscape.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/lscape.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
INPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.out
INPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.out
INPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.out
INPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.out
OUTPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.pdf
INPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.out
INPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.out
OUTPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.out
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr17.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr17.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr12.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmex10.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex7.tfm
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam10.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam10.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam7.tfm
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd
INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm7.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmtt12.tfm
INPUT /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr17.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm
INPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.toc
INPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.toc
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm
OUTPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.toc
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr8.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr6.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi8.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi6.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy8.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy6.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmex10.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex8.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex7.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam10.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam10.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam7.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm7.tfm
INPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.aux
INPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.out
INPUT /home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.out
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt12.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/symbols/msam10.pfb

View File

@ -0,0 +1,373 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex 2019.9.5) 10 OCT 2019 10:22
entering extended mode
restricted \write18 enabled.
file:line:error style messages enabled.
%&-line parsing enabled.
**"/home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.tex"
(/home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.tex
LaTeX2e <2017-04-15>
Babel <3.18> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo
File: size12.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (/usr/share/texlive/texmf-dist/tex/latex/comment/comment.sty
\CommentStream=\write3
Excluding comment 'comment') (/usr/share/texlive/texmf-dist/tex/latex/float/float.sty
Package: float 2001/11/08 v1.3d Float enhancements (AL)
\c@float@type=\count87
\float@exts=\toks14
\float@box=\box26
\@float@everytoks=\toks15
\@floatcapt=\box27
) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2017/09/02 v2.17a AMS math features
\@mathmargin=\skip43
For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01 AMS text
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0 generic functions
\@emptytoks=\toks16
\ex@=\dimen103
)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d Bold Symbols
\pmbraise@=\dimen104
) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 2016/03/08 v2.02 operator names
)
\inf@bad=\count88
LaTeX Info: Redefining \frac on input line 213.
\uproot@=\count89
\leftroot@=\count90
LaTeX Info: Redefining \overline on input line 375.
\classnum@=\count91
\DOTSCASE@=\count92
LaTeX Info: Redefining \ldots on input line 472.
LaTeX Info: Redefining \dots on input line 475.
LaTeX Info: Redefining \cdots on input line 596.
\Mathstrutbox@=\box28
\strutbox@=\box29
\big@size=\dimen105
LaTeX Font Info: Redeclaring font encoding OML on input line 712.
LaTeX Font Info: Redeclaring font encoding OMS on input line 713.
\macc@depth=\count93
\c@MaxMatrixCols=\count94
\dotsspace@=\muskip10
\c@parentequation=\count95
\dspbrk@lvl=\count96
\tag@help=\toks17
\row@=\count97
\column@=\count98
\maxfields@=\count99
\andhelp@=\toks18
\eqnshift@=\dimen106
\alignsep@=\dimen107
\tagshift@=\dimen108
\tagwidth@=\dimen109
\totwidth@=\dimen110
\lineht@=\dimen111
\@envbody=\toks19
\multlinegap=\skip44
\multlinetaggap=\skip45
\mathdisplay@stack=\toks20
LaTeX Info: Redefining \[ on input line 2817.
LaTeX Info: Redefining \] on input line 2818.
) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2013/01/14 v3.01 AMS font symbols
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 106.
)) (/usr/share/texlive/texmf-dist/tex/latex/pdfpages/pdfpages.sty
Package: pdfpages 2017/10/31 v0.5l Insert pages of external PDF documents (AM)
(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty
Package: ifthen 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
) (/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty
Package: calc 2014/10/28 v4.3 Infix arithmetic (KKT,FJ)
\calc@Acount=\count100
\calc@Bcount=\count101
\calc@Adimen=\dimen112
\calc@Bdimen=\dimen113
\calc@Askip=\skip46
\calc@Bskip=\skip47
LaTeX Info: Redefining \setlength on input line 80.
LaTeX Info: Redefining \addtolength on input line 81.
\calc@Ccount=\count102
\calc@Cskip=\skip48
) (/usr/share/texlive/texmf-dist/tex/latex/eso-pic/eso-pic.sty
Package: eso-pic 2015/07/21 v2.0g eso-pic (RN)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/atbegshi.sty
Package: atbegshi 2016/06/09 v1.18 At begin shipout hook (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO)
) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2017/03/15 v3.2 Provides the ifpdf switch
)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks21
) (/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg
File: color.cfg 2016/01/02 v1.6 sample color configuration
)
Package xcolor Info: Driver file: pdftex.def on input line 225.
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def
File: pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex
)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348.
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1352.
Package xcolor Info: Model `RGB' extended on input line 1364.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371.
)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2017/06/01 v1.1a Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2017/06/25 v1.2c Standard LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
) (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: pdftex.def on input line 99.
)
\Gin@req@height=\dimen114
\Gin@req@width=\dimen115
)
\AM@pagewidth=\dimen116
\AM@pageheight=\dimen117
(/usr/share/texlive/texmf-dist/tex/latex/pdfpages/pppdftex.def
File: pppdftex.def 2017/10/31 v0.5l Pdfpages driver for pdfTeX (AM)
)
\AM@pagebox=\box30
\AM@global@opts=\toks22
\AM@toc@title=\toks23
\c@AM@survey=\count103
\AM@templatesizebox=\box31
) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
Package: hyperref 2018/02/06 v6.86b Hypertext links for LaTeX
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
Package: hobsub-hyperref 2016/05/16 v1.14 Bundle oberdiek, subset hyperref (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty
Package: hobsub-generic 2016/05/16 v1.14 Bundle oberdiek, subset generic (HO)
Package: hobsub 2016/05/16 v1.14 Construct package bundles (HO)
Package hobsub Info: Skipping package `infwarerr' (already loaded).
Package hobsub Info: Skipping package `ltxcmds' (already loaded).
Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
Package: ifvtex 2016/05/16 v1.6 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
Package: intcalc 2016/05/16 v1.2 Expandable calculations with integers (HO)
Package hobsub Info: Skipping package `ifpdf' (already loaded).
Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
Package: kvsetkeys 2016/05/16 v1.17 Key value parser (HO)
Package: kvdefinekeys 2016/05/16 v1.4 Define keys (HO)
Package: pdftexcmds 2018/01/21 v0.26 Utility functions of pdfTeX for LuaTeX (HO)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
Package: pdfescape 2016/05/16 v1.14 Implements pdfTeX's escape features (HO)
Package: bigintcalc 2016/05/16 v1.4 Expandable calculations on big integers (HO)
Package: bitset 2016/05/16 v1.2 Handle bit-vector datatype (HO)
Package: uniquecounter 2016/05/16 v1.3 Provide unlimited unique counter (HO)
)
Package hobsub Info: Skipping package `hobsub' (already loaded).
Package: letltxmacro 2016/05/16 v1.5 Let assignment for LaTeX macros (HO)
Package: hopatch 2016/05/16 v1.3 Wrapper for package hooks (HO)
Package: xcolor-patch 2016/05/16 xcolor patch
Package: atveryend 2016/05/16 v1.9 Hooks at the very end of document (HO)
Package atveryend Info: \enddocument detected (standard20110627).
Package hobsub Info: Skipping package `atbegshi' (already loaded).
Package: refcount 2016/05/16 v3.5 Data extraction from label references (HO)
Package: hycolor 2016/05/16 v1.8 Color options for hyperref/bookmark (HO)
) (/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty
Package: auxhook 2016/05/16 v1.4 Hooks for auxiliary files (HO)
) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2016/05/16 v3.12 Key value format for package options (HO)
)
\@linkdim=\dimen118
\Hy@linkcounter=\count104
\Hy@pagecounter=\count105
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2018/02/06 v6.86b Hyperref: PDFDocEncoding definition (HO)
)
\Hy@SavedSpaceFactor=\count106
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
)
Package hyperref Info: Hyper figures OFF on input line 4509.
Package hyperref Info: Link nesting OFF on input line 4514.
Package hyperref Info: Hyper index ON on input line 4517.
Package hyperref Info: Plain pages OFF on input line 4524.
Package hyperref Info: Backreferencing OFF on input line 4529.
Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
Package hyperref Info: Bookmarks ON on input line 4762.
\c@Hy@tempcnt=\count107
(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty
\Urlmuskip=\muskip11
Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 5115.
\XeTeXLinkMargin=\dimen119
\Fld@menulength=\count108
\Field@Width=\dimen120
\Fld@charsize=\dimen121
Package hyperref Info: Hyper figures OFF on input line 6369.
Package hyperref Info: Link nesting OFF on input line 6374.
Package hyperref Info: Hyper index ON on input line 6377.
Package hyperref Info: backreferencing OFF on input line 6384.
Package hyperref Info: Link coloring OFF on input line 6389.
Package hyperref Info: Link coloring with OCG OFF on input line 6394.
Package hyperref Info: PDF/A mode OFF on input line 6399.
LaTeX Info: Redefining \ref on input line 6439.
LaTeX Info: Redefining \pageref on input line 6443.
\Hy@abspage=\count109
\c@Item=\count110
\c@Hfootnote=\count111
)
Package hyperref Info: Driver (autodetected): hpdftex.
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def
File: hpdftex.def 2018/02/06 v6.86b Hyperref driver for pdfTeX
\Fld@listcount=\count112
\c@bookmark@seq@number=\count113
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
Package: rerunfilecheck 2016/05/16 v1.8 Rerun checks for auxiliary files (HO)
Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 282.
)
\Hy@SectionHShift=\skip49
)
Package hyperref Info: Option `bookmarksnumbered' set `true' on input line 27.
Package hyperref Info: Option `bookmarksopen' set `true' on input line 27.
Package hyperref Info: Option `colorlinks' set `false' on input line 27.
(/home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.aux)
\openout1 = `"Empty LaTex ReportV1.aux"'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 41.
LaTeX Font Info: ... okay on input line 41.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 41.
LaTeX Font Info: ... okay on input line 41.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 41.
LaTeX Font Info: ... okay on input line 41.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 41.
LaTeX Font Info: ... okay on input line 41.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 41.
LaTeX Font Info: ... okay on input line 41.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 41.
LaTeX Font Info: ... okay on input line 41.
LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 41.
LaTeX Font Info: ... okay on input line 41.
\AtBeginShipoutBox=\box32
(/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count114
\scratchdimen=\dimen122
\scratchbox=\box33
\nofMPsegments=\count115
\nofMParguments=\count116
\everyMPshowfont=\toks24
\MPscratchCnt=\count117
\MPscratchDim=\dimen123
\MPnumerator=\count118
\makeMPintoPDFobject=\count119
\everyMPtoPDFconversion=\toks25
) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2016/05/15 v2.6 Base part for package epstopdf
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2016/05/16 v1.2 Manage graphics extensions (HO)
)
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 438.
Package grfext Info: Graphics extension search list:
(grfext) [.pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,.PDF,.PNG,.JPG,.JPEG,.JBIG2,.JB2,.eps]
(grfext) \AppendGraphicsExtensions on input line 456.
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
)) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/pdflscape.sty
Package: pdflscape 2016/05/14 v0.11 Display of landscape pages in PDF (HO)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/lscape.sty
Package: lscape 2000/10/22 v3.01 Landscape Pages (DPC)
)
Package pdflscape Info: Auto-detected driver: pdftex on input line 81.
)
Package hyperref Info: Link coloring OFF on input line 41.
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
Package: nameref 2016/05/21 v2.44 Cross-referencing by name of section
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
Package: gettitlestring 2016/05/16 v1.5 Cleanup title references (HO)
)
\c@section@level=\count120
)
LaTeX Info: Redefining \ref on input line 41.
LaTeX Info: Redefining \pageref on input line 41.
LaTeX Info: Redefining \nameref on input line 41.
(/home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.out) (/home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.out)
\@outlinefile=\write4
\openout4 = `"Empty LaTex ReportV1.out"'.
LaTeX Font Info: Try loading font information for U+msa on input line 44.
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2013/01/14 v3.01 AMS symbols A
)
LaTeX Font Info: Try loading font information for U+msb on input line 44.
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2013/01/14 v3.01 AMS symbols B
) [1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (/home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.toc)
\tf@toc=\write5
\openout5 = `"Empty LaTex ReportV1.toc"'.
[2]
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 72.
[1]
Package atveryend Info: Empty hook `AfterLastShipout' on input line 72.
(/home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.aux)
Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 72.
Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 72.
Package rerunfilecheck Info: File `"Empty LaTex ReportV1".out' has not changed.
(rerunfilecheck) Checksum: C3C35B14C3A91F538E188AAE8CF11D7B;259.
Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 72.
)
Here is how much of TeX's memory you used:
7196 strings out of 494923
104128 string characters out of 6180743
188096 words of memory out of 5000000
10403 multiletter control sequences out of 15000+600000
12564 words of font info for 49 fonts, out of 8000000 for 9000
14 hyphenation exceptions out of 8191
37i,9n,39p,334b,331s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/symbols/msam10.pfb>
Output written on "/home/david/Documents/homework/ECE_312/lab/lab_2/Empty LaTex ReportV1.pdf" (3 pages, 55221 bytes).
PDF statistics:
70 PDF objects out of 1000 (max. 8388607)
59 compressed objects within 1 object stream
10 named destinations out of 1000 (max. 500000)
41 words of extra memory for PDF output out of 10000 (max. 10000000)

View File

@ -0,0 +1,5 @@
\BOOKMARK [1][-]{section.1}{1 Brief Description}{}% 1
\BOOKMARK [1][-]{section.2}{2 Target Specifications}{}% 2
\BOOKMARK [1][-]{section.3}{3 Schematic}{}% 3
\BOOKMARK [1][-]{section.4}{4 Firmware Plan}{}% 4
\BOOKMARK [1][-]{section.5}{5 Parts Required}{}% 5

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,72 @@
\documentclass[12pt]{article}
\usepackage{comment}
\usepackage{float}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{pdfpages}
\usepackage[hidelinks]{hyperref}
\newcommand{\docTitle}{Musical Greeting Card}
\newcommand{\courseNum}{ECE 312}
\newcommand{\labName}{Lab 2}
\newcommand{\labSection}{D21}
\hypersetup{
pdftitle={\docTitle{}},
pdfauthor={David Lenfesty \& Willard Farmer},
bookmarksnumbered=true,
bookmarksopen=true,
bookmarksopenlevel=1,
colorlinks=false,
pdfstartview=Fit,
pdfpagemode=UseOutlines, % this is the option you were lookin for
pdfpagelayout=TwoPageRight
}
\title{ {\Huge \docTitle{}} \\
\courseNum{} - \labName{} - \labSection{} - Tuesday}
\author{
David Lenfesty\\
\texttt{lenfesty@ualberta.ca}\\
\texttt{ID: 1531446}
\and
Willard Farmer\\
\texttt{wfarmer@ualberta.ca}\\
\texttt{ID: XXXXXXX}
}
\begin{document}
\pagenumbering{roman}
\maketitle
\newpage
\tableofcontents
\newpage
\pagenumbering{arabic}
\section{Brief Description}
\section{Target Specifications}
\section{Schematic}
\section{Firmware Plan}
\section{Parts Required}
\begin{table}[H]
\centering
\begin{tabular}{c | c | c}
\textbf{Partno. / Description} & \textbf{Number Required} & \textbf{Return} \\
Attiny2313A & 1 & $\square$ \\
Piezoelectric Buzzer & 2 & $\square$ \\
Momentary Pushbutton & 1 & $\square$ \\
\end{tabular}
\end{table}
\end{document}

View File

@ -0,0 +1,5 @@
\contentsline {section}{\numberline {1}Brief Description}{1}{section.1}
\contentsline {section}{\numberline {2}Target Specifications}{1}{section.2}
\contentsline {section}{\numberline {3}Schematic}{1}{section.3}
\contentsline {section}{\numberline {4}Firmware Plan}{1}{section.4}
\contentsline {section}{\numberline {5}Parts Required}{1}{section.5}

View File

@ -1,16 +0,0 @@
#include <avr/io.h>
// Set up GPIO here
void pin_setup() {
}
int main() {
pin_setup()
while (1) {
}
}

0
lab_3/main.c Normal file → Executable file
View File

0
lab_4/main.c Normal file → Executable file
View File