<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.sha2017.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xuf</id>
		<title>SHA2017 Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.sha2017.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xuf"/>
		<link rel="alternate" type="text/html" href="https://wiki.sha2017.org/w/Special:Contributions/Xuf"/>
		<updated>2026-04-22T22:54:44Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.3</generator>

	<entry>
		<id>https://wiki.sha2017.org/index.php?title=User:Xuf&amp;diff=7872</id>
		<title>User:Xuf</title>
		<link rel="alternate" type="text/html" href="https://wiki.sha2017.org/index.php?title=User:Xuf&amp;diff=7872"/>
				<updated>2017-07-24T16:09:59Z</updated>
		
		<summary type="html">&lt;p&gt;Xuf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{User&lt;br /&gt;
|Name=xuf&lt;br /&gt;
|Village=Village:Geraffel&lt;br /&gt;
|Arrival=2017/08/03 18:00&lt;br /&gt;
|BuildupVehicle=Car, Transporter&lt;br /&gt;
|BuildupTime=03.08.17 18:00&lt;br /&gt;
|Departure=2017/08/08&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Xuf</name></author>	</entry>

	<entry>
		<id>https://wiki.sha2017.org/index.php?title=User:Xuf&amp;diff=4018</id>
		<title>User:Xuf</title>
		<link rel="alternate" type="text/html" href="https://wiki.sha2017.org/index.php?title=User:Xuf&amp;diff=4018"/>
				<updated>2017-06-18T20:39:31Z</updated>
		
		<summary type="html">&lt;p&gt;Xuf: Created page with &amp;quot;{{User |Name=xuf |Village=Village:Geraffel |Arrival=2017/08/04 |BuildupVehicle=No |Departure=2017/08/08 }}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{User&lt;br /&gt;
|Name=xuf&lt;br /&gt;
|Village=Village:Geraffel&lt;br /&gt;
|Arrival=2017/08/04&lt;br /&gt;
|BuildupVehicle=No&lt;br /&gt;
|Departure=2017/08/08&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Xuf</name></author>	</entry>

	<entry>
		<id>https://wiki.sha2017.org/index.php?title=Projects:Badge/Emulator&amp;diff=4017</id>
		<title>Projects:Badge/Emulator</title>
		<link rel="alternate" type="text/html" href="https://wiki.sha2017.org/index.php?title=Projects:Badge/Emulator&amp;diff=4017"/>
				<updated>2017-06-18T20:30:46Z</updated>
		
		<summary type="html">&lt;p&gt;Xuf: Fixed typo code&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Badgemenu}}&lt;br /&gt;
==Badge Emulator==&lt;br /&gt;
You can now play with the badge software before you even receive your badge!&lt;br /&gt;
&lt;br /&gt;
==Limitations==&lt;br /&gt;
&lt;br /&gt;
Currently LEDs and vibrator are not supported.&lt;br /&gt;
&lt;br /&gt;
Apparently key-presses etc can only be caught while actively waiting.&lt;br /&gt;
Might not be much of a limitation.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;sudo apt-get install libncurses5-dev flex bison gperf python-serial libffi-dev libsdl2-dev libmbedtls-dev&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Or equivalent installation of requirements on your distribution.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;git clone --recursive https://github.com/SHA2017-badge/Firmware.git&lt;br /&gt;
cd Firmware/micropython/unix&lt;br /&gt;
make&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===macOS===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;git clone --recursive https://github.com/SHA2017-badge/Firmware.git&lt;br /&gt;
cd Firmware/micropython/lib&lt;br /&gt;
git clone https://github.com/ARMmbed/mbedtls.git&lt;br /&gt;
cd mbedtls&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
cd ../../unix&lt;br /&gt;
make&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;./micropython demo.py&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
[[File:SHA2017Badge emulator.jpg|thumb|SHA2017Badge emulator running Mandelbrod]]&lt;br /&gt;
You can also just start &amp;lt;code&amp;gt;./micropython&amp;lt;/code&amp;gt; and start using the [[Projects:Badge/MicroPython|MicroPython modules]].&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;import ugfx&lt;br /&gt;
&lt;br /&gt;
ugfx.init()&lt;br /&gt;
&lt;br /&gt;
ugfx.clear(ugfx.BLACK)&lt;br /&gt;
&lt;br /&gt;
ugfx.fill_circle(60, 60, 50, ugfx.WHITE);&lt;br /&gt;
ugfx.fill_circle(60, 60, 40, ugfx.BLACK);&lt;br /&gt;
ugfx.fill_circle(60, 60, 30, ugfx.WHITE);&lt;br /&gt;
ugfx.fill_circle(60, 60, 20, ugfx.BLACK);&lt;br /&gt;
ugfx.fill_circle(60, 60, 10, ugfx.WHITE);&lt;br /&gt;
&lt;br /&gt;
ugfx.thickline(1,1,100,100,ugfx.WHITE,10,5)&lt;br /&gt;
ugfx.box(30,30,50,50,ugfx.WHITE)&lt;br /&gt;
&lt;br /&gt;
ugfx.string(150,25,&amp;quot;STILL&amp;quot;,&amp;quot;Roboto_BlackItalic24&amp;quot;,ugfx.WHITE)&lt;br /&gt;
ugfx.string(130,50,&amp;quot;Hacking&amp;quot;,&amp;quot;PermanentMarker22&amp;quot;,ugfx.WHITE)&lt;br /&gt;
len = ugfx.get_string_width(&amp;quot;Hacking&amp;quot;,&amp;quot;PermanentMarker22&amp;quot;)&lt;br /&gt;
ugfx.line(130, 72, 144 + len, 72, ugfx.WHITE)&lt;br /&gt;
ugfx.line(140 + len, 52, 140 + len, 70, ugfx.WHITE)&lt;br /&gt;
ugfx.string(140,75,&amp;quot;Anyway&amp;quot;,&amp;quot;Roboto_BlackItalic24&amp;quot;,ugfx.WHITE)&lt;br /&gt;
&lt;br /&gt;
ugfx.flush()&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also use [[Projects:Badge/woezel|woezel]] to install software from the [[Projects:Badge/Hatchery|Hatchery]].&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;import woezel&lt;br /&gt;
woezel.install('game_of_life')&lt;br /&gt;
import game_of_life&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Badge emulator macOS.png|800px|frameless|center|woezel.install('game_of_life')]]&lt;/div&gt;</summary>
		<author><name>Xuf</name></author>	</entry>

	</feed>