<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.6.2">
<drawing>
<board>
<plain>
<wire x1="0" y1="0" x2="12.68" y2="0" width="0" layer="20"/>
<wire x1="12.68" y1="0" x2="12.68" y2="28.88" width="0" layer="20"/>
<wire x1="12.68" y1="28.88" x2="0" y2="28.88" width="0" layer="20"/>
<wire x1="0" y1="28.88" x2="0" y2="0" width="0" layer="20"/>
<text>Dsigned in Thailand
By TinLethax</text>
<text>S1MPLY 1.0</text>
</plain>
<libraries>
<library name="adafruit">
<packages>
<package name="C0805">
<description>&lt;b&gt;CAPACITOR&lt;/b&gt;&lt;p&gt;
chip</description>
</package>
<package name="C0603">
<description>&lt;b&gt;CAPACITOR&lt;/b&gt;&lt;p&gt;
chip</description>
</package>
</packages>
</library>
<library name="testpad">
<description>&lt;b&gt;Test Pins/Pads&lt;/b&gt;&lt;p&gt;
Cream on SMD OFF.&lt;br&gt;
new: Attribute TP_SIGNAL_NAME&lt;br&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="TP10SQ">
<description>&lt;b&gt;TEST PAD&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="SparkFun-Switches">
<description>&lt;h3&gt;SparkFun Switches, Buttons, Encoders&lt;/h3&gt;
In this library you'll find switches, buttons, joysticks, and anything that moves to create or disrupt an electrical connection.
&lt;br&gt;
&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is &lt;b&gt; the end user's responsibility&lt;/b&gt; to ensure correctness and suitablity for a given componet or application. 
&lt;br&gt;
&lt;br&gt;If you enjoy using this library, please buy one of our products at &lt;a href=" www.sparkfun.com"&gt;SparkFun.com&lt;/a&gt;.
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/ 
&lt;br&gt;
&lt;br&gt;
You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="JOYSTICK_MINI">
<description>&lt;h3&gt;Small Tactile Joystick w/ Select Switch&lt;/h3&gt;
&lt;p&gt;A 5-way tactile switch allows for a joystick-like interface in a very small package.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.sparkfun.com/datasheets/Components/Buttons/SF303GJ26-3.pdf"&gt;Datasheet&lt;/a&gt;&lt;/p&gt;</description>
</package>
</packages>
</library>
<library name="SCDV554x">
<packages>
<package name="SCDV554X">
</package>
</packages>
</library>
<library name="STM8L151F3">
<packages>
<package name="UFQFPN-20">
<description>UFQFPN20 Package 3x3mm</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="C1" library="adafruit" package="C0805" value="10uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C2" library="adafruit" package="C0603" value="10uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="RST" library="testpad" package="TP10SQ" value="TPSQTP10SQ">
<attribute name="NAME"/>
<attribute name="POPULARITY" value="0"/>
<attribute name="TP_SIGNAL_NAME" value=""/>
<attribute name="VALUE"/>
</element>
<element name="RX" library="testpad" package="TP10SQ" value="TPSQTP10SQ">
<attribute name="NAME"/>
<attribute name="POPULARITY" value="0"/>
<attribute name="TP_SIGNAL_NAME" value=""/>
<attribute name="VALUE"/>
</element>
<element name="S1" library="SparkFun-Switches" package="JOYSTICK_MINI" value="">
<attribute name="NAME"/>
<attribute name="PROD_ID" value="SWCH-09905"/>
<attribute name="SF_SKU" value="COM-10063"/>
<attribute name="VALUE"/>
</element>
<element name="SWIM" library="testpad" package="TP10SQ" value="TPSQTP10SQ">
<attribute name="NAME"/>
<attribute name="POPULARITY" value="0"/>
<attribute name="TP_SIGNAL_NAME" value=""/>
<attribute name="VALUE"/>
</element>
<element name="TX" library="testpad" package="TP10SQ" value="TPSQTP10SQ">
<attribute name="NAME"/>
<attribute name="POPULARITY" value="0"/>
<attribute name="TP_SIGNAL_NAME" value=""/>
<attribute name="VALUE"/>
</element>
<element name="U$1" library="SCDV554x" package="SCDV554X" value="SCDV554X"/>
<element name="U$2" library="STM8L151F3" package="UFQFPN-20" value="STM8L151F3"/>
<element name="VG" library="testpad" package="TP10SQ" value="TPSQTP10SQ">
<attribute name="NAME"/>
<attribute name="POPULARITY" value="0"/>
<attribute name="TP_SIGNAL_NAME" value=""/>
<attribute name="VALUE"/>
</element>
<element name="VP" library="testpad" package="TP10SQ" value="TPSQTP10SQ">
<attribute name="NAME"/>
<attribute name="POPULARITY" value="0"/>
<attribute name="TP_SIGNAL_NAME" value=""/>
<attribute name="VALUE"/>
</element>
</elements>
<signals>
<signal name="VCC">
<contactref element="C1" pad="1"/>
<contactref element="U$2" pad="VSS"/>
<contactref element="C2" pad="1"/>
<contactref element="VP" pad="TP"/>
<contactref element="U$1" pad="VCC3"/>
</signal>
<signal name="GND">
<contactref element="C1" pad="2"/>
<contactref element="U$2" pad="VDD"/>
<contactref element="VG" pad="TP"/>
<contactref element="U$1" pad="GND2"/>
<contactref element="C2" pad="2"/>
</signal>
<signal name="N$3">
<contactref element="U$1" pad="SDCLK"/>
<contactref element="U$2" pad="PB2"/>
</signal>
<signal name="N$4">
<contactref element="U$1" pad="LOAD"/>
<contactref element="U$2" pad="PB1"/>
</signal>
<signal name="N$6">
<contactref element="RST" pad="TP"/>
<contactref element="U$2" pad="NRST/PA1"/>
</signal>
<signal name="N$7">
<contactref element="SWIM" pad="TP"/>
<contactref element="U$2" pad="PA0"/>
</signal>
<signal name="N$8">
<contactref element="TX" pad="TP"/>
<contactref element="U$2" pad="PA2"/>
</signal>
<signal name="N$9">
<contactref element="RX" pad="TP"/>
<contactref element="U$2" pad="PA3"/>
</signal>
<signal name="N$12">
<contactref element="U$2" pad="PB6"/>
<contactref element="S1" pad="C"/>
</signal>
<signal name="N$13">
<contactref element="U$2" pad="PB7"/>
</signal>
<signal name="N$1">
<contactref element="U$2" pad="PB3"/>
<contactref element="U$1" pad="DATA"/>
</signal>
<signal name="N$5">
<contactref element="U$1" pad="CLKSEL"/>
<contactref element="U$1" pad="VCC1"/>
<contactref element="U$1" pad="RST"/>
</signal>
<signal name="N$2">
<contactref element="U$1" pad="GND1"/>
<contactref element="S1" pad="GND"/>
</signal>
<signal name="N$15">
<contactref element="S1" pad="CTR"/>
</signal>
<signal name="N$14">
<contactref element="U$2" pad="PD0"/>
<contactref element="S1" pad="B"/>
</signal>
<signal name="N$10">
<contactref element="S1" pad="D"/>
<contactref element="U$2" pad="PB4"/>
</signal>
<signal name="N$11">
<contactref element="S1" pad="A"/>
<contactref element="U$2" pad="PB5"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
