diff --git a/HW/mouse/mouse.net b/HW/mouse/mouse.net
deleted file mode 100644
index 38f5eb3fcfcefc18e65acdd5c89b8d9f84d6e344..0000000000000000000000000000000000000000
--- a/HW/mouse/mouse.net
+++ /dev/null
@@ -1,905 +0,0 @@
-(export (version D)
-  (design
-    (source C:\Users\Alexander\Documents\School\E7020E\e7020e_2021_hw\Lab2\Lab2.sch)
-    (date "2021-01-29 15:55:58")
-    (tool "Eeschema (5.1.8)-1")
-    (sheet (number 1) (name /) (tstamps /)
-      (title_block
-        (title)
-        (company)
-        (rev)
-        (date)
-        (source Lab2.sch)
-        (comment (number 1) (value ""))
-        (comment (number 2) (value ""))
-        (comment (number 3) (value ""))
-        (comment (number 4) (value "")))))
-  (components
-    (comp (ref C4)
-      (value 100n)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 600878EC))
-    (comp (ref C5)
-      (value 100n)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6008860D))
-    (comp (ref C6)
-      (value 100n)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6008ACD5))
-    (comp (ref C7)
-      (value 100n)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6008ACDB))
-    (comp (ref C8)
-      (value 100n)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6008BB07))
-    (comp (ref C1)
-      (value 22p)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 600C9F4E))
-    (comp (ref C2)
-      (value 22p)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 600CB6FB))
-    (comp (ref Y1)
-      (value 16MHz)
-      (footprint Crystal:Crystal_HC49-U_Vertical)
-      (datasheet ~)
-      (libsource (lib Device) (part Crystal) (description "Two pin crystal"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 600C3655))
-    (comp (ref J1)
-      (value Conn_01x06_Male)
-      (footprint Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical)
-      (datasheet ~)
-      (libsource (lib Connector) (part Conn_01x06_Male) (description "Generic connector, single row, 01x06, script generated (kicad-library-utils/schlib/autogen/connector/)"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 600D4602))
-    (comp (ref C9)
-      (value 100n)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 600F395C))
-    (comp (ref SW1)
-      (value SW_Push)
-      (footprint Button_Switch_SMD:SW_Push_SPST_NO_Alps_SKRK)
-      (datasheet ~)
-      (libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 600F67B3))
-    (comp (ref U5)
-      (value AP2125N-3.3TRG1)
-      (footprint Package_TO_SOT_SMD:SOT-23)
-      (datasheet https://www.diodes.com/assets/Datasheets/AP2127.pdf)
-      (libsource (lib Lab1-rescue) (part AP2127R-3.3-Regulator_Linear) (description ""))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 60131C71))
-    (comp (ref C10)
-      (value 100n)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6008BB0D))
-    (comp (ref C20)
-      (value 1u)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 601412DD))
-    (comp (ref U4)
-      (value MIC5235YM5-TR)
-      (footprint Package_TO_SOT_SMD:SOT-23-5_HandSoldering)
-      (datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/20005785A.pdf)
-      (libsource (lib Regulator_Linear) (part MIC5205-3.0YM5) (description "150mA low dropout linear regulator, fixed 3.0V output, SOT-23-5"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 600AF3EA))
-    (comp (ref C17)
-      (value 1u)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 600B53C5))
-    (comp (ref C19)
-      (value 2.2u)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 600BB9F4))
-    (comp (ref R2)
-      (value 5.6K)
-      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part R) (description Resistor))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 600C4CBF))
-    (comp (ref R3)
-      (value 10K)
-      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part R) (description Resistor))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 600C5BBB))
-    (comp (ref J3)
-      (value TestPointGND)
-      (footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
-      (datasheet ~)
-      (libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6012EC00))
-    (comp (ref D1)
-      (value LED)
-      (footprint LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part LED) (description "Light emitting diode"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 601355C7))
-    (comp (ref R4)
-      (value 47)
-      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part R) (description Resistor))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6013719E))
-    (comp (ref D2)
-      (value LED)
-      (footprint LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part LED) (description "Light emitting diode"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6014C1EC))
-    (comp (ref R5)
-      (value 680)
-      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part R) (description Resistor))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6014C1F4))
-    (comp (ref C12)
-      (value 10u)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 601DA26F))
-    (comp (ref C15)
-      (value 100n)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 601DA275))
-    (comp (ref C11)
-      (value 4.7u)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 601F005F))
-    (comp (ref C14)
-      (value 100n)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 601F0065))
-    (comp (ref C13)
-      (value 10u)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6021D9D7))
-    (comp (ref C16)
-      (value 100n)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6021D9DD))
-    (comp (ref C3)
-      (value 4.7u)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6024447F))
-    (comp (ref J6)
-      (value TestPoint)
-      (footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
-      (datasheet ~)
-      (libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6027468B))
-    (comp (ref J5)
-      (value TestPoint)
-      (footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
-      (datasheet ~)
-      (libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6027F21E))
-    (comp (ref C21)
-      (value 100n)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 603D5C8D))
-    (comp (ref U3)
-      (value USBLC6-2SC6)
-      (footprint Package_TO_SOT_SMD:SOT-23-6_Handsoldering)
-      (datasheet https://www.st.com/resource/en/datasheet/usblc6-2.pdf)
-      (libsource (lib Power_Protection) (part USBLC6-2SC6) (description "Very low capacitance ESD protection diode, 2 data-line, SOT-23-6"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 601BA7C5))
-    (comp (ref U2)
-      (value PMW3389)
-      (footprint MouseSensor:PMW3389)
-      (libsource (lib Lab1-rescue) (part PMW3389-MouseSensor) (description ""))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 60491166))
-    (comp (ref J2)
-      (value USB_OTG)
-      (footprint Connector_USB:USB_Mini-B_Lumberg_2486_01_Horizontal)
-      (datasheet " ~")
-      (libsource (lib Lab1-rescue) (part USB_OTG-Connector) (description ""))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 601259BC))
-    (comp (ref U1)
-      (value STM32F411RETx)
-      (footprint Package_QFP:LQFP-64_10x10mm_P0.5mm)
-      (datasheet http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00115249.pdf)
-      (libsource (lib MCU_ST_STM32F4) (part STM32F411RETx) (description "ARM Cortex-M4 MCU, 512KB flash, 128KB RAM, 100MHz, 1.7-3.6V, 50 GPIO, LQFP-64"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6008631E))
-    (comp (ref J4)
-      (value TestPointGND)
-      (footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
-      (datasheet ~)
-      (libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 601302EE))
-    (comp (ref C18)
-      (value 1u)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6013FC2B))
-    (comp (ref R1)
-      (value 10K)
-      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part R) (description Resistor))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 600C5A46))
-    (comp (ref JP1)
-      (value Jumper_3_Bridged12)
-      (footprint Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm)
-      (datasheet ~)
-      (libsource (lib Jumper) (part Jumper_3_Bridged12) (description "Jumper, 3-pole, pins 1+2 closed/bridged"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 600C938F))
-    (comp (ref D3)
-      (value LED)
-      (footprint LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part LED) (description "Light emitting diode"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 60107AD8))
-    (comp (ref R7)
-      (value 1.5K)
-      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part R) (description Resistor))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 60107ADE))
-    (comp (ref C22)
-      (value 100n)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6012A712))
-    (comp (ref C23)
-      (value 10u)
-      (footprint Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 6012A70C))
-    (comp (ref R6)
-      (value 10K)
-      (footprint Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder)
-      (datasheet ~)
-      (libsource (lib Device) (part R) (description Resistor))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 60166BF7)))
-  (libparts
-    (libpart (lib Connector) (part Conn_01x01_Male)
-      (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")
-      (docs ~)
-      (footprints
-        (fp Connector*:*))
-      (fields
-        (field (name Reference) J)
-        (field (name Value) Conn_01x01_Male))
-      (pins
-        (pin (num 1) (name Pin_1) (type passive))))
-    (libpart (lib Connector) (part Conn_01x06_Male)
-      (description "Generic connector, single row, 01x06, script generated (kicad-library-utils/schlib/autogen/connector/)")
-      (docs ~)
-      (footprints
-        (fp Connector*:*_1x??_*))
-      (fields
-        (field (name Reference) J)
-        (field (name Value) Conn_01x06_Male))
-      (pins
-        (pin (num 1) (name Pin_1) (type passive))
-        (pin (num 2) (name Pin_2) (type passive))
-        (pin (num 3) (name Pin_3) (type passive))
-        (pin (num 4) (name Pin_4) (type passive))
-        (pin (num 5) (name Pin_5) (type passive))
-        (pin (num 6) (name Pin_6) (type passive))))
-    (libpart (lib Device) (part C)
-      (description "Unpolarized capacitor")
-      (docs ~)
-      (footprints
-        (fp C_*))
-      (fields
-        (field (name Reference) C)
-        (field (name Value) C))
-      (pins
-        (pin (num 1) (name ~) (type passive))
-        (pin (num 2) (name ~) (type passive))))
-    (libpart (lib Device) (part Crystal)
-      (description "Two pin crystal")
-      (docs ~)
-      (footprints
-        (fp Crystal*))
-      (fields
-        (field (name Reference) Y)
-        (field (name Value) Crystal))
-      (pins
-        (pin (num 1) (name 1) (type passive))
-        (pin (num 2) (name 2) (type passive))))
-    (libpart (lib Device) (part LED)
-      (description "Light emitting diode")
-      (docs ~)
-      (footprints
-        (fp LED*)
-        (fp LED_SMD:*)
-        (fp LED_THT:*))
-      (fields
-        (field (name Reference) D)
-        (field (name Value) LED))
-      (pins
-        (pin (num 1) (name K) (type passive))
-        (pin (num 2) (name A) (type passive))))
-    (libpart (lib Device) (part R)
-      (description Resistor)
-      (docs ~)
-      (footprints
-        (fp R_*))
-      (fields
-        (field (name Reference) R)
-        (field (name Value) R))
-      (pins
-        (pin (num 1) (name ~) (type passive))
-        (pin (num 2) (name ~) (type passive))))
-    (libpart (lib Jumper) (part Jumper_3_Bridged12)
-      (description "Jumper, 3-pole, pins 1+2 closed/bridged")
-      (docs ~)
-      (footprints
-        (fp Jumper*)
-        (fp TestPoint*3Pads*)
-        (fp TestPoint*Bridge*))
-      (fields
-        (field (name Reference) JP)
-        (field (name Value) Jumper_3_Bridged12))
-      (pins
-        (pin (num 1) (name A) (type passive))
-        (pin (num 2) (name C) (type input))
-        (pin (num 3) (name B) (type passive))))
-    (libpart (lib Lab1-rescue) (part AP2127R-3.3-Regulator_Linear)
-      (footprints
-        (fp SOT?89*))
-      (fields
-        (field (name Reference) U)
-        (field (name Value) AP2127R-3.3-Regulator_Linear)
-        (field (name Footprint) Package_TO_SOT_SMD:SOT-89-3))
-      (pins
-        (pin (num 1) (name GND) (type power_in))
-        (pin (num 2) (name O) (type power_out))
-        (pin (num 3) (name I) (type power_in))))
-    (libpart (lib Lab1-rescue) (part PMW3389-MouseSensor)
-      (fields
-        (field (name Reference) U)
-        (field (name Value) PMW3389-MouseSensor))
-      (pins
-        (pin (num 1) (name NC_0) (type NotConnected))
-        (pin (num 2) (name NC_1) (type NotConnected))
-        (pin (num 3) (name VDDPIX) (type power_out))
-        (pin (num 4) (name VDD) (type power_in))
-        (pin (num 5) (name VDDIO) (type power_in))
-        (pin (num 6) (name GP0) (type NotConnected))
-        (pin (num 7) (name NRESET) (type input))
-        (pin (num 8) (name GND) (type power_in))
-        (pin (num 9) (name MOTION) (type output))
-        (pin (num 10) (name SCLK) (type input))
-        (pin (num 11) (name MOSI) (type input))
-        (pin (num 12) (name MISO) (type output))
-        (pin (num 13) (name NCS) (type input))
-        (pin (num 14) (name NC_3) (type NotConnected))
-        (pin (num 15) (name LED1_P~) (type input))
-        (pin (num 16) (name NC) (type NotConnected))))
-    (libpart (lib Lab1-rescue) (part USB_OTG-Connector)
-      (footprints
-        (fp USB*))
-      (fields
-        (field (name Reference) J)
-        (field (name Value) USB_OTG-Connector))
-      (pins
-        (pin (num 1) (name VBUS) (type passive))
-        (pin (num 2) (name D-) (type BiDi))
-        (pin (num 3) (name D+) (type BiDi))
-        (pin (num 4) (name ID) (type passive))
-        (pin (num 5) (name GND) (type passive))
-        (pin (num 6) (name Shield) (type passive))))
-    (libpart (lib MCU_ST_STM32F4) (part STM32F411RCTx)
-      (aliases
-        (alias STM32F411RETx))
-      (description "ARM Cortex-M4 MCU, 256KB flash, 128KB RAM, 100MHz, 1.7-3.6V, 50 GPIO, LQFP-64")
-      (docs http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00115249.pdf)
-      (footprints
-        (fp LQFP*10x10mm*P0.5mm*))
-      (fields
-        (field (name Reference) U)
-        (field (name Value) STM32F411RCTx)
-        (field (name Footprint) Package_QFP:LQFP-64_10x10mm_P0.5mm))
-      (pins
-        (pin (num 1) (name VBAT) (type power_in))
-        (pin (num 2) (name PC13) (type BiDi))
-        (pin (num 3) (name PC14) (type BiDi))
-        (pin (num 4) (name PC15) (type BiDi))
-        (pin (num 5) (name PH0) (type input))
-        (pin (num 6) (name PH1) (type input))
-        (pin (num 7) (name NRST) (type input))
-        (pin (num 8) (name PC0) (type BiDi))
-        (pin (num 9) (name PC1) (type BiDi))
-        (pin (num 10) (name PC2) (type BiDi))
-        (pin (num 11) (name PC3) (type BiDi))
-        (pin (num 12) (name VSSA) (type power_in))
-        (pin (num 13) (name VDDA) (type power_in))
-        (pin (num 14) (name PA0) (type BiDi))
-        (pin (num 15) (name PA1) (type BiDi))
-        (pin (num 16) (name PA2) (type BiDi))
-        (pin (num 17) (name PA3) (type BiDi))
-        (pin (num 18) (name VSS) (type power_in))
-        (pin (num 19) (name VDD) (type power_in))
-        (pin (num 20) (name PA4) (type BiDi))
-        (pin (num 21) (name PA5) (type BiDi))
-        (pin (num 22) (name PA6) (type BiDi))
-        (pin (num 23) (name PA7) (type BiDi))
-        (pin (num 24) (name PC4) (type BiDi))
-        (pin (num 25) (name PC5) (type BiDi))
-        (pin (num 26) (name PB0) (type BiDi))
-        (pin (num 27) (name PB1) (type BiDi))
-        (pin (num 28) (name PB2) (type BiDi))
-        (pin (num 29) (name PB10) (type BiDi))
-        (pin (num 30) (name VCAP1) (type power_in))
-        (pin (num 31) (name VSS) (type power_in))
-        (pin (num 32) (name VDD) (type power_in))
-        (pin (num 33) (name PB12) (type BiDi))
-        (pin (num 34) (name PB13) (type BiDi))
-        (pin (num 35) (name PB14) (type BiDi))
-        (pin (num 36) (name PB15) (type BiDi))
-        (pin (num 37) (name PC6) (type BiDi))
-        (pin (num 38) (name PC7) (type BiDi))
-        (pin (num 39) (name PC8) (type BiDi))
-        (pin (num 40) (name PC9) (type BiDi))
-        (pin (num 41) (name PA8) (type BiDi))
-        (pin (num 42) (name PA9) (type BiDi))
-        (pin (num 43) (name PA10) (type BiDi))
-        (pin (num 44) (name PA11) (type BiDi))
-        (pin (num 45) (name PA12) (type BiDi))
-        (pin (num 46) (name PA13) (type BiDi))
-        (pin (num 47) (name VSS) (type power_in))
-        (pin (num 48) (name VDD) (type power_in))
-        (pin (num 49) (name PA14) (type BiDi))
-        (pin (num 50) (name PA15) (type BiDi))
-        (pin (num 51) (name PC10) (type BiDi))
-        (pin (num 52) (name PC11) (type BiDi))
-        (pin (num 53) (name PC12) (type BiDi))
-        (pin (num 54) (name PD2) (type BiDi))
-        (pin (num 55) (name PB3) (type BiDi))
-        (pin (num 56) (name PB4) (type BiDi))
-        (pin (num 57) (name PB5) (type BiDi))
-        (pin (num 58) (name PB6) (type BiDi))
-        (pin (num 59) (name PB7) (type BiDi))
-        (pin (num 60) (name BOOT0) (type input))
-        (pin (num 61) (name PB8) (type BiDi))
-        (pin (num 62) (name PB9) (type BiDi))
-        (pin (num 63) (name VSS) (type power_in))
-        (pin (num 64) (name VDD) (type power_in))))
-    (libpart (lib Power_Protection) (part USBLC6-2SC6)
-      (description "Very low capacitance ESD protection diode, 2 data-line, SOT-23-6")
-      (docs https://www.st.com/resource/en/datasheet/usblc6-2.pdf)
-      (footprints
-        (fp SOT?23*))
-      (fields
-        (field (name Reference) U)
-        (field (name Value) USBLC6-2SC6)
-        (field (name Footprint) Package_TO_SOT_SMD:SOT-23-6))
-      (pins
-        (pin (num 1) (name I/O1) (type passive))
-        (pin (num 2) (name GND) (type passive))
-        (pin (num 3) (name I/O2) (type passive))
-        (pin (num 4) (name I/O2) (type passive))
-        (pin (num 5) (name VBUS) (type passive))
-        (pin (num 6) (name I/O1) (type passive))))
-    (libpart (lib Regulator_Linear) (part AP131-15)
-      (aliases
-        (alias AP131-18)
-        (alias AP131-20)
-        (alias AP131-25)
-        (alias AP131-28)
-        (alias AP131-29)
-        (alias AP131-30)
-        (alias AP131-33)
-        (alias AP131-35)
-        (alias MIC5205-2.5YM5)
-        (alias MIC5205-2.7YM5)
-        (alias MIC5205-2.8YM5)
-        (alias MIC5205-2.85YM5)
-        (alias MIC5205-2.9YM5)
-        (alias MIC5205-3.0YM5)
-        (alias MIC5205-3.1YM5)
-        (alias MIC5205-3.2YM5)
-        (alias MIC5205-3.3YM5)
-        (alias MIC5205-3.6YM5)
-        (alias MIC5205-3.8YM5)
-        (alias MIC5205-4.0YM5)
-        (alias MIC5205-5.0YM5)
-        (alias MIC5219-2.5YM5)
-        (alias MIC5219-2.6YM5)
-        (alias MIC5219-2.7YM5)
-        (alias MIC5219-2.8YM5)
-        (alias MIC5219-2.85YM5)
-        (alias MIC5219-2.9YM5)
-        (alias MIC5219-3.0YM5)
-        (alias MIC5219-3.1YM5)
-        (alias MIC5219-3.3YM5)
-        (alias MIC5219-3.6YM5)
-        (alias MIC5219-5.0YM5)
-        (alias SPX3819M5-L-1-2)
-        (alias SPX3819M5-L-1-5)
-        (alias SPX3819M5-L-1-8)
-        (alias SPX3819M5-L-2-5)
-        (alias SPX3819M5-L-3-0)
-        (alias SPX3819M5-L-3-3)
-        (alias SPX3819M5-L-5-0))
-      (description "300mA low dropout linear regulator, shutdown pin, 1.5V fixed positive output, SOT-23-5")
-      (docs http://www.diodes.com/_files/datasheets/AP131.pdf)
-      (footprints
-        (fp SOT?23*))
-      (fields
-        (field (name Reference) U)
-        (field (name Value) AP131-15)
-        (field (name Footprint) Package_TO_SOT_SMD:SOT-23-5))
-      (pins
-        (pin (num 1) (name IN) (type power_in))
-        (pin (num 2) (name GND) (type power_in))
-        (pin (num 3) (name EN) (type input))
-        (pin (num 4) (name BP) (type input))
-        (pin (num 5) (name OUT) (type power_out))))
-    (libpart (lib Switch) (part SW_Push)
-      (description "Push button switch, generic, two pins")
-      (docs ~)
-      (fields
-        (field (name Reference) SW)
-        (field (name Value) SW_Push))
-      (pins
-        (pin (num 1) (name 1) (type passive))
-        (pin (num 2) (name 2) (type passive)))))
-  (libraries
-    (library (logical Connector)
-      (uri E:\Program\KiCad\share\kicad\library/Connector.lib))
-    (library (logical Device)
-      (uri E:\Program\KiCad\share\kicad\library/Device.lib))
-    (library (logical Jumper)
-      (uri E:\Program\KiCad\share\kicad\library/Jumper.lib))
-    (library (logical Lab1-rescue)
-      (uri C:\Users\Alexander\Documents\School\E7020E\e7020e_2021_hw\Lab2/Lab1-rescue.lib))
-    (library (logical MCU_ST_STM32F4)
-      (uri E:\Program\KiCad\share\kicad\library/MCU_ST_STM32F4.lib))
-    (library (logical Power_Protection)
-      (uri E:\Program\KiCad\share\kicad\library/Power_Protection.lib))
-    (library (logical Regulator_Linear)
-      (uri E:\Program\KiCad\share\kicad\library/Regulator_Linear.lib))
-    (library (logical Switch)
-      (uri E:\Program\KiCad\share\kicad\library/Switch.lib)))
-  (nets
-    (net (code 1) (name "Net-(U1-Pad26)")
-      (node (ref U1) (pin 26)))
-    (net (code 2) (name "Net-(U2-Pad7)")
-      (node (ref U2) (pin 7)))
-    (net (code 3) (name "Net-(U1-Pad14)")
-      (node (ref U1) (pin 14)))
-    (net (code 4) (name "Net-(U1-Pad15)")
-      (node (ref U1) (pin 15)))
-    (net (code 5) (name "Net-(U1-Pad16)")
-      (node (ref U1) (pin 16)))
-    (net (code 6) (name "Net-(U1-Pad17)")
-      (node (ref U1) (pin 17)))
-    (net (code 7) (name "Net-(U1-Pad20)")
-      (node (ref U1) (pin 20)))
-    (net (code 8) (name "Net-(U1-Pad21)")
-      (node (ref U1) (pin 21)))
-    (net (code 9) (name "Net-(U1-Pad22)")
-      (node (ref U1) (pin 22)))
-    (net (code 10) (name "Net-(U1-Pad23)")
-      (node (ref U1) (pin 23)))
-    (net (code 11) (name "Net-(U1-Pad41)")
-      (node (ref U1) (pin 41)))
-    (net (code 12) (name "Net-(U1-Pad42)")
-      (node (ref U1) (pin 42)))
-    (net (code 13) (name "Net-(U1-Pad43)")
-      (node (ref U1) (pin 43)))
-    (net (code 14) (name "Net-(U1-Pad50)")
-      (node (ref U1) (pin 50)))
-    (net (code 15) (name "Net-(U1-Pad27)")
-      (node (ref U1) (pin 27)))
-    (net (code 16) (name "Net-(U1-Pad28)")
-      (node (ref U1) (pin 28)))
-    (net (code 17) (name "Net-(U1-Pad56)")
-      (node (ref U1) (pin 56)))
-    (net (code 18) (name "Net-(U1-Pad57)")
-      (node (ref U1) (pin 57)))
-    (net (code 19) (name "Net-(U1-Pad58)")
-      (node (ref U1) (pin 58)))
-    (net (code 20) (name "Net-(U1-Pad59)")
-      (node (ref U1) (pin 59)))
-    (net (code 21) (name "Net-(U1-Pad61)")
-      (node (ref U1) (pin 61)))
-    (net (code 22) (name "Net-(U1-Pad62)")
-      (node (ref U1) (pin 62)))
-    (net (code 23) (name "Net-(U1-Pad34)")
-      (node (ref U1) (pin 34)))
-    (net (code 24) (name "Net-(U1-Pad35)")
-      (node (ref U1) (pin 35)))
-    (net (code 25) (name "Net-(U1-Pad36)")
-      (node (ref U1) (pin 36)))
-    (net (code 26) (name "Net-(U1-Pad4)")
-      (node (ref U1) (pin 4)))
-    (net (code 27) (name "Net-(U1-Pad3)")
-      (node (ref U1) (pin 3)))
-    (net (code 28) (name "Net-(U1-Pad2)")
-      (node (ref U1) (pin 2)))
-    (net (code 29) (name "Net-(U1-Pad53)")
-      (node (ref U1) (pin 53)))
-    (net (code 30) (name NRST)
-      (node (ref J1) (pin 5))
-      (node (ref U1) (pin 7))
-      (node (ref C9) (pin 1))
-      (node (ref SW1) (pin 1)))
-    (net (code 31) (name "Net-(JP1-Pad2)")
-      (node (ref JP1) (pin 2))
-      (node (ref U1) (pin 60)))
-    (net (code 32) (name "Net-(U1-Pad52)")
-      (node (ref U1) (pin 52)))
-    (net (code 33) (name +5V)
-      (node (ref U3) (pin 5))
-      (node (ref R7) (pin 1))
-      (node (ref C18) (pin 1))
-      (node (ref C17) (pin 1))
-      (node (ref U4) (pin 3))
-      (node (ref U5) (pin 3))
-      (node (ref U4) (pin 1))
-      (node (ref C21) (pin 1))
-      (node (ref J2) (pin 1)))
-    (net (code 34) (name "Net-(J2-Pad4)")
-      (node (ref J2) (pin 4)))
-    (net (code 35) (name D+In)
-      (node (ref J2) (pin 3))
-      (node (ref U3) (pin 1)))
-    (net (code 36) (name D-In)
-      (node (ref J2) (pin 2))
-      (node (ref U3) (pin 3)))
-    (net (code 37) (name "Net-(U1-Pad51)")
-      (node (ref U1) (pin 51)))
-    (net (code 38) (name "Net-(U1-Pad40)")
-      (node (ref U1) (pin 40)))
-    (net (code 39) (name "Net-(U1-Pad39)")
-      (node (ref U1) (pin 39)))
-    (net (code 40) (name "Net-(U1-Pad38)")
-      (node (ref U1) (pin 38)))
-    (net (code 41) (name "Net-(U1-Pad37)")
-      (node (ref U1) (pin 37)))
-    (net (code 42) (name "Net-(U1-Pad25)")
-      (node (ref U1) (pin 25)))
-    (net (code 43) (name "Net-(U1-Pad9)")
-      (node (ref U1) (pin 9)))
-    (net (code 44) (name "Net-(U1-Pad8)")
-      (node (ref U1) (pin 8)))
-    (net (code 45) (name "Net-(U1-Pad54)")
-      (node (ref U1) (pin 54)))
-    (net (code 46) (name "Net-(U2-Pad6)")
-      (node (ref U2) (pin 6)))
-    (net (code 47) (name "Net-(C11-Pad1)")
-      (node (ref U2) (pin 3))
-      (node (ref C11) (pin 1))
-      (node (ref C14) (pin 1)))
-    (net (code 48) (name "Net-(U2-Pad2)")
-      (node (ref U2) (pin 2)))
-    (net (code 49) (name "Net-(U2-Pad16)")
-      (node (ref U2) (pin 16)))
-    (net (code 50) (name "Net-(U2-Pad14)")
-      (node (ref U2) (pin 14)))
-    (net (code 51) (name "Net-(U2-Pad1)")
-      (node (ref U2) (pin 1)))
-    (net (code 52) (name D+Out)
-      (node (ref U3) (pin 6))
-      (node (ref U1) (pin 45)))
-    (net (code 53) (name D-Out)
-      (node (ref U1) (pin 44))
-      (node (ref U3) (pin 4)))
-    (net (code 54) (name +3V3)
-      (node (ref U5) (pin 2))
-      (node (ref C8) (pin 1))
-      (node (ref C6) (pin 1))
-      (node (ref J1) (pin 1))
-      (node (ref C4) (pin 2))
-      (node (ref C5) (pin 1))
-      (node (ref U1) (pin 1))
-      (node (ref U1) (pin 32))
-      (node (ref U1) (pin 48))
-      (node (ref U1) (pin 64))
-      (node (ref U1) (pin 13))
-      (node (ref C7) (pin 1))
-      (node (ref C10) (pin 1))
-      (node (ref U1) (pin 19))
-      (node (ref C20) (pin 1))
-      (node (ref U2) (pin 5))
-      (node (ref C13) (pin 1))
-      (node (ref R5) (pin 1))
-      (node (ref J6) (pin 1))
-      (node (ref R6) (pin 1))
-      (node (ref C16) (pin 1))
-      (node (ref JP1) (pin 3)))
-    (net (code 55) (name "Net-(D3-Pad2)")
-      (node (ref D3) (pin 2))
-      (node (ref R7) (pin 2)))
-    (net (code 56) (name "Net-(JP1-Pad1)")
-      (node (ref JP1) (pin 1))
-      (node (ref R1) (pin 1)))
-    (net (code 57) (name GND)
-      (node (ref R3) (pin 2))
-      (node (ref C17) (pin 2))
-      (node (ref C7) (pin 2))
-      (node (ref C4) (pin 1))
-      (node (ref J3) (pin 1))
-      (node (ref D1) (pin 1))
-      (node (ref D2) (pin 1))
-      (node (ref U4) (pin 2))
-      (node (ref C19) (pin 2))
-      (node (ref C3) (pin 1))
-      (node (ref C11) (pin 2))
-      (node (ref C12) (pin 2))
-      (node (ref C15) (pin 2))
-      (node (ref C6) (pin 2))
-      (node (ref C5) (pin 2))
-      (node (ref C14) (pin 2))
-      (node (ref C13) (pin 2))
-      (node (ref C16) (pin 2))
-      (node (ref R1) (pin 2))
-      (node (ref C18) (pin 2))
-      (node (ref C23) (pin 2))
-      (node (ref C22) (pin 2))
-      (node (ref J4) (pin 1))
-      (node (ref U1) (pin 12))
-      (node (ref U1) (pin 63))
-      (node (ref U1) (pin 47))
-      (node (ref U1) (pin 31))
-      (node (ref J2) (pin 6))
-      (node (ref J2) (pin 5))
-      (node (ref U3) (pin 2))
-      (node (ref C21) (pin 2))
-      (node (ref U2) (pin 8))
-      (node (ref D3) (pin 1))
-      (node (ref C10) (pin 2))
-      (node (ref J1) (pin 3))
-      (node (ref C2) (pin 2))
-      (node (ref C1) (pin 2))
-      (node (ref C8) (pin 2))
-      (node (ref C20) (pin 2))
-      (node (ref U5) (pin 1))
-      (node (ref SW1) (pin 2))
-      (node (ref C9) (pin 2))
-      (node (ref U1) (pin 18)))
-    (net (code 58) (name VCC)
-      (node (ref C15) (pin 1))
-      (node (ref C12) (pin 1))
-      (node (ref U4) (pin 5))
-      (node (ref J5) (pin 1))
-      (node (ref C19) (pin 1))
-      (node (ref U2) (pin 4))
-      (node (ref U2) (pin 15))
-      (node (ref R2) (pin 1))
-      (node (ref C22) (pin 1))
-      (node (ref C23) (pin 1))
-      (node (ref R4) (pin 1)))
-    (net (code 59) (name NCS)
-      (node (ref U1) (pin 33))
-      (node (ref U2) (pin 13)))
-    (net (code 60) (name SCLK)
-      (node (ref U1) (pin 29))
-      (node (ref U2) (pin 10)))
-    (net (code 61) (name "Net-(C3-Pad2)")
-      (node (ref U1) (pin 30))
-      (node (ref C3) (pin 2)))
-    (net (code 62) (name MOTION)
-      (node (ref U1) (pin 24))
-      (node (ref U2) (pin 9)))
-    (net (code 63) (name MISO)
-      (node (ref U1) (pin 11))
-      (node (ref U2) (pin 12))
-      (node (ref R6) (pin 2)))
-    (net (code 64) (name MOSI)
-      (node (ref U2) (pin 11))
-      (node (ref U1) (pin 10)))
-    (net (code 65) (name SWO)
-      (node (ref U1) (pin 55))
-      (node (ref J1) (pin 6)))
-    (net (code 66) (name SWDIO)
-      (node (ref J1) (pin 4))
-      (node (ref U1) (pin 46)))
-    (net (code 67) (name SWCLK)
-      (node (ref J1) (pin 2))
-      (node (ref U1) (pin 49)))
-    (net (code 68) (name "Net-(C2-Pad1)")
-      (node (ref U1) (pin 6))
-      (node (ref C2) (pin 1))
-      (node (ref Y1) (pin 2)))
-    (net (code 69) (name "Net-(C1-Pad1)")
-      (node (ref Y1) (pin 1))
-      (node (ref C1) (pin 1))
-      (node (ref U1) (pin 5)))
-    (net (code 70) (name "Net-(R2-Pad2)")
-      (node (ref R2) (pin 2))
-      (node (ref R3) (pin 1))
-      (node (ref U4) (pin 4)))
-    (net (code 71) (name "Net-(D2-Pad2)")
-      (node (ref R5) (pin 2))
-      (node (ref D2) (pin 2)))
-    (net (code 72) (name "Net-(D1-Pad2)")
-      (node (ref D1) (pin 2))
-      (node (ref R4) (pin 2)))))
\ No newline at end of file