<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3764859359830857835</id><updated>2024-11-06T04:11:55.802+01:00</updated><category term="LINQ"/><category term="Microsoft Office SharePoint Server"/><category term="LINQ to SQL"/><category term="MSSQLTips"/><category term="LINQ to XML"/><category term="Free E-Book"/><category term="LINQ to Objects"/><category term="Office SharePoint Server 2007 Deployment"/><category term="Microsoft Certification"/><category term=".NET Framework"/><category term="SQL Server 2008 Development"/><category term="ADO.NET Entity Framework"/><category term="Arduino"/><category term="Silverlight"/><category term="Microsoft Visual Studio"/><category term="MOSS 2007 Development"/><category term="SQL Server 2005"/><category term="SQL Server 2008"/><category term="SharePoint"/><category term="Training Kit"/><category term="Visual Studio 2010"/><category term="Windows 7"/><category term="Windows Server 2008"/><category term="Windows Sysinternals"/><category term="iPhone"/><category term="Axum"/><category term="Community"/><category term="Developer Tools"/><category term="Microsoft Office SharePoint Server 2007"/><category term="Microsoft SharePoint 2010"/><category term="Parallel Computing Platform"/><category term="Processing"/><category term="Programming Languages"/><category term="SQL"/><category term="SQL Server 2005 Development"/><category term="Tools"/><category term="Android"/><category term="Concurrency"/><category term="Free"/><category term="Free WinForm Controls"/><category term="MOSS 2007 Best Practices"/><category term="MSDN Magazine"/><category term="Mein Buch LINQ"/><category term="Microsoft Axum"/><category term="Microsoft InfoPath"/><category term="Microsoft Office"/><category term="Microsoft SQL Server"/><category term="Office SharePoint Server 2007 Configuration"/><category term="Office SharePoint Server 2007 Features"/><category term="Office SharePoint Server 2007 Operating"/><category term="Office SharePoint Server 2007 Service Pack"/><category term="Parallelism"/><category term="PowerShell"/><category term="Programming"/><category term="Query Operators"/><category term="ReSharper"/><category term="SQL Server 2005 Administration"/><category term="SQL Server 2008 Beispiel Datenbanken"/><category term="SQL Server 2008 Sample Databases"/><category term="SQL Server Compact 3.5"/><category term="T-SQL Samples"/><category term="Testing"/><category term="Visual Studio 2008 Beta 2"/><category term="Visual Studio Orcas Beta 1"/><category term="Windows SharePoint Services 3.0 Deployment"/><category term="Windows SharePoint Services 3.0 Development"/><category term="Windows Vista Service Pack"/><category term="ADO.NET"/><category term="ASP.NET"/><category term="AVR Microcontroller"/><category term="Apple"/><category term="Architecture"/><category term="BDD"/><category term="Behaviour Driven Development"/><category term="Beta"/><category term="Bing"/><category term="Browsers"/><category term="Buch"/><category term="CAT.NET"/><category term="Certified Architect for SharePoint"/><category term="Code Analysis Tool"/><category term="Computer Batteries"/><category term="Datenbank Allgemein"/><category term="Development"/><category term="Development Tools"/><category term="Eclipse"/><category term="Entity Klassen"/><category term="Exchange 2010"/><category term="Free Icon Set"/><category term="Free Online Tool"/><category term="Free Software"/><category term="Fun"/><category term="GEVER Office"/><category term="Graphic"/><category term="GroupBy"/><category term="HM55B Compass Module"/><category term="HP Notebook"/><category term="HTML5"/><category term="ILMerge"/><category term="IT Certifications"/><category term="Intersect"/><category term="MOSS 2007 Architecture"/><category term="MOSS 2007 Customizing"/><category term="MOSS 2007 Interview Questions"/><category term="MOSS 2007 Presentations"/><category term="MOSS 2007 Production"/><category term="MSDN Code Gallery"/><category term="Microsoft .NET Framework 2.0"/><category term="Microsoft .NET Framework 3.5"/><category term="Microsoft Access"/><category term="Microsoft Certified Master for SharePoint"/><category term="Microsoft Excel"/><category term="Microsoft Exchange"/><category term="Microsoft Expression Studio"/><category term="Microsoft Office Outlook"/><category term="Microsoft Outlook"/><category term="Microsoft Visio"/><category term="Microsoft Visual Basic for Applications"/><category term="Microsoft Visual Studio 2005 Express Edition"/><category term="Microsoft Visual Studio 2005 Professional Edition"/><category term="Microsoft Visual Studio 2005 Standard Edition"/><category term="Microsoft Visual Studio Team Foundation Server"/><category term="Microsoft Windows 7"/><category term="Microsoft Windows XP"/><category term="MonoTouch"/><category term="OXBA"/><category term="Object Relational Mapping"/><category term="Office 2007"/><category term="Office 2007 Development"/><category term="Office 2007 System"/><category term="Office SharePoint Server 2007 Business Data Catalog"/><category term="Office SharePoint Server 2007 Guidance"/><category term="Office SharePoint Server 2007 Presentations"/><category term="Open Source"/><category term="Oracle Forms"/><category term="Parallax"/><category term="Parallel Computing"/><category term="Parallel Programming"/><category term="Peter Frankenfeld"/><category term="Photosynth"/><category term="Quickstart"/><category term="Recall"/><category term="Relational Database Design"/><category term="SET ANSI_NULLS"/><category term="SQL Commands"/><category term="SQL Server 2005 Disaster Recovery"/><category term="SQL Server 2005 Performance"/><category term="SQL Server 2008 Auditing"/><category term="SQL Server 2008 Samples"/><category term="SQL Server 2008 Service Pack 1"/><category term="SQL Server 2008 Trial"/><category term="SQL Server Express Edition"/><category term="SQL Server Performance Tips"/><category term="SQL Server Reporting Services Samples"/><category term="SQLMetal"/><category term="Screenshot Captor"/><category term="SharePoint Designer 2007"/><category term="SharePoint Development"/><category term="SharePoint Server 2010"/><category term="Sigmund Freud"/><category term="Software Engineering Research"/><category term="SpecFlow"/><category term="Standard Query Operators"/><category term="Sysinternals"/><category term="T-SQL"/><category term="TIFF"/><category term="Take"/><category term="Thumb Joystick Module"/><category term="Umfrage"/><category term="Usability"/><category term="Utilities"/><category term="VIsual Studio 2008"/><category term="VS 2008"/><category term="Veranstaltung"/><category term="Virtual Earth 3D"/><category term="Virtual PC"/><category term="Virtual TechDays"/><category term="VirtualBox"/><category term="Visual Basic"/><category term="Visual Studio"/><category term="Visual Studio 2005"/><category term="Visual Studio 2005 Fix"/><category term="Visual Studio 2008 Express Edition"/><category term="Visual Studio 2008 Samples"/><category term="Visual Studio 2008 Service Pack 1 Beta"/><category term="Visual Studio Add-In"/><category term="Visual Studio Team System 2008 Team Foundation Server"/><category term="WPF"/><category term="WSPBuilder"/><category term="Webcast"/><category term="White Paper"/><category term="Windows API Code Pack"/><category term="Windows Azure"/><category term="Windows Phone"/><category term="Windows SharePoint Services 3.0 Security"/><category term="Windows XP Service Pack"/><category term="Writing Secure Code"/><category term="donationcoder"/><category term="iPhone 3GS"/><category term="mssharepointtips"/><title type='text'>Özgür Aytekin - Today&#39;s problems come from yesterday&#39;s solutions</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>386</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-5909656901338074185</id><published>2011-05-01T14:36:00.003+02:00</published><updated>2011-05-01T20:36:52.999+02:00</updated><title type='text'>my last post</title><content type='html'>this is my last post to this blog.&lt;br /&gt;
&lt;br /&gt;
my new blog url is &lt;a href=&quot;http://ozguraytekin.com/blog/&quot;&gt;http://ozguraytekin.com/blog/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/5909656901338074185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/5909656901338074185?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/5909656901338074185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/5909656901338074185'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/05/my-last-post.html' title='my last post'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-4087975504963289351</id><published>2011-04-28T08:07:00.001+02:00</published><updated>2011-04-28T08:08:37.651+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight"/><title type='text'>Silverlight 5 Beta Is Available For Download</title><content type='html'>Silverlight 5 continues the pace of rapid innovation, building on Silverlight 4&#39;s capabilities in the areas of rich applications and premium media experiences. With over 40 new features, the Silverlight 5 beta highlights dramatic video quality and performance improvements, as well as new capabilities that improve developer productivity.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Top Beta Features&lt;/b&gt;&lt;br /&gt;
XAML Debugging with breakpoints for binding debugging&lt;br /&gt;
Implicit data templates for easy UI reuse&lt;br /&gt;
Double (and multi) click support&lt;br /&gt;
GPU-accelerated XNA-compatible 3D and immediate-mode 2D API&lt;br /&gt;
Low-latency sound effects and WAV support&lt;br /&gt;
Real operating system windows and multi-display support&lt;br /&gt;
Significant performance improvements, fixes and much more&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Silverlight 5 Top Downloads&lt;/b&gt;&lt;br /&gt;
&lt;i&gt;Recommended Downloads&lt;br /&gt;
&lt;/i&gt;Visual Studio 2010 SP1 (required)&lt;br /&gt;
Silverlight 5 Beta Tools for Visual Studio SP1 (required)&lt;br /&gt;
Expression Blend Preview for Silverlight 5 (optional)&lt;br /&gt;
Silverlight 5 Features Document (optional)&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;
Additional Downloads&lt;/i&gt;&lt;br /&gt;
Silverlight 5 Beta Developer Runtime for Windows&lt;br /&gt;
Silverlight 5 Beta Developer Runtime for Mac&lt;br /&gt;
Silverlight 5 Beta SDK&lt;br /&gt;
WCF RIA Services for Silverlight 5 Beta&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.silverlight.net/getstarted/silverlight-5-beta/&quot;&gt;&lt;br /&gt;
http://www.silverlight.net/getstarted/silverlight-5-beta/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/4087975504963289351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/4087975504963289351?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/4087975504963289351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/4087975504963289351'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/04/silverlight-5-beta-is-available-for.html' title='Silverlight 5 Beta Is Available For Download'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-1597790544990465466</id><published>2011-04-28T07:58:00.002+02:00</published><updated>2011-04-28T07:58:49.456+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight"/><title type='text'>The Future of Microsoft Silverlight</title><content type='html'>Microsoft Silverlight is a powerful tool for creating and delivering rich Internet applications and media experiences on the Web. Silverlight 5 builds on the foundation of Silverlight 4 for building business applications and premium media experiences. Among other capabilities, the Silverlight 5 beta highlights dramatic video quality and performance improvements, and features that improve developer productivity.&lt;br /&gt;
&lt;br /&gt;
The final Silverlight 5 release will be available in 2011&lt;br /&gt;
&lt;a href=&quot;http://www.microsoft.com/silverlight/future/&quot;&gt;&lt;br /&gt;
http://www.microsoft.com/silverlight/future/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/1597790544990465466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/1597790544990465466?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/1597790544990465466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/1597790544990465466'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/04/future-of-microsoft-silverlight.html' title='The Future of Microsoft Silverlight'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-8800828341836482213</id><published>2011-04-27T19:44:00.000+02:00</published><updated>2011-04-27T19:44:05.954+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>SharePoint 2010 Sandboxed Solutions Solution Validator ( SPSolutionValidator )</title><content type='html'>Now that you already know how to create a Sandboxed Solution, in a typical scenario Farm Admins need some one or some mechanism to evaluate or validate the solutions developed using Sandboxed solutions by the developers. Here is the example of how and what you need to inherit and extend the ootb available classes to write your own. &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://codename-srini.blogspot.com/2010/01/sharepoint-2010-sandboxed-solutions.html&quot;&gt;http://codename-srini.blogspot.com/2010/01/sharepoint-2010-sandboxed-solutions.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://spsolutionvalidator.codeplex.com/&quot;&gt;http://spsolutionvalidator.codeplex.com/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/8800828341836482213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/8800828341836482213?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/8800828341836482213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/8800828341836482213'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/04/sharepoint-2010-sandboxed-solutions.html' title='SharePoint 2010 Sandboxed Solutions Solution Validator ( SPSolutionValidator )'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-3105381499769617908</id><published>2011-04-26T20:59:00.002+02:00</published><updated>2011-04-26T20:59:54.129+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>SPFileVersionCollection.RecycleAll Method</title><content type='html'>Recycles all file version objects in the collection.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfileversioncollection.recycleall.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfileversioncollection.recycleall.aspx&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/3105381499769617908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/3105381499769617908?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/3105381499769617908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/3105381499769617908'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/04/spfileversioncollectionrecycleall.html' title='SPFileVersionCollection.RecycleAll Method'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-6990366314085621970</id><published>2011-04-26T20:24:00.002+02:00</published><updated>2011-04-26T20:24:30.592+02:00</updated><title type='text'>REST (Representational State Transfer</title><content type='html'>REST help developers rapidly build applications on the SharePoint framework, having the SharePoint APIs available everywhere makes it possible to integrate to SharePoint from almost any applications including those on non-Windows platforms whether they are on the client, server or in the cloud. Unlike SOAP, REST is not a protocol, is using HTTP to retrieve and send data and is more like a Web APIs with more direct communications.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.eggheadcafe.com/tutorials/aspnet/84e8403e-a25c-49b7-a0d8-3e2773fa29b5/whats-new-for-developers.aspx&quot;&gt;http://www.eggheadcafe.com/tutorials/aspnet/84e8403e-a25c-49b7-a0d8-3e2773fa29b5/whats-new-for-developers.aspx&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/6990366314085621970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/6990366314085621970?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/6990366314085621970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/6990366314085621970'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/04/rest-representational-state-transfer.html' title='REST (Representational State Transfer'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-120431747111039044</id><published>2011-04-26T20:10:00.002+02:00</published><updated>2011-04-26T20:10:59.374+02:00</updated><title type='text'>What about correlation tokens and SharePoint workflow?</title><content type='html'>Correlation tokens are something very important in SharePoint&lt;br /&gt;
&lt;br /&gt;
A correlation token is a means of uniquely identifying each instance of a workflow, modification or task.  When SharePoint initiates a workflow, it does not spawn a unique set of objects. Instead, if one instance of the workflow is already running when the second initiates, the second will reuse objects from the first. Correlation token properties ensure that the single activity object is operating on the correct workflow instance and accessing the correct details about the workflow.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://jopx.blogspot.com/2007/08/what-about-correlation-tokens-and.html&quot;&gt;http://jopx.blogspot.com/2007/08/what-about-correlation-tokens-and.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/120431747111039044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/120431747111039044?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/120431747111039044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/120431747111039044'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/04/what-about-correlation-tokens-and.html' title='What about correlation tokens and SharePoint workflow?'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-4168159139042839817</id><published>2011-04-26T20:02:00.000+02:00</published><updated>2011-04-26T20:02:56.819+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Apply theme programmatically Sharepoint 2010</title><content type='html'>We can manage the theme from UI of Sharepoint also but sometimes we have a requirement like we need to manage theme through a feature i.e. on feature activation we need to apply some theme and on deactivation remove that theme and apply the default no-theme of Sharepoint.&lt;br /&gt;
Add the Microsoft.SharePoint.Utilities reference.&lt;br /&gt;
&lt;a href=&quot;http://www.directsharepoint.com/2011/03/programmatically-apply-theme-to-web-in.html&quot;&gt;&lt;br /&gt;
http://www.directsharepoint.com/2011/03/programmatically-apply-theme-to-web-in.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/4168159139042839817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/4168159139042839817?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/4168159139042839817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/4168159139042839817'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/04/apply-theme-programmatically-sharepoint.html' title='Apply theme programmatically Sharepoint 2010'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-9039761899337572222</id><published>2011-04-26T19:59:00.000+02:00</published><updated>2011-04-26T19:59:23.103+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Set Site Collection Search Settings by PowerShell</title><content type='html'>Setting your Site Collection Search Settings by Powershell, what a tongue twister, try saying that six times fast. Setting your search settings via PowerShell is not something that is immediately obvious and requires a bit of digging.&lt;br /&gt;
&lt;br /&gt;
First – how do we see what settings we’ve currently got?  First lets get our web and throw it into a variable to make it a bit easier to handle.&lt;br /&gt;
$web = get-spweb http://address&lt;br /&gt;
&lt;br /&gt;
By digging down through the properties of the $web object we can see two areas that might house this : allProperties and Properties.  I do not know why there are two property areas, seems a little confusing.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://mrhodes.net/2010/09/14/set-site-collection-search-settings-by-powershell/&quot;&gt;http://mrhodes.net/2010/09/14/set-site-collection-search-settings-by-powershell/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/9039761899337572222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/9039761899337572222?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/9039761899337572222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/9039761899337572222'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/04/set-site-collection-search-settings-by.html' title='Set Site Collection Search Settings by PowerShell'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-5180589452601962825</id><published>2011-02-01T06:36:00.000+01:00</published><updated>2011-02-01T06:36:46.613+01:00</updated><title type='text'>JSGB - a JavaScript GameBoy Emulator by Pedro Ladaria</title><content type='html'>&lt;a href=&quot;http://www.codebase.es/jsgb/&quot;&gt;http://www.codebase.es/jsgb/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/5180589452601962825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/5180589452601962825?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/5180589452601962825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/5180589452601962825'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/02/jsgb-javascript-gameboy-emulator-by.html' title='JSGB - a JavaScript GameBoy Emulator by Pedro Ladaria'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-7281686213151889585</id><published>2011-01-30T19:32:00.001+01:00</published><updated>2011-02-01T06:37:24.768+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><title type='text'>Control 12 Servos with Arduino using Serial Monitor</title><content type='html'>&lt;b&gt;Disclaimer: I have tested these instructions and this code and it works for me. However, you must use it at your own risk. I am not responsible for any damage it may do to your data or your hardware.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Using this code, you can control 12 servos with an Arduino.&lt;br /&gt;
&lt;br /&gt;
For each servo, it&#39;s possible to define the position angle with Serial Monitor tool.&lt;br /&gt;
&lt;br /&gt;
Syntax using Serial Monitor:&lt;br /&gt;
1.045 = move Servo 1 to position 45 degree&lt;br /&gt;
or&lt;br /&gt;
2.120 = move Servo 2 to position 120 degree&lt;br /&gt;
or&lt;br /&gt;
10.073 = move Servo 10 to position 73 degree&lt;br /&gt;
&lt;br /&gt;
It&#39;s important prefix the position with 0 when the position angle is smaller then 100 degree!&lt;br /&gt;
&lt;br /&gt;
Code:&lt;br /&gt;
&lt;pre&gt;#include&amp;nbsp;&amp;lt;&lt;span style=&quot;color: #CC6600;&quot;&gt;Servo&lt;/span&gt;.h&amp;gt;

&lt;span style=&quot;color: #7E7E7E;&quot;&gt;//&amp;nbsp;declare&amp;nbsp;servo&amp;nbsp;objects&lt;/span&gt;
&lt;span style=&quot;color: #CC6600;&quot;&gt;Servo&lt;/span&gt; servo00;
&lt;span style=&quot;color: #CC6600;&quot;&gt;Servo&lt;/span&gt; servo01;
&lt;span style=&quot;color: #CC6600;&quot;&gt;Servo&lt;/span&gt; servo02;
&lt;span style=&quot;color: #CC6600;&quot;&gt;Servo&lt;/span&gt; servo03;
&lt;span style=&quot;color: #CC6600;&quot;&gt;Servo&lt;/span&gt; servo04;

&lt;span style=&quot;color: #CC6600;&quot;&gt;Servo&lt;/span&gt; servo05;
&lt;span style=&quot;color: #CC6600;&quot;&gt;Servo&lt;/span&gt; servo06;
&lt;span style=&quot;color: #CC6600;&quot;&gt;Servo&lt;/span&gt; servo07;
&lt;span style=&quot;color: #CC6600;&quot;&gt;Servo&lt;/span&gt; servo08;
&lt;span style=&quot;color: #CC6600;&quot;&gt;Servo&lt;/span&gt; servo09;

&lt;span style=&quot;color: #CC6600;&quot;&gt;Servo&lt;/span&gt; servo10;
&lt;span style=&quot;color: #CC6600;&quot;&gt;Servo&lt;/span&gt; servo11;

&lt;span style=&quot;color: #7E7E7E;&quot;&gt;//&amp;nbsp;declare&amp;nbsp;servo&amp;nbsp;angle&amp;nbsp;variables&amp;nbsp;and&amp;nbsp;setting&amp;nbsp;initial&amp;nbsp;values&lt;/span&gt;
&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt; servo00Angle;
&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt; servo01Angle;
&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt; servo02Angle;
&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt; servo03Angle;
&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt; servo04Angle;

&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt; servo05Angle;
&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt; servo06Angle;
&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt; servo07Angle;
&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt; servo08Angle;
&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt; servo09Angle;

&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt; servo10Angle;
&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt; servo11Angle;

&lt;span style=&quot;color: #7E7E7E;&quot;&gt;//&amp;nbsp;declare&amp;nbsp;a&amp;nbsp;char&amp;nbsp;array&amp;nbsp;to&amp;nbsp;buffer&amp;nbsp;(5&amp;nbsp;byte)&amp;nbsp;the&amp;nbsp;inputs&amp;nbsp;from&amp;nbsp;Serial&amp;nbsp;Monitor&amp;nbsp;window&lt;/span&gt;
&lt;span style=&quot;color: #CC6600;&quot;&gt;char&lt;/span&gt; serialMonitorBuffer [5];

&lt;span style=&quot;color: #CC6600;&quot;&gt;float&lt;/span&gt; value;
&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt; row = 0;

&lt;span style=&quot;color: #7E7E7E;&quot;&gt;//&amp;nbsp;The&amp;nbsp;setup()&amp;nbsp;function&amp;nbsp;is&amp;nbsp;called&amp;nbsp;when&amp;nbsp;a&amp;nbsp;sketch&amp;nbsp;starts.&amp;nbsp;&lt;/span&gt;
&lt;span style=&quot;color: #CC6600;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;setup&lt;/b&gt;&lt;/span&gt;()
{
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7E7E7E;&quot;&gt;// Sets the data rate in bits per second (baud) for serial data transmission.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;begin&lt;/span&gt;(9600);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7E7E7E;&quot;&gt;// Attach the Servo variable to a pin.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;servo00.&lt;span style=&quot;color: #CC6600;&quot;&gt;attach&lt;/span&gt;(2);
&amp;nbsp;&amp;nbsp;servo01.&lt;span style=&quot;color: #CC6600;&quot;&gt;attach&lt;/span&gt;(3);
&amp;nbsp;&amp;nbsp;servo02.&lt;span style=&quot;color: #CC6600;&quot;&gt;attach&lt;/span&gt;(4);
&amp;nbsp;&amp;nbsp;servo03.&lt;span style=&quot;color: #CC6600;&quot;&gt;attach&lt;/span&gt;(5);
&amp;nbsp;&amp;nbsp;servo04.&lt;span style=&quot;color: #CC6600;&quot;&gt;attach&lt;/span&gt;(6);

&amp;nbsp;&amp;nbsp;servo05.&lt;span style=&quot;color: #CC6600;&quot;&gt;attach&lt;/span&gt;(7);
&amp;nbsp;&amp;nbsp;servo06.&lt;span style=&quot;color: #CC6600;&quot;&gt;attach&lt;/span&gt;(8);
&amp;nbsp;&amp;nbsp;servo07.&lt;span style=&quot;color: #CC6600;&quot;&gt;attach&lt;/span&gt;(9);
&amp;nbsp;&amp;nbsp;servo08.&lt;span style=&quot;color: #CC6600;&quot;&gt;attach&lt;/span&gt;(10);
&amp;nbsp;&amp;nbsp;servo09.&lt;span style=&quot;color: #CC6600;&quot;&gt;attach&lt;/span&gt;(11);

&amp;nbsp;&amp;nbsp;servo10.&lt;span style=&quot;color: #CC6600;&quot;&gt;attach&lt;/span&gt;(12);
&amp;nbsp;&amp;nbsp;servo11.&lt;span style=&quot;color: #CC6600;&quot;&gt;attach&lt;/span&gt;(13);
&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;setInitialPositionValues();
}

&lt;span style=&quot;color: #CC6600;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;loop&lt;/b&gt;&lt;/span&gt;()
{
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7E7E7E;&quot;&gt;// Get the number of bytes (characters) available for reading from the serial port.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7E7E7E;&quot;&gt;// This is data that&#39;s already arrived and stored in the serial receive buffe&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;available&lt;/span&gt;())
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;delay&lt;/span&gt;(5);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7E7E7E;&quot;&gt;// store serial data into buffer array (5 byte)&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt; i=0;     
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;while&lt;/span&gt;(i &amp;lt; 5)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;serialMonitorBuffer[i]&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;read&lt;/span&gt;();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;i++;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7E7E7E;&quot;&gt;// Flushes the buffer of incoming serial data.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7E7E7E;&quot;&gt;// That is, any call to Serial.read() or Serial.available() will return&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7E7E7E;&quot;&gt;// only data received after all the most recent call to Serial.flush(). &lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;flush&lt;/span&gt;();

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7E7E7E;&quot;&gt;// convert numeric string to float&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;value&amp;nbsp;=&amp;nbsp;atof(serialMonitorBuffer);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;row++;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7E7E7E;&quot;&gt;// Prints data to the serial port as human-readable ASCII text.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(row);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;;&quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(value);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;;&quot;&lt;/span&gt;);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7E7E7E;&quot;&gt;// if 99 is given, set servos to initial position&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt;(value &amp;gt; 99)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;setInitialPositionValues();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt;(value &amp;gt; 11.0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;float&lt;/span&gt; angle = (value - 11.0) * 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;servo11Angle&amp;nbsp;=&amp;nbsp;(&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt;)angle;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt;(value &amp;gt; 10.0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;float&lt;/span&gt; angle = (value - 10.0) * 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;servo10Angle&amp;nbsp;=&amp;nbsp;(&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt;)angle;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt;(value &amp;gt; 9.0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;float&lt;/span&gt; angle = (value - 9.0) * 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;servo09Angle&amp;nbsp;=&amp;nbsp;(&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt;)angle;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt;(value &amp;gt; 8.0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;float&lt;/span&gt; angle = (value - 8.0) * 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;servo08Angle&amp;nbsp;=&amp;nbsp;(&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt;)angle;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt;(value &amp;gt; 7.0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;float&lt;/span&gt; angle = (value - 7.0) * 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;servo07Angle&amp;nbsp;=&amp;nbsp;(&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt;)angle;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt;(value &amp;gt; 6.0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;float&lt;/span&gt; angle = (value - 6.0) * 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;servo06Angle&amp;nbsp;=&amp;nbsp;(&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt;)angle;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt;(value &amp;gt; 5.0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;float&lt;/span&gt; angle = (value - 5.0) * 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;servo05Angle&amp;nbsp;=&amp;nbsp;(&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt;)angle;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt;(value &amp;gt; 4.0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;float&lt;/span&gt; angle = (value - 4.0) * 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;servo04Angle&amp;nbsp;=&amp;nbsp;(&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt;)angle;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt;(value &amp;gt; 3.0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;float&lt;/span&gt; angle = (value - 3.0) * 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;servo03Angle&amp;nbsp;=&amp;nbsp;(&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt;)angle;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt;(value &amp;gt; 2.0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;float&lt;/span&gt; angle = (value - 2.0) * 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;servo02Angle&amp;nbsp;=&amp;nbsp;(&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt;)angle;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt;(value &amp;gt; 1.0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;float&lt;/span&gt; angle = (value - 1.0) * 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;servo01Angle&amp;nbsp;=&amp;nbsp;(&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt;)angle;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt;(value &amp;gt; 0.0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;float&lt;/span&gt; angle = (value - 0.0) * 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;servo00Angle&amp;nbsp;=&amp;nbsp;(&lt;span style=&quot;color: #CC6600;&quot;&gt;int&lt;/span&gt;)angle;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;}

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7E7E7E;&quot;&gt;//  printOutServoAngles();&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;if&lt;/span&gt;(value &amp;gt; 0.0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printOutServoAnglesToCsv();
&amp;nbsp;&amp;nbsp;}

&amp;nbsp;&amp;nbsp;value&amp;nbsp;=&amp;nbsp;0;

&amp;nbsp;&amp;nbsp;servo00.&lt;span style=&quot;color: #CC6600;&quot;&gt;write&lt;/span&gt;(servo00Angle);
&amp;nbsp;&amp;nbsp;servo01.&lt;span style=&quot;color: #CC6600;&quot;&gt;write&lt;/span&gt;(servo01Angle);
&amp;nbsp;&amp;nbsp;servo02.&lt;span style=&quot;color: #CC6600;&quot;&gt;write&lt;/span&gt;(servo02Angle);
&amp;nbsp;&amp;nbsp;servo03.&lt;span style=&quot;color: #CC6600;&quot;&gt;write&lt;/span&gt;(servo03Angle);
&amp;nbsp;&amp;nbsp;servo04.&lt;span style=&quot;color: #CC6600;&quot;&gt;write&lt;/span&gt;(servo04Angle);

&amp;nbsp;&amp;nbsp;servo05.&lt;span style=&quot;color: #CC6600;&quot;&gt;write&lt;/span&gt;(servo05Angle);
&amp;nbsp;&amp;nbsp;servo06.&lt;span style=&quot;color: #CC6600;&quot;&gt;write&lt;/span&gt;(servo06Angle);
&amp;nbsp;&amp;nbsp;servo07.&lt;span style=&quot;color: #CC6600;&quot;&gt;write&lt;/span&gt;(servo07Angle);
&amp;nbsp;&amp;nbsp;servo08.&lt;span style=&quot;color: #CC6600;&quot;&gt;write&lt;/span&gt;(servo08Angle);
&amp;nbsp;&amp;nbsp;servo09.&lt;span style=&quot;color: #CC6600;&quot;&gt;write&lt;/span&gt;(servo09Angle);

&amp;nbsp;&amp;nbsp;servo10.&lt;span style=&quot;color: #CC6600;&quot;&gt;write&lt;/span&gt;(servo10Angle);
&amp;nbsp;&amp;nbsp;servo11.&lt;span style=&quot;color: #CC6600;&quot;&gt;write&lt;/span&gt;(servo11Angle);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;delay&lt;/span&gt;(50);
}

&lt;span style=&quot;color: #CC6600;&quot;&gt;void&lt;/span&gt; setInitialPositionValues()
{
&amp;nbsp;&amp;nbsp;servo00Angle&amp;nbsp;=&amp;nbsp;84;
&amp;nbsp;&amp;nbsp;servo01Angle&amp;nbsp;=&amp;nbsp;80;
&amp;nbsp;&amp;nbsp;servo02Angle&amp;nbsp;=&amp;nbsp;86;
&amp;nbsp;&amp;nbsp;servo03Angle&amp;nbsp;=&amp;nbsp;79;
&amp;nbsp;&amp;nbsp;servo04Angle&amp;nbsp;=&amp;nbsp;95;

&amp;nbsp;&amp;nbsp;servo05Angle&amp;nbsp;=&amp;nbsp;85;
&amp;nbsp;&amp;nbsp;servo06Angle&amp;nbsp;=&amp;nbsp;85;
&amp;nbsp;&amp;nbsp;servo07Angle&amp;nbsp;=&amp;nbsp;85;
&amp;nbsp;&amp;nbsp;servo08Angle&amp;nbsp;=&amp;nbsp;81;
&amp;nbsp;&amp;nbsp;servo09Angle&amp;nbsp;=&amp;nbsp;88;

&amp;nbsp;&amp;nbsp;servo10Angle&amp;nbsp;=&amp;nbsp;79;
&amp;nbsp;&amp;nbsp;servo11Angle&amp;nbsp;=&amp;nbsp;79;
}

&lt;span style=&quot;color: #CC6600;&quot;&gt;void&lt;/span&gt; printOutServoAnglesToCsv()
{
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(servo00Angle);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;;&quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(servo01Angle);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;;&quot;&lt;/span&gt;); 
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(servo02Angle);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;;&quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(servo03Angle);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;;&quot;&lt;/span&gt;); 
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(servo04Angle);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;;&quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(servo05Angle);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;;&quot;&lt;/span&gt;); 
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(servo06Angle);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;;&quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(servo07Angle);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;;&quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(servo08Angle);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;;&quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(servo09Angle);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;;&quot;&lt;/span&gt;); 
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(servo10Angle);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;;&quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #CC6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #CC6600;&quot;&gt;println&lt;/span&gt;(servo11Angle);
}&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/7281686213151889585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/7281686213151889585?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/7281686213151889585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/7281686213151889585'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/01/control-12-servos-with-arduino-using.html' title='Control 12 Servos with Arduino using Serial Monitor'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-6089226691606029838</id><published>2011-01-25T07:07:00.000+01:00</published><updated>2011-01-25T07:07:50.508+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Free Online Tool"/><category scheme="http://www.blogger.com/atom/ns#" term="Graphic"/><title type='text'>Color Schemer Online</title><content type='html'>Enter an RGB or HEX value, or click on the Color Palette below&lt;br /&gt;
&lt;a href=&quot;http://www.colorschemer.com/online.html&quot;&gt;&lt;br /&gt;
http://www.colorschemer.com/online.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/6089226691606029838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/6089226691606029838?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/6089226691606029838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/6089226691606029838'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/01/color-schemer-online.html' title='Color Schemer Online'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-1621848692153781576</id><published>2011-01-22T11:48:00.000+01:00</published><updated>2011-01-22T11:48:44.369+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="Processing"/><title type='text'>Processing in Eclipse</title><content type='html'>This tutorial is for Processing version 1.1+ and assumes you already have Java and Processing installed on your computer. This is also not an Eclipse tutorial, but just covers the basics to get you up and running with Processing in Eclipse. &lt;br /&gt;
&lt;a href=&quot;http://processing.org/learning/eclipse/&quot;&gt;&lt;br /&gt;
http://processing.org/learning/eclipse/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/1621848692153781576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/1621848692153781576?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/1621848692153781576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/1621848692153781576'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/01/processing-in-eclipse.html' title='Processing in Eclipse'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-5880521222750828856</id><published>2011-01-11T06:56:00.000+01:00</published><updated>2011-01-11T06:56:04.280+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="AVR Microcontroller"/><title type='text'>MHVLib - an efficiency oriented library for AVR microcontrollers</title><content type='html'>Whats Implemented&lt;br /&gt;
* Digital I/O&lt;br /&gt;
* Timers&lt;br /&gt;
* Serial (both busy-waiting and asynchronous)&lt;br /&gt;
* External Interrupts&lt;br /&gt;
* Servo control&lt;br /&gt;
* Analogue to digital&lt;br /&gt;
* Hardware PWM&lt;br /&gt;
* Gamma correction - calculate on the fly, or lookup tables (recommended)&lt;br /&gt;
* Fast synchronous serial shifter&lt;br /&gt;
* Software H Bridge for driving naked transistors (with PWM support)&lt;br /&gt;
* Realtime Clock &amp;amp; event triggering&lt;br /&gt;
* Debouncing (detect button presses, as well as held buttons)&lt;br /&gt;
* Software PWM Matrix (for passive LED matrices)&lt;br /&gt;
* HT1632 based LED matrix displays such as the Sure Electronics DE-DP105 (search for 0832 led matrix on Ebay)&lt;br /&gt;
* HD44780 &amp;amp; compatible LCD character displays&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMEIcM2T4q3K3oZ4YDha1cdXfMTqshcKCUNJvrkNKXqzxyRdDv1su4-rFGmKwFCu258PeoMg6SCZqznpfYG7I7lX_86jeJgkmhtVslPWDcFN5ssIK3HH7qAxWXeEOvNJAHfzW5pbxYDq1i/s1600/Arduino_Uno.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMEIcM2T4q3K3oZ4YDha1cdXfMTqshcKCUNJvrkNKXqzxyRdDv1su4-rFGmKwFCu258PeoMg6SCZqznpfYG7I7lX_86jeJgkmhtVslPWDcFN5ssIK3HH7qAxWXeEOvNJAHfzW5pbxYDq1i/s200/Arduino_Uno.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.makehackvoid.com/mhvlib&quot;&gt;http://www.makehackvoid.com/mhvlib&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/5880521222750828856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/5880521222750828856?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/5880521222750828856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/5880521222750828856'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/01/mhvlib-efficiency-oriented-library-for.html' title='MHVLib - an efficiency oriented library for AVR microcontrollers'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMEIcM2T4q3K3oZ4YDha1cdXfMTqshcKCUNJvrkNKXqzxyRdDv1su4-rFGmKwFCu258PeoMg6SCZqznpfYG7I7lX_86jeJgkmhtVslPWDcFN5ssIK3HH7qAxWXeEOvNJAHfzW5pbxYDq1i/s72-c/Arduino_Uno.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-5505585236103044669</id><published>2011-01-09T21:11:00.000+01:00</published><updated>2011-01-09T21:11:03.351+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Android 3.0 Preview</title><content type='html'>&lt;object width=&quot;640&quot; height=&quot;385&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/hPUGNCIozp0?fs=1&amp;amp;hl=en_US&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/hPUGNCIozp0?fs=1&amp;amp;hl=en_US&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;640&quot; height=&quot;385&quot;&gt;&lt;/embed&gt;&lt;/object&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/5505585236103044669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/5505585236103044669?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/5505585236103044669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/5505585236103044669'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/01/android-30-preview.html' title='Android 3.0 Preview'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-8412447691274103831</id><published>2011-01-02T17:57:00.000+01:00</published><updated>2011-01-02T17:57:08.064+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Development Tools"/><title type='text'>The Big List of JavaScript, CSS, and HTML Development Tools, Libraries, Projects, and Books</title><content type='html'>Here they are by category:&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#sites&quot;&gt;Sites and Lists to Learn From&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#debug&quot;&gt;Debugging Tools That Make Life MUCH Easier&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#csse&quot;&gt;CSS Editors&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#cssf&quot;&gt;CSS Frameworks&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#cssr&quot;&gt;CSS Resets&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#jslibs&quot;&gt;JavaScript Libraries&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#jsmin&quot;&gt;JavaScript Minifiers&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#jsshells&quot;&gt;JavaScript Shells&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#color&quot;&gt;Color Management&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#editors&quot;&gt;Editors and IDEs&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#wireframe&quot;&gt;Wireframing&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#browsertest&quot;&gt;Browser Testing&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#test&quot;&gt;Testing&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#docs&quot;&gt;Documentation&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#ssjs&quot;&gt;Server-Side JavaScript&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#books-js&quot;&gt;Books – JavaScript/DOM&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#books-jslibs&quot;&gt;Books – JavaScript Libraries&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#books-html&quot;&gt;Books – HTML &amp;amp; CSS&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#books-perf&quot;&gt;Books – Performance&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#podcasts&quot;&gt;Podcasts &amp;amp; Videos&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/#events&quot;&gt;Conferences&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/&quot;&gt;http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/&lt;/a&gt;&amp;nbsp;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/8412447691274103831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/8412447691274103831?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/8412447691274103831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/8412447691274103831'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2011/01/big-list-of-javascript-css-and-html.html' title='The Big List of JavaScript, CSS, and HTML Development Tools, Libraries, Projects, and Books'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-7286576009023295590</id><published>2010-12-29T20:28:00.001+01:00</published><updated>2010-12-29T20:51:42.721+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="HM55B Compass Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Parallax"/><category scheme="http://www.blogger.com/atom/ns#" term="Processing"/><title type='text'>Using HM55B Compass Module from Parallax with Arduino and Processing</title><content type='html'>In this post, you&#39;ll find code samples for using HM55B Compass Module from Parallax with Arduino and Processing.&lt;br /&gt;
&lt;br /&gt;
The Parallax Compass is a dual-axis magnetic field sensor built around the Hitachi HM55B. Parallax makes this compass accessible by providing their surface-mount sensor chip with a 3V onboard voltage regulator and resistor protection in a 0.3 wide 6-pin DIP module. The HM55B is compatible with the BASIC Stamps 5V supply and signal levels. Compass date is read using a simple synchronous serial interface (the BASIC Stamps SHIFTIN and SHIFTOUT commands).&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHosyBkhtcOS3aRnq6qRMms50j6rBnkn2sUG7aavJOqwH3RI9yc_iWkYB1CjLl7qpi9cERSNPfvPtFr11UzpLJWow_aw1PFxfiT_VlEkgKOzHAaaNqS0mDAY8DOe8MLl1s1M5vJ7KBfzRC/s1600/HM55B+Compass+Module.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHosyBkhtcOS3aRnq6qRMms50j6rBnkn2sUG7aavJOqwH3RI9yc_iWkYB1CjLl7qpi9cERSNPfvPtFr11UzpLJWow_aw1PFxfiT_VlEkgKOzHAaaNqS0mDAY8DOe8MLl1s1M5vJ7KBfzRC/s200/HM55B+Compass+Module.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8MaGIwyNrQZKCe_4sCBtYgsu8bnyFERN30FcYdzvG9G3wuvfb5B9nR4OnG4-Nf0U4nS4Ta8zOQGpRAPhr2b-y2fv4kkCYQxxzm5qArhESAhYN7o59esl00NeL8S5gDVg0BG2j8HawnGfj/s1600/HM55B+Compass+Module+II.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8MaGIwyNrQZKCe_4sCBtYgsu8bnyFERN30FcYdzvG9G3wuvfb5B9nR4OnG4-Nf0U4nS4Ta8zOQGpRAPhr2b-y2fv4kkCYQxxzm5qArhESAhYN7o59esl00NeL8S5gDVg0BG2j8HawnGfj/s200/HM55B+Compass+Module+II.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;165&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
You can buy the Thumb Joystick Module from: &lt;a href=&quot;http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/hm55b/List/0/SortField/4/ProductID/98/Default.aspx&quot;&gt;http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/hm55b/List/0/SortField/4/ProductID/98/Default.aspx&lt;/a&gt; or &lt;a href=&quot;http://www.zerko.ch/parallaxshop/robotzubehoer/hm55b-digital-compass.php&quot;&gt;http://www.zerko.ch/parallaxshop/robotzubehoer/hm55b-digital-compass.php&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Arduino part of this post is based on Arduino Playground sample from &lt;a href=&quot;http://www.arduino.cc/playground/Main/HM55B&quot;&gt;http://www.arduino.cc/playground/Main/HM55B&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Pin connections are:&lt;br /&gt;
Compass Pin 1and Pin 2 =&amp;gt; Arduino Pin 10&lt;br /&gt;
Compass Pin 3 =&amp;gt; Arduino GND&lt;br /&gt;
Compass Pin 4 =&amp;gt; Arduino Pin 8&lt;br /&gt;
Compass Pin 5 =&amp;gt; Arduino Pin 9&lt;br /&gt;
Compass Pin 6 =&amp;gt; Arduino 5V&lt;br /&gt;
&lt;br /&gt;
The Processing code block is getting the miscellaneous (delivered from arduino) values from  Serial protocol and using these values for rotating a box in a circle.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilVj34vAlJzd-Dw6DLoLzxJECQR9Lw10octLtwSZM5SeefuGiU-3fTzrHNd_f-c5wGrqFtsUTd21aC2J9WJ5FeyqtLiW_eAuj42XDjuMlDNVw3YgEyZVzKP1R-CfddqA4ZRn7IksprSpB8/s1600/Output.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;313&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilVj34vAlJzd-Dw6DLoLzxJECQR9Lw10octLtwSZM5SeefuGiU-3fTzrHNd_f-c5wGrqFtsUTd21aC2J9WJ5FeyqtLiW_eAuj42XDjuMlDNVw3YgEyZVzKP1R-CfddqA4ZRn7IksprSpB8/s400/Output.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Arduino Code (from &lt;a href=&quot;http://www.arduino.cc/playground/Main/HM55B&quot;&gt;http://www.arduino.cc/playground/Main/HM55B&lt;/a&gt;):&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;/*&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;/////////////////////////////////&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;&amp;nbsp;Htachi&amp;nbsp;HM55B&amp;nbsp;Compass&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;&amp;nbsp;parallax&amp;nbsp;(#)&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;&amp;nbsp;&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;&amp;nbsp;AUTHOR:&amp;nbsp;&amp;nbsp;&amp;nbsp;kiilo&amp;nbsp;kiilo@kiilo.org&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;&amp;nbsp;License:&amp;nbsp;&amp;nbsp;http://creativecommons.org/licenses/by-nc-sa/2.5/ch/&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;&amp;nbsp;&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;&amp;nbsp;http://parallax.com/Store/Microcontrollers/BASICStampModules/tabid/134/txtSearch/hm55b/List/1/ProductID/98/Default.aspx?SortField=ProductName%2cProductName&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;&amp;nbsp;http://sage.medienkunst.ch/tiki-index.php?page=HowTo_Arduino_Parallax_HM55B_Kompass&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;&amp;nbsp;http://arduino.cc/playground/HM55B&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;&amp;nbsp;&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;&amp;nbsp;/////////////////////////////////&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;&amp;nbsp;*/&lt;/span&gt;
#include&amp;nbsp;&amp;lt;math.h&amp;gt;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// (no semicolon)&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;////&amp;nbsp;VARS&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;byte&lt;/span&gt; CLK_pin = 8;
&lt;span style=&quot;color: #cc6600;&quot;&gt;byte&lt;/span&gt; EN_pin = 9;
&lt;span style=&quot;color: #cc6600;&quot;&gt;byte&lt;/span&gt; DIO_pin = 10;

&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; X_Data = 0;
&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; Y_Data = 0;
&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; angle;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;////&amp;nbsp;FUNCTIONS&lt;/span&gt;

&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; ShiftOut(&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; Value, &lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; BitsCount) {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt;(&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i = BitsCount; i &amp;gt;= 0; i--) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;digitalWrite&lt;/span&gt;(CLK_pin, &lt;span style=&quot;color: #006699;&quot;&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; ((Value &amp;amp; 1 &amp;lt;&amp;lt; i) == ( 1 &amp;lt;&amp;lt; i)) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;digitalWrite&lt;/span&gt;(DIO_pin, &lt;span style=&quot;color: #006699;&quot;&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Serial.print(&quot;1&quot;);&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;else&lt;/span&gt; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;digitalWrite&lt;/span&gt;(DIO_pin, &lt;span style=&quot;color: #006699;&quot;&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Serial.print(&quot;0&quot;);&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;digitalWrite&lt;/span&gt;(CLK_pin, &lt;span style=&quot;color: #006699;&quot;&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delayMicroseconds&lt;/span&gt;(1);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Serial.print(&quot; &quot;);&lt;/span&gt;
}

&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; ShiftIn(&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; BitsCount) {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; ShiftIn_result;
&amp;nbsp;&amp;nbsp;ShiftIn_result&amp;nbsp;=&amp;nbsp;0;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;pinMode&lt;/span&gt;(DIO_pin, &lt;span style=&quot;color: #006699;&quot;&gt;INPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;for&lt;/span&gt;(&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; i = BitsCount; i &amp;gt;= 0; i--) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;digitalWrite&lt;/span&gt;(CLK_pin, &lt;span style=&quot;color: #006699;&quot;&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delayMicroseconds&lt;/span&gt;(1);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #cc6600;&quot;&gt;digitalRead&lt;/span&gt;(DIO_pin) == &lt;span style=&quot;color: #006699;&quot;&gt;HIGH&lt;/span&gt;) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ShiftIn_result&amp;nbsp;=&amp;nbsp;(ShiftIn_result&amp;nbsp;&amp;lt;&amp;lt;&amp;nbsp;1)&amp;nbsp;+&amp;nbsp;1;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Serial.print(&quot;x&quot;);&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;else&lt;/span&gt; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ShiftIn_result&amp;nbsp;=&amp;nbsp;(ShiftIn_result&amp;nbsp;&amp;lt;&amp;lt;&amp;nbsp;1)&amp;nbsp;+&amp;nbsp;0;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Serial.print(&quot;_&quot;);&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;digitalWrite&lt;/span&gt;(CLK_pin, &lt;span style=&quot;color: #006699;&quot;&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delayMicroseconds&lt;/span&gt;(1);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//Serial.print(&quot;:&quot;);&lt;/span&gt;

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// below is difficult to understand:&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// if bit 11 is Set the value is negative&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// the representation of negative values you&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// have to add B11111000 in the upper Byte of&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// the integer.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// see: http://en.wikipedia.org/wiki/Two%27s_complement&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; ((ShiftIn_result &amp;amp; 1 &amp;lt;&amp;lt; 11) == 1 &amp;lt;&amp;lt; 11) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ShiftIn_result&amp;nbsp;=&amp;nbsp;(&lt;span style=&quot;color: #006699;&quot;&gt;B11111000&lt;/span&gt; &amp;lt;&amp;lt; 8) | ShiftIn_result; 
&amp;nbsp;&amp;nbsp;}


&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;return&lt;/span&gt; ShiftIn_result;
}

&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; HM55B_Reset() {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;pinMode&lt;/span&gt;(DIO_pin, &lt;span style=&quot;color: #006699;&quot;&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;digitalWrite&lt;/span&gt;(EN_pin, &lt;span style=&quot;color: #006699;&quot;&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;ShiftOut(&lt;span style=&quot;color: #006699;&quot;&gt;B0000&lt;/span&gt;, 3);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;digitalWrite&lt;/span&gt;(EN_pin, &lt;span style=&quot;color: #006699;&quot;&gt;HIGH&lt;/span&gt;);
}

&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; HM55B_StartMeasurementCommand() {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;pinMode&lt;/span&gt;(DIO_pin, &lt;span style=&quot;color: #006699;&quot;&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;digitalWrite&lt;/span&gt;(EN_pin, &lt;span style=&quot;color: #006699;&quot;&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;ShiftOut(&lt;span style=&quot;color: #006699;&quot;&gt;B1000&lt;/span&gt;, 3);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;digitalWrite&lt;/span&gt;(EN_pin, &lt;span style=&quot;color: #006699;&quot;&gt;HIGH&lt;/span&gt;);
}

&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; HM55B_ReadCommand() {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; result = 0;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;pinMode&lt;/span&gt;(DIO_pin, &lt;span style=&quot;color: #006699;&quot;&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;digitalWrite&lt;/span&gt;(EN_pin, &lt;span style=&quot;color: #006699;&quot;&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;ShiftOut(&lt;span style=&quot;color: #006699;&quot;&gt;B1100&lt;/span&gt;, 3);
&amp;nbsp;&amp;nbsp;result&amp;nbsp;=&amp;nbsp;ShiftIn(3);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;return&lt;/span&gt; result;
}


&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;setup&lt;/b&gt;&lt;/span&gt;() {
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #cc6600;&quot;&gt;begin&lt;/span&gt;(115200);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;pinMode&lt;/span&gt;(EN_pin, &lt;span style=&quot;color: #006699;&quot;&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;pinMode&lt;/span&gt;(CLK_pin, &lt;span style=&quot;color: #006699;&quot;&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;pinMode&lt;/span&gt;(DIO_pin, &lt;span style=&quot;color: #006699;&quot;&gt;INPUT&lt;/span&gt;);

&amp;nbsp;&amp;nbsp;HM55B_Reset();
}

&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;loop&lt;/b&gt;&lt;/span&gt;() {
&amp;nbsp;&amp;nbsp;HM55B_StartMeasurementCommand();&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// necessary!!&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(40); &lt;span style=&quot;color: #7e7e7e;&quot;&gt;// the data is 40ms later ready&lt;/span&gt;

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(HM55B_ReadCommand()); &lt;span style=&quot;color: #7e7e7e;&quot;&gt;// read data and print Status&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot; &quot;&lt;/span&gt;);  

&amp;nbsp;&amp;nbsp;X_Data&amp;nbsp;=&amp;nbsp;ShiftIn(11);&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Field strength in X&lt;/span&gt;
&amp;nbsp;&amp;nbsp;Y_Data&amp;nbsp;=&amp;nbsp;ShiftIn(11);&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// and Y direction&lt;/span&gt;

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(X_Data); &lt;span style=&quot;color: #7e7e7e;&quot;&gt;// print X strength&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot; &quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(Y_Data); &lt;span style=&quot;color: #7e7e7e;&quot;&gt;// print Y strength&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot; &quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;digitalWrite&lt;/span&gt;(EN_pin, &lt;span style=&quot;color: #006699;&quot;&gt;HIGH&lt;/span&gt;); &lt;span style=&quot;color: #7e7e7e;&quot;&gt;// ok deselect chip&lt;/span&gt;
&amp;nbsp;&amp;nbsp;angle&amp;nbsp;=&amp;nbsp;180&amp;nbsp;*&amp;nbsp;(&lt;span style=&quot;color: #cc6600;&quot;&gt;atan2&lt;/span&gt;(-1 * Y_Data , X_Data) / M_PI); &lt;span style=&quot;color: #7e7e7e;&quot;&gt;// angle is atan( -y/x) !!!&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(angle); &lt;span style=&quot;color: #7e7e7e;&quot;&gt;// print angle&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #cc6600;&quot;&gt;println&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;&quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;Hm55bCompassModuleProcessingHm55bCompassModuleProcessing
}
&lt;/pre&gt;&lt;br /&gt;
&lt;b&gt;Processing Code:&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;Author:&amp;nbsp;&amp;nbsp;Özgür&amp;nbsp;Aytekin&amp;nbsp;-&amp;nbsp;http://ozguraytekin.blogspot.com&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;License:&amp;nbsp;http://creativecommons.org/licenses/by-nc-sa/2.5/ch/&lt;/span&gt;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;The&amp;nbsp;Processing&amp;nbsp;serial&amp;nbsp;library&amp;nbsp;allows&amp;nbsp;for&amp;nbsp;easily&amp;nbsp;reading&amp;nbsp;and&amp;nbsp;writing&amp;nbsp;data&amp;nbsp;to&amp;nbsp;and&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;from&amp;nbsp;external&amp;nbsp;machines.&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;It&amp;nbsp;allows&amp;nbsp;two&amp;nbsp;computers&amp;nbsp;to&amp;nbsp;send&amp;nbsp;and&amp;nbsp;receive&amp;nbsp;data&amp;nbsp;and&amp;nbsp;gives&amp;nbsp;you&amp;nbsp;the&amp;nbsp;flexibility&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;to&amp;nbsp;communicate&amp;nbsp;with&amp;nbsp;custom&amp;nbsp;microcontroller&amp;nbsp;devices,&amp;nbsp;using&amp;nbsp;them&amp;nbsp;as&amp;nbsp;the&amp;nbsp;input&amp;nbsp;or&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;output&amp;nbsp;to&amp;nbsp;Processing&amp;nbsp;programs.&amp;nbsp;&lt;/span&gt;
import&amp;nbsp;processing.serial.*;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;Define&amp;nbsp;variable&amp;nbsp;for&amp;nbsp;receiving&amp;nbsp;data&amp;nbsp;using&amp;nbsp;the&amp;nbsp;communication&amp;nbsp;protocol&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt; serialPort;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;Define&amp;nbsp;variables&amp;nbsp;for&amp;nbsp;storing&amp;nbsp;miscellaneous&amp;nbsp;variables&amp;nbsp;(delivered&amp;nbsp;from&amp;nbsp;arduino)&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;float&lt;/span&gt; hm55bStatus, fieldStrengthInX, fieldStrengthInY, angleRawValue, angleRotateValue = 0;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;Define&amp;nbsp;a&amp;nbsp;variable&amp;nbsp;for&amp;nbsp;storing&amp;nbsp;angle&amp;nbsp;between&amp;nbsp;0&amp;nbsp;and&amp;nbsp;360&amp;nbsp;degree&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;float&lt;/span&gt; angleDisplayValue = 0;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;Called&amp;nbsp;once&amp;nbsp;when&amp;nbsp;the&amp;nbsp;program&amp;nbsp;is&amp;nbsp;started.&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;setup&lt;/b&gt;&lt;/span&gt;()
{
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Defines the dimension of the display window in units of pixels.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// The size() function must be the first line in setup().&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;size&lt;/span&gt;(640, 480);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Specifies the number of frames to be displayed every second.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// If the processor is not fast enough to maintain the specified rate,&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// it will not be achieved.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// For example, the function call frameRate(24) will attempt to refresh 24 times a second.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// It is recommended to set the frame rate within setup().&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// The default rate is 60 frames per second.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;frameRate(24);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Gets a list of all available serial ports.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Use println() to write the information to the text window.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;println&lt;/span&gt;(&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.list());

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Class for sending and receiving data using the serial communication protocol.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Constructor Serial(parent, name, rate)&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// parent = PApplet: typically use &quot;this&quot;, name = String: name of the port (COM1 is the default),&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// rate = int: 115200 &lt;/span&gt;
&amp;nbsp;&amp;nbsp;serialPort&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;(&lt;span style=&quot;color: #cc6600;&quot;&gt;this&lt;/span&gt;, &lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.list()[1], 115200);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Sets a specific byte to buffer until before calling serialEvent().&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Don&#39;t generate a serialEvent() until get a newline character&lt;/span&gt;
&amp;nbsp;&amp;nbsp;serialPort.bufferUntil(&lt;span style=&quot;color: #006699;&quot;&gt;&#39;\n&#39;&lt;/span&gt;);
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;Called&amp;nbsp;when&amp;nbsp;data&amp;nbsp;is&amp;nbsp;available.&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; serialEvent(&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt; serialPort)
{
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Reads from the port into a buffer of bytes up to and including a particular character.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// If the character isn&#39;t in the buffer, &#39;null&#39; is returned.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;String&lt;/span&gt; inputString = serialPort.readStringUntil(&lt;span style=&quot;color: #006699;&quot;&gt;&#39;\n&#39;&lt;/span&gt;);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; (inputString != &lt;span style=&quot;color: #cc6600;&quot;&gt;null&lt;/span&gt;)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Removes whitespace characters from the beginning and end of a String.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// In addition to standard whitespace characters such as space, carriage return,&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// and tab, this function also removes the Unicode &quot;nbsp&quot; character.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inputString&amp;nbsp;=&amp;nbsp;trim(inputString);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// The split() function breaks a string into pieces using a character or string as the divider.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// filling substrings into a float array&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;float&lt;/span&gt;[] values = &lt;span style=&quot;color: #cc6600;&quot;&gt;float&lt;/span&gt;(split(inputString, &lt;span style=&quot;color: #006699;&quot;&gt;&quot; &quot;&lt;/span&gt;));

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// we are waiting for four elements&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// put the numbers in the values array-variable&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt;(values.length &amp;gt;= 4)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;hm55bStatus&amp;nbsp;=&amp;nbsp;values[0];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fieldStrengthInX&amp;nbsp;&amp;nbsp;=&amp;nbsp;values[1];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fieldStrengthInY&amp;nbsp;=&amp;nbsp;values[2];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;angleRawValue&amp;nbsp;=&amp;nbsp;values[3];

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// hm55b is delivering values between 0 and 180 and 0 and -179&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// when the angle value is less than 0, adding 360 to angle&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// is delivering the degree between 0 and 359&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt;(angleRawValue &amp;gt;= 0 &amp;amp;&amp;amp; angleRawValue &amp;lt;= 180)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;angleDisplayValue&amp;nbsp;=&amp;nbsp;angleRawValue;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt;(angleRawValue &amp;lt; 0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;angleDisplayValue&amp;nbsp;=&amp;nbsp;360&amp;nbsp;+&amp;nbsp;angleRawValue;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;}
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;Called&amp;nbsp;directly&amp;nbsp;after&amp;nbsp;setup()&amp;nbsp;and&amp;nbsp;continuously&amp;nbsp;executes&amp;nbsp;the&amp;nbsp;lines&amp;nbsp;of&amp;nbsp;code&amp;nbsp;contained&amp;nbsp;inside&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;its&amp;nbsp;block&amp;nbsp;until&amp;nbsp;the&amp;nbsp;program&amp;nbsp;is&amp;nbsp;stopped&amp;nbsp;or&amp;nbsp;noLoop()&amp;nbsp;is&amp;nbsp;called.&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;The&amp;nbsp;draw()&amp;nbsp;function&amp;nbsp;is&amp;nbsp;called&amp;nbsp;automatically&amp;nbsp;and&amp;nbsp;should&amp;nbsp;never&amp;nbsp;be&amp;nbsp;called&amp;nbsp;explicitly.&amp;nbsp;&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; draw()
{
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// The background() function sets the color used for the background of the Processing window. &lt;/span&gt;
&amp;nbsp;&amp;nbsp;background(200);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Sets the color used to fill shapes.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;fill&lt;/span&gt;(153);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;angleRawValue: &quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(angleRawValue);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&#39;\t&#39;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;angleDisplayValue: &quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;println&lt;/span&gt;(angleDisplayValue);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Re-maps a number from one range to another.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;angleRotateValue&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;map&lt;/span&gt;(angleRawValue, 0, 359, 0, &lt;span style=&quot;color: #006699;&quot;&gt;PI&lt;/span&gt; * 2);

&amp;nbsp;&amp;nbsp;noFill();
&amp;nbsp;&amp;nbsp;ellipseMode(CENTER);
&amp;nbsp;&amp;nbsp;ellipse(&lt;span style=&quot;color: #cc6600;&quot;&gt;width&lt;/span&gt;/2, &lt;span style=&quot;color: #cc6600;&quot;&gt;height&lt;/span&gt;/2, 200, 200);
&amp;nbsp;&amp;nbsp;ellipse(&lt;span style=&quot;color: #cc6600;&quot;&gt;width&lt;/span&gt;/2, &lt;span style=&quot;color: #cc6600;&quot;&gt;height&lt;/span&gt;/2, 20, 20);

&amp;nbsp;&amp;nbsp;text(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;North&quot;&lt;/span&gt;, &lt;span style=&quot;color: #cc6600;&quot;&gt;width&lt;/span&gt;/2 - 16, 130);
&amp;nbsp;&amp;nbsp;text(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;South&quot;&lt;/span&gt;, &lt;span style=&quot;color: #cc6600;&quot;&gt;width&lt;/span&gt;/2 - 16, 360);

&amp;nbsp;&amp;nbsp;text(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;West&quot;&lt;/span&gt;, 180, &lt;span style=&quot;color: #cc6600;&quot;&gt;height&lt;/span&gt;/2);
&amp;nbsp;&amp;nbsp;text(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;East&quot;&lt;/span&gt;, 430, &lt;span style=&quot;color: #cc6600;&quot;&gt;height&lt;/span&gt;/2);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Specifies an amount to displace objects within the display window.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// The x parameter specifies left/right translation,&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// the y parameter specifies up/down translation,&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// and the z parameter specifies translations toward/away from the screen.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;translate(&lt;span style=&quot;color: #cc6600;&quot;&gt;width&lt;/span&gt;/2, &lt;span style=&quot;color: #cc6600;&quot;&gt;height&lt;/span&gt;/2);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Rotates a shape the amount specified by the angle parameter.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;rotate(angleRotateValue);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Draws a rectangle to the screen.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;rect(-6,&amp;nbsp;-&amp;nbsp;100,&amp;nbsp;12,&amp;nbsp;100);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Forces the program to stop running for a specified time. &lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(500);
}
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/7286576009023295590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/7286576009023295590?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/7286576009023295590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/7286576009023295590'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2010/12/using-hm55b-compass-module-from.html' title='Using HM55B Compass Module from Parallax with Arduino and Processing'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHosyBkhtcOS3aRnq6qRMms50j6rBnkn2sUG7aavJOqwH3RI9yc_iWkYB1CjLl7qpi9cERSNPfvPtFr11UzpLJWow_aw1PFxfiT_VlEkgKOzHAaaNqS0mDAY8DOe8MLl1s1M5vJ7KBfzRC/s72-c/HM55B+Compass+Module.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-2572204235276849328</id><published>2010-12-27T21:00:00.002+01:00</published><updated>2010-12-27T21:00:58.049+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="Free E-Book"/><title type='text'>Arduino Programming Notebook</title><content type='html'>A beginner&#39;s reference to the programming syntax of the Arduino microcontroller. Includes information on program structure, variables, datatypes, arithmetic, constants, flow control, and most of the common functions of the core library. Also includes an appendix with schematics and simple programs for several common tasks.&lt;br /&gt;
&lt;a href=&quot;http://www.lulu.com/product/download/arduino-programming-notebook/3524028&quot;&gt;&lt;br /&gt;
http://www.lulu.com/product/download/arduino-programming-notebook/3524028&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/2572204235276849328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/2572204235276849328?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/2572204235276849328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/2572204235276849328'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2010/12/arduino-programming-notebook.html' title='Arduino Programming Notebook'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-4895284917268770331</id><published>2010-12-25T10:27:00.001+01:00</published><updated>2010-12-25T12:15:59.488+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><title type='text'>Arduino 0022 now available</title><content type='html'>Arduino 0022 now available: &lt;a href=&quot;http://arduino.cc/en/Main/Software&quot;&gt;http://arduino.cc/en/Main/Software&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Includes an SD card library and lots of other fixes and improvements.&lt;br /&gt;
&lt;br /&gt;
ARDUINO 0022 - 2010.12.24&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;[core / libraries]&lt;/b&gt;&lt;br /&gt;
* Adding an SD card library based on sdfatlib by Bill Greiman and the&lt;br /&gt;
MemoryCard library by Philip Lindsay (follower) for SparkFun.&lt;br /&gt;
&lt;a href=&quot;http://arduino.cc/en/Reference/SD&quot;&gt;http://arduino.cc/en/Reference/SD&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
* Added character manipulation macros (from Wiring): isAlphaNumeric(),&lt;br /&gt;
isAlpha(), isAscii(), isWhitespace(), isControl(), isDigit(), isGraph(),&lt;br /&gt;
isLowerCase(), isPrintable(), isPunct(), isSpace(), isUpperCase(),&lt;br /&gt;
isHexadecimalDigit(), toAscii(), toLowerCase(), toLowerCase().&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=418&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=418&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
* Added String.toInt() function.&lt;br /&gt;
&lt;br /&gt;
* Refactoring core to use register-based, not CPU-based, #ifdefs.&lt;br /&gt;
Patch by Mark Sproul.&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=307&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=307&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=315&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=315&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=316&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=316&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=323&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=323&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=324&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=324&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=340&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=340&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
* Modification of serial baud rate calculation to match bootloader and 8U2&lt;br /&gt;
firmware at 57600 baud.&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=394&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=394&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
* Fixed bug in tone() function.&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=361&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=361&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
* Fixed SPI.setClockDivider() function.&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=365&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=365&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
* Fixed EEPROM library on Mega 2560.&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=381&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=381&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
* Hardware serial receive interrupt optimization.&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=391&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=391&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
* Applying the timeout parameter of pulseIn() during measurement of the&lt;br /&gt;
pulse, not just while waiting for it.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;[environment]&lt;/b&gt;&lt;br /&gt;
* Fixed problem with copy as html and angle brackets.&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=29&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=29&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
* Showing serial port selection dialog if serial port not found on upload.&lt;br /&gt;
&lt;br /&gt;
* Remembering serial monitor window size and line ending selection.&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=96&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=96&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=330&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=330&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
* Replaced oro.jar regular expressions with java.regex ones (patch by&lt;br /&gt;
Eberhard Fahle and Christian Maglie).&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=171&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=171&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
* Building the user sketch before the core or libraries, so errors appear&lt;br /&gt;
faster.  Patch by William Westfield and Paul Stoffregen.&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/arduino/issues/detail?id=393&quot;&gt;http://code.google.com/p/arduino/issues/detail?id=393&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
* Setting application icon under Windows.</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/4895284917268770331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/4895284917268770331?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/4895284917268770331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/4895284917268770331'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2010/12/arduino-0022-now-available.html' title='Arduino 0022 now available'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-7403251376959037111</id><published>2010-12-24T07:53:00.000+01:00</published><updated>2010-12-24T07:53:16.683+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>HTML5 Labs</title><content type='html'>The HTML5 Labs site is the place where Microsoft prototypes early and unstable web standard specifications from standards bodies such as the W3C. Sharing these prototypes helps us have informed discussions with developer communities, and contributes to a better implementation experience with draft specifications.&lt;br /&gt;
&lt;a href=&quot; http://html5labs.interoperabilitybridges.com/&quot;&gt;&lt;br /&gt;
http://html5labs.interoperabilitybridges.com/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/7403251376959037111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/7403251376959037111?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/7403251376959037111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/7403251376959037111'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2010/12/html5-labs.html' title='HTML5 Labs'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-5187964469956310105</id><published>2010-12-23T13:04:00.000+01:00</published><updated>2010-12-23T13:04:55.921+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="VirtualBox"/><title type='text'>VirtualBox 4.0 binaries are online</title><content type='html'>&lt;b&gt;VirtualBox 4.0 released!&lt;/b&gt;&lt;br /&gt;
Oracle today released VirtualBox 4.0, a new major release. It now has an open architecture using extension packs and the base package is under GPLv2. See the ChangeLog for details. &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.virtualbox.org/wiki/Downloads&quot;&gt;http://www.virtualbox.org/wiki/Downloads&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL). See &quot;About VirtualBox&quot; for an introduction.&lt;br /&gt;
&lt;br /&gt;
Presently, VirtualBox runs on Windows, Linux, Macintosh and OpenSolaris hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista, Windows 7), DOS/Windows 3.x, Linux (2.4 and 2.6), Solaris and OpenSolaris, and OpenBSD.&lt;br /&gt;
&lt;br /&gt;
VirtualBox is being actively developed with frequent releases and has an ever growing list of features, supported guest operating systems and platforms it runs on. VirtualBox is a community effort backed by a dedicated company: everyone is encouraged to contribute while Oracle ensures the product always meets professional quality criteria.</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/5187964469956310105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/5187964469956310105?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/5187964469956310105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/5187964469956310105'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2010/12/virtualbox-40-binaries-are-online.html' title='VirtualBox 4.0 binaries are online'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-6658177972682410092</id><published>2010-12-22T20:06:00.002+01:00</published><updated>2010-12-22T20:16:55.623+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="Processing"/><category scheme="http://www.blogger.com/atom/ns#" term="Thumb Joystick Module"/><title type='text'>Using Thumb Joystick Module with Arduino and Processing</title><content type='html'>In this post, you find code samples for using a Thumb Joystick Module with Arduino and Processing.&lt;br /&gt;
&lt;br /&gt;
You can buy the Thumb Joystick Module from: &lt;a href=&quot;http://www.nuelectronics.com/estore/index.php?main_page=product_info&amp;amp;cPath=7&amp;amp;products_id=33&quot;&gt;http://www.nuelectronics.com/estore/index.php?main_page=product_info&amp;amp;cPath=7&amp;amp;products_id=33&lt;/a&gt;&lt;span id=&quot;goog_1750791702&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1750791703&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1InEhPvFTdSLW3n51Qwx9d-YP3NgGQoMJnWIcfJ89b53cuuXqC-F8YwtsICmCd3kxBQq-U3YnUWYcW55ewbnCtjG2CQ5gb8aLLqZ9Hok1qGMsZsTVQFFOFhmKw9-4R6xTaR7pdJkPxJtI/s1600/thumb_joystick.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;156&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1InEhPvFTdSLW3n51Qwx9d-YP3NgGQoMJnWIcfJ89b53cuuXqC-F8YwtsICmCd3kxBQq-U3YnUWYcW55ewbnCtjG2CQ5gb8aLLqZ9Hok1qGMsZsTVQFFOFhmKw9-4R6xTaR7pdJkPxJtI/s200/thumb_joystick.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCStCEl4thiO3n0hIyVX1wteaSntEOCer2lwkHCqa4LYdainVXlOBn8zRscperNTfRFzDcQPnDE0eXhSsTR7mFn1eWUYKuDvtYTx3Ph9aLiLCqPMKZ5Si7IIilZQapVRNjDWq2gQIoymHB/s1600/thumb_joystick_1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;153&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCStCEl4thiO3n0hIyVX1wteaSntEOCer2lwkHCqa4LYdainVXlOBn8zRscperNTfRFzDcQPnDE0eXhSsTR7mFn1eWUYKuDvtYTx3Ph9aLiLCqPMKZ5Si7IIilZQapVRNjDWq2gQIoymHB/s200/thumb_joystick_1.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
The Arduino code block is reading the Thumb Joystick values from Port A0 and A1 and sending it to Processing using the Serial class.&lt;br /&gt;
&lt;br /&gt;
The Processing code block is getting the X-Axis and Y-Axis values from Serial protocol and using these values for rotating a box.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizN6kI1kN_9DquepNTAvI6KR-zq2tXQM5fmvllvdrv-EGWDBF20TcR8fG-Oy0LteHT5UHvfFHZBWVJcn11iAnwiaKkaplr9Yivi9JzBZ0ZFIzVh4-7_K_ZFhVO441nEd9ysIb0EpRRB7E7/s1600/ThumbJoystick3dCubeProcessingOutput.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;251&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizN6kI1kN_9DquepNTAvI6KR-zq2tXQM5fmvllvdrv-EGWDBF20TcR8fG-Oy0LteHT5UHvfFHZBWVJcn11iAnwiaKkaplr9Yivi9JzBZ0ZFIzVh4-7_K_ZFhVO441nEd9ysIb0EpRRB7E7/s320/ThumbJoystick3dCubeProcessingOutput.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;Arduino code:&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;Define&amp;nbsp;Arduino&amp;nbsp;Port&amp;nbsp;A0&amp;nbsp;as&amp;nbsp;input&amp;nbsp;for&amp;nbsp;X-Axis&lt;/span&gt;
#define&amp;nbsp;pinAxisX&amp;nbsp;0

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;Define&amp;nbsp;Arduino&amp;nbsp;Port&amp;nbsp;A1&amp;nbsp;as&amp;nbsp;input&amp;nbsp;for&amp;nbsp;Y-Axis&lt;/span&gt;
#define&amp;nbsp;pinAxisY&amp;nbsp;1

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;Define&amp;nbsp;variables&amp;nbsp;for&amp;nbsp;storing&amp;nbsp;X&amp;nbsp;and&amp;nbsp;Y&amp;nbsp;values&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;int&lt;/span&gt; valueAxisX, valueAxisY = 0;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;The&amp;nbsp;setup()&amp;nbsp;function&amp;nbsp;is&amp;nbsp;called&amp;nbsp;when&amp;nbsp;a&amp;nbsp;sketch&amp;nbsp;starts.&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;Use&amp;nbsp;it&amp;nbsp;to&amp;nbsp;initialize&amp;nbsp;variables,&amp;nbsp;pin&amp;nbsp;modes,&amp;nbsp;start&amp;nbsp;using&amp;nbsp;libraries,&amp;nbsp;etc.&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;The&amp;nbsp;setup&amp;nbsp;function&amp;nbsp;will&amp;nbsp;only&amp;nbsp;run&amp;nbsp;once,&amp;nbsp;after&amp;nbsp;each&amp;nbsp;powerup&amp;nbsp;or&amp;nbsp;reset&amp;nbsp;of&amp;nbsp;the&amp;nbsp;Arduino&amp;nbsp;board.&amp;nbsp;&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;setup&lt;/b&gt;&lt;/span&gt;()
{
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Sets the data rate in bits per second (baud) for serial data transmission.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #cc6600;&quot;&gt;begin&lt;/span&gt;(9600);
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;After&amp;nbsp;creating&amp;nbsp;a&amp;nbsp;setup()&amp;nbsp;function,&amp;nbsp;which&amp;nbsp;initializes&amp;nbsp;and&amp;nbsp;sets&amp;nbsp;the&amp;nbsp;initial&amp;nbsp;values,&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;the&amp;nbsp;loop()&amp;nbsp;function&amp;nbsp;does&amp;nbsp;precisely&amp;nbsp;what&amp;nbsp;its&amp;nbsp;name&amp;nbsp;suggests,&amp;nbsp;and&amp;nbsp;loops&amp;nbsp;consecutively,&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;allowing&amp;nbsp;your&amp;nbsp;program&amp;nbsp;to&amp;nbsp;change&amp;nbsp;and&amp;nbsp;respond.&amp;nbsp;Use&amp;nbsp;it&amp;nbsp;to&amp;nbsp;actively&amp;nbsp;control&amp;nbsp;the&amp;nbsp;Arduino&amp;nbsp;board.&amp;nbsp;&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;loop&lt;/b&gt;&lt;/span&gt;()
{
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Reads the X-Axis value from the specified analog pin and&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// stores in valueAxisX variable&lt;/span&gt;
&amp;nbsp;&amp;nbsp;valueAxisX&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;analogRead&lt;/span&gt;(pinAxisX);
&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Prints data to the serial port as human-readable ASCII text.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(valueAxisX);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;,&quot;&lt;/span&gt;);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Reads the Y-Axis value from the specified analog pin and&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// stores in valueAxisY variable&lt;/span&gt;
&amp;nbsp;&amp;nbsp;valueAxisY&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;analogRead&lt;/span&gt;(pinAxisY);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style=&quot;color: #cc6600;&quot;&gt;println&lt;/span&gt;(valueAxisY);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Pauses the program for the amount of time (in miliseconds) specified as parameter.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;delay&lt;/span&gt;(50);
}
&lt;/pre&gt;&lt;br /&gt;
&lt;b&gt;Processing code:&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;The&amp;nbsp;Processing&amp;nbsp;serial&amp;nbsp;library&amp;nbsp;allows&amp;nbsp;for&amp;nbsp;easily&amp;nbsp;reading&amp;nbsp;and&amp;nbsp;writing&amp;nbsp;data&amp;nbsp;to&amp;nbsp;and&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;from&amp;nbsp;external&amp;nbsp;machines.&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;It&amp;nbsp;allows&amp;nbsp;two&amp;nbsp;computers&amp;nbsp;to&amp;nbsp;send&amp;nbsp;and&amp;nbsp;receive&amp;nbsp;data&amp;nbsp;and&amp;nbsp;gives&amp;nbsp;you&amp;nbsp;the&amp;nbsp;flexibility&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;to&amp;nbsp;communicate&amp;nbsp;with&amp;nbsp;custom&amp;nbsp;microcontroller&amp;nbsp;devices,&amp;nbsp;using&amp;nbsp;them&amp;nbsp;as&amp;nbsp;the&amp;nbsp;input&amp;nbsp;or&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;output&amp;nbsp;to&amp;nbsp;Processing&amp;nbsp;programs.&amp;nbsp;&lt;/span&gt;
import&amp;nbsp;processing.serial.*;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;Define&amp;nbsp;variable&amp;nbsp;for&amp;nbsp;receiving&amp;nbsp;data&amp;nbsp;using&amp;nbsp;the&amp;nbsp;communication&amp;nbsp;protocol&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt; serialPort;

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;Define&amp;nbsp;variables&amp;nbsp;for&amp;nbsp;storing&amp;nbsp;x&amp;nbsp;and&amp;nbsp;y&amp;nbsp;angles&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;float&lt;/span&gt; angleX, angleY = 0;

&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;setup&lt;/b&gt;&lt;/span&gt;()
{
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Defines the dimension of the display window in units of pixels.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// The size() function must be the first line in setup().&lt;/span&gt;
&amp;nbsp;&amp;nbsp;size(640,&amp;nbsp;480,&amp;nbsp;P3D);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Specifies the number of frames to be displayed every second.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// If the processor is not fast enough to maintain the specified rate,&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// it will not be achieved.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// For example, the function call frameRate(30) will attempt to refresh 30 times a second.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// It is recommended to set the frame rate within setup().&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// The default rate is 60 frames per second.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;frameRate(30);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Gets a list of all available serial ports.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Use println() to write the information to the text window.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;println&lt;/span&gt;(&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.list());

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Class for sending and receiving data using the serial communication protocol.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Constructor Serial(parent, name, rate)&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// parent = PApplet: typically use &quot;this&quot;, name = String: name of the port (COM1 is the default),&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// rate = int: 9600 is the default&lt;/span&gt;
&amp;nbsp;&amp;nbsp;serialPort&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;(&lt;span style=&quot;color: #cc6600;&quot;&gt;this&lt;/span&gt;, &lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.list()[1], 9600);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Sets a specific byte to buffer until before calling serialEvent().&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Don&#39;t generate a serialEvent() until get a newline character&lt;/span&gt;
&amp;nbsp;&amp;nbsp;serialPort.bufferUntil(&lt;span style=&quot;color: #006699;&quot;&gt;&#39;\n&#39;&lt;/span&gt;);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//  // The background() function sets the color used for the background of the Processing window. &lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//  background(128);&lt;/span&gt;
}

&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; serialEvent(&lt;span style=&quot;color: #cc6600;&quot;&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt; serialPort) 
{
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Reads from the port into a buffer of bytes up to and including a particular character.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// If the character isn&#39;t in the buffer, &#39;null&#39; is returned.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;String&lt;/span&gt; inputString = serialPort.readStringUntil(&lt;span style=&quot;color: #006699;&quot;&gt;&#39;\n&#39;&lt;/span&gt;);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; (inputString != &lt;span style=&quot;color: #cc6600;&quot;&gt;null&lt;/span&gt;)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Removes whitespace characters from the beginning and end of a String.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// In addition to standard whitespace characters such as space, carriage return,&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// and tab, this function also removes the Unicode &quot;nbsp&quot; character.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inputString&amp;nbsp;=&amp;nbsp;trim(inputString);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// The split() function breaks a string into pieces using a character or string as the divider.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// filling substrings into a float array&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;float&lt;/span&gt;[] values = &lt;span style=&quot;color: #cc6600;&quot;&gt;float&lt;/span&gt;(split(inputString, &lt;span style=&quot;color: #006699;&quot;&gt;&quot;,&quot;&lt;/span&gt;));

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// we are waiting for two elements&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// put the numbers in the values array-variable&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;if&lt;/span&gt; (values.length &amp;gt;= 2)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Re-maps a number from one range to another.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;angleX&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;map&lt;/span&gt;(values[0], 0, 1023, 0, &lt;span style=&quot;color: #006699;&quot;&gt;PI&lt;/span&gt; * 2);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;angleY&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;map&lt;/span&gt;(values[1], 0, 1023, 0, &lt;span style=&quot;color: #006699;&quot;&gt;PI&lt;/span&gt; * 2);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;}
}

&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;Called&amp;nbsp;directly&amp;nbsp;after&amp;nbsp;setup()&amp;nbsp;and&amp;nbsp;continuously&amp;nbsp;executes&amp;nbsp;the&amp;nbsp;lines&amp;nbsp;of&amp;nbsp;code&amp;nbsp;contained&amp;nbsp;inside&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;its&amp;nbsp;block&amp;nbsp;until&amp;nbsp;the&amp;nbsp;program&amp;nbsp;is&amp;nbsp;stopped&amp;nbsp;or&amp;nbsp;noLoop()&amp;nbsp;is&amp;nbsp;called.&lt;/span&gt;
&lt;span style=&quot;color: #7e7e7e;&quot;&gt;//&amp;nbsp;The&amp;nbsp;draw()&amp;nbsp;function&amp;nbsp;is&amp;nbsp;called&amp;nbsp;automatically&amp;nbsp;and&amp;nbsp;should&amp;nbsp;never&amp;nbsp;be&amp;nbsp;called&amp;nbsp;explicitly.&amp;nbsp;&lt;/span&gt;
&lt;span style=&quot;color: #cc6600;&quot;&gt;void&lt;/span&gt; draw()
{
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// The background() function sets the color used for the background of the Processing window. &lt;/span&gt;
&amp;nbsp;&amp;nbsp;background(0);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Sets the default ambient light, directional light, falloff, and specular values.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;lights();

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Specifies an amount to displace objects within the display window.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// The x parameter specifies left/right translation,&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// the y parameter specifies up/down translation,&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// and the z parameter specifies translations toward/away from the screen.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;translate(&lt;span style=&quot;color: #cc6600;&quot;&gt;width&lt;/span&gt;/2, &lt;span style=&quot;color: #cc6600;&quot;&gt;height&lt;/span&gt;/2, 0);


&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Rotates a shape around the x-axis the amount specified by the angle parameter.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;rotateX(&lt;span style=&quot;color: #cc6600;&quot;&gt;abs&lt;/span&gt;(angleX));

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// Rotates a shape around the y-axis the amount specified by the angle parameter.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;rotateY(&lt;span style=&quot;color: #cc6600;&quot;&gt;abs&lt;/span&gt;(angleY));

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7e7e7e;&quot;&gt;// A box is an extruded rectangle. A box with equal dimension on all sides is a cube.&lt;/span&gt;
&amp;nbsp;&amp;nbsp;box(200,&amp;nbsp;100,&amp;nbsp;150);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;rotateX = &quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(angleX);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;\t&quot;&lt;/span&gt;);

&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;print&lt;/span&gt;(&lt;span style=&quot;color: #006699;&quot;&gt;&quot;rotateY = &quot;&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #cc6600;&quot;&gt;println&lt;/span&gt;(angleY);
}
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/6658177972682410092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/6658177972682410092?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/6658177972682410092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/6658177972682410092'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2010/12/using-thumb-joystick-module-with.html' title='Using Thumb Joystick Module with Arduino and Processing'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1InEhPvFTdSLW3n51Qwx9d-YP3NgGQoMJnWIcfJ89b53cuuXqC-F8YwtsICmCd3kxBQq-U3YnUWYcW55ewbnCtjG2CQ5gb8aLLqZ9Hok1qGMsZsTVQFFOFhmKw9-4R6xTaR7pdJkPxJtI/s72-c/thumb_joystick.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-6777747613051744027</id><published>2010-12-11T16:08:00.000+01:00</published><updated>2010-12-11T16:08:12.796+01:00</updated><title type='text'>Announcing Visual Studio 2010 Service Pack 1 Beta</title><content type='html'>This web installer downloads and installs Visual Studio 2010 Service Pack 1 Beta. An internet connection is required during installation. See the ‘Additional Information’ section below for alternative (ISO) download options. Please Note: This installer is for all editions of Visual Studio 2010 (Express, Professional, Premium, Ultimate).&lt;br /&gt;
&lt;a href=&quot;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=11ea69cb-cf12-4842-a3d7-b32a1e5642e2&amp;amp;displaylang=en&quot;&gt;&lt;br /&gt;
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=11ea69cb-cf12-4842-a3d7-b32a1e5642e2&amp;amp;displaylang=en&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/6777747613051744027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/6777747613051744027?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/6777747613051744027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/6777747613051744027'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2010/12/announcing-visual-studio-2010-service.html' title='Announcing Visual Studio 2010 Service Pack 1 Beta'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-7680852355315028390</id><published>2010-11-09T06:39:00.000+01:00</published><updated>2010-11-09T06:39:01.466+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Free E-Book"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Phone"/><title type='text'>Free ebook: Programming Windows Phone 7, by Charles Petzold</title><content type='html'>This book is a gift from the Windows Phone 7 team at Microsoft to the programming community, and I am proud to have been a part of it. Within the pages that follow, I show you the basics of writing applications for Windows Phone 7 using the C# programming language with the Silverlight and XNA 2D frameworks.&lt;br /&gt;
&lt;br /&gt;
Yes, Programming Windows Phone 7 is truly a free download, but for those readers who still love paper—as I certainly do—this book will also be available (for sale) divided into two fully-indexed print editions: Microsoft Silverlight Programming for Windows Phone 7 and Microsoft XNA Framework Programming for Windows Phone 7. [Note from Devon: we should have these ready for order in December 2010.]&lt;br /&gt;
&lt;br /&gt;
With the money you’ve saved downloading this book, please buy other books. Despite the plethora of information available online, books are still the best way to learn about programming within a coherent and cohesive tutorial narrative. Every book sale brings a tear of joy to an author’s eye, so please help make them weep overflowing rivers. &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blogs.msdn.com/b/microsoft_press/archive/2010/10/28/free-ebook-programming-windows-phone-7-by-charles-petzold.aspx&quot;&gt;http://blogs.msdn.com/b/microsoft_press/archive/2010/10/28/free-ebook-programming-windows-phone-7-by-charles-petzold.aspx&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/7680852355315028390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/7680852355315028390?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/7680852355315028390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/7680852355315028390'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2010/11/free-ebook-programming-windows-phone-7.html' title='Free ebook: Programming Windows Phone 7, by Charles Petzold'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3764859359830857835.post-963459546306162818</id><published>2010-10-26T07:24:00.002+02:00</published><updated>2010-10-26T07:24:43.382+02:00</updated><title type='text'>Free ebook: Moving to Microsoft Visual Studio 2010</title><content type='html'>Here’s a little bit about the authors: Ken Haines is a software development engineer at Microsoft, working in the Consumer and Online Division. He has a passion for distributed applications in the cloud and strives to help customers and partners find the right solution for their needs. Pascal Paré has worked at Microsoft since 2006, where he has held positions as a software engineer on both development and testing teams. Patrice Pelland is a principal development manager at Microsoft, working in the Consumer and Online Division. He leads a development team that is focused on innovation and incubation across all Microsoft consumer products.&lt;br /&gt;
&lt;br /&gt;
Moving to Microsoft Visual Studio 2010 was written with three audiences in mind:&lt;br /&gt;
&lt;br /&gt;
Part I is for developers moving from Visual Studio 2003 to Visual Studio 2010.&lt;br /&gt;
&lt;br /&gt;
Part II is for developers moving from Visual Studio 2005.&lt;br /&gt;
&lt;br /&gt;
And Part III is for developers moving from Visual Studio 2008.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blogs.msdn.com/b/microsoft_press/archive/2010/09/13/free-ebook-moving-to-microsoft-visual-studio-2010.aspx&quot;&gt;http://blogs.msdn.com/b/microsoft_press/archive/2010/09/13/free-ebook-moving-to-microsoft-visual-studio-2010.aspx&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ozguraytekin.blogspot.com/feeds/963459546306162818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3764859359830857835/963459546306162818?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/963459546306162818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3764859359830857835/posts/default/963459546306162818'/><link rel='alternate' type='text/html' href='http://ozguraytekin.blogspot.com/2010/10/free-ebook-moving-to-microsoft-visual.html' title='Free ebook: Moving to Microsoft Visual Studio 2010'/><author><name>Özgür Aytekin</name><uri>http://www.blogger.com/profile/00326319134477062991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>