<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RPi &#8211; Xojo Programming Blog</title>
	<atom:link href="https://blog.xojo.com/tag/rpi/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.xojo.com</link>
	<description>Blog about the Xojo programming language and IDE</description>
	<lastBuildDate>Thu, 13 May 2021 21:08:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>#JustCode Challenge Week 11 &#8211; Xojo Dojo for Pi</title>
		<link>https://blog.xojo.com/2018/08/31/justcode-challenge-week-11-xojo-dojo-for-pi/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Fri, 31 Aug 2018 10:00:15 +0000</pubDate>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[#JustCode]]></category>
		<category><![CDATA[GPIO]]></category>
		<category><![CDATA[RPi]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Xojo Dojo]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">https://blog.xojo.com/?p=4872</guid>

					<description><![CDATA[For #JustCode week 11, I've finished a project I've been working on for several months. This project is a simple app that you can use to write and run your own scripts using Xojo code on the Raspberry Pi. I call it Xojo Dojo.]]></description>
										<content:encoded><![CDATA[<p>For #JustCode week 11, I&#8217;ve finished a project I&#8217;ve been working on for several months. This project is a simple app that you can use to write and run your own scripts using Xojo code on the Raspberry Pi. I call it Xojo Dojo.</p>
<p><span id="more-4872"></span></p>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-4873" src="https://blog.xojo.com/wp-content/uploads/2018/08/2018-08-28_15-11-34.png" alt="" width="1195" height="758" /></p>
<p>With Xojo Dojo you get a simple code editor where you can write code using the Xojo programming language and a small set of additional commands for graphics, GPIO and some other things. It&#8217;s a great way to learn programming basics. Xojo Dojo includes several sample scripts to get you started.</p>
<p>For more information, check out the <a href="http://developer.xojo.com/xojo-dojo">Xojo Dojo doc page</a>.</p>
<p><a href="https://gitlab.com/xojo/XojoDojo">Download the source from GitLab</a>.</p>
<p>Add your #JustCode project to the <a href="https://forum.xojo.com/49692-just-code-challenge-week-11-projects">week 11 forum conversation</a>.</p>
<p>Download and check out earlier projects:</p>
<ul>
<li>Week 10: <a href="https://blog.xojo.com/2018/08/24/justcode-challenge-week-10-nettank/">NetTank</a></li>
<li>Week 9: <a href="https://blog.xojo.com/2018/08/17/justcode-challenge-week-9-quote-web-service/">Quote Web Service</a></li>
<li>Week 8: <a href="https://blog.xojo.com/2018/08/10/justcode-challenge-week-8-jumpstart-app-launcher/">JumpStart App Launcher</a></li>
<li>Week 7: <a href="https://blog.xojo.com/2018/08/03/justcode-challenge-week-7-pitch-tracker/">Pitch Tracker</a></li>
<li>Week 6: <a href="https://blog.xojo.com/2018/07/27/justcode-challenge-week-6-bubble-popper/">Bubble Popper</a></li>
<li>Week 5: <a href="https://blog.xojo.com/2018/07/20/justcode-challenge-week-5-math-quiz/">Math Quiz</a></li>
<li>Week 4: <a href="https://blog.xojo.com/2018/07/13/justcode-challenge-week-4-mini-golf-scorekeeper/">Mini-Golf ScoreKeeper</a></li>
<li>Week 3: <a href="https://blog.xojo.com/2018/07/06/just-code-challenge-week3/">Dogs Up!</a></li>
<li>Week 2: <a href="https://blog.xojo.com/2018/06/29/just-code-challenge-week2/">Password Generator</a></li>
<li>Week 1: <a href="https://blog.xojo.com/2018/06/22/just-code-challenge-week1/">Color Picker</a></li>
</ul>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Raspberry Pi Library Requirement for 2018r1</title>
		<link>https://blog.xojo.com/2018/04/19/raspberry-pi-library-requirement-for-2018r1/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Thu, 19 Apr 2018 08:00:29 +0000</pubDate>
				<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Console]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[Raspbian]]></category>
		<category><![CDATA[RPi]]></category>
		<category><![CDATA[Single Board Computer]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">https://blog.xojo.com/?p=4144</guid>

					<description><![CDATA[Starting with Xojo 2018r1, your Xojo apps require the libunwind8 library to be installed on your Raspberry Pi.  Here's how to update your Pi.]]></description>
										<content:encoded><![CDATA[<p>Starting with Xojo 2018r1, your Xojo apps require the libunwind8 library to be installed on your Raspberry Pi. You can easily do that from Terminal on the Pi with this command:</p>
<pre>sudo apt-get install libunwind8</pre>
<p>The Raspberry Pi OS (Raspbian) does not automatically update itself. Since it is always a good idea to keep your Pi up to date, you can do it easily from Terminal using these commands:</p>
<pre>sudo apt-get update
sudo apt-get upgrade</pre>
<p>To learn more about Raspberry Pi and Xojo:</p>
<ul>
<li><a href="http://developer.xojo.com/raspberry-pi">Getting Started with Raspberry Pi</a></li>
<li><a href="http://developer.xojo.com/pibook">Programming the Raspberry Pi with Xojo</a> book</li>
</ul>
<p>And don&#8217;t forget, you can build Console and Desktop apps for Raspberry Pi with your <a href="https://blog.xojo.com/2018/03/14/have-you-pie-build-with-it-too/">free Xojo license</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Have Your Pi &#038; Build For It Too</title>
		<link>https://blog.xojo.com/2018/03/14/have-you-pie-build-with-it-too/</link>
		
		<dc:creator><![CDATA[Alyssa Foley]]></dc:creator>
		<pubDate>Wed, 14 Mar 2018 12:00:03 +0000</pubDate>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ARM]]></category>
		<category><![CDATA[Console]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[RPi]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<category><![CDATA[Xojo Resources]]></category>
		<guid isPermaLink="false">https://blog.xojo.com/?p=4007</guid>

					<description><![CDATA[In honor of Pi Day 2018, Xojo Pi licenses will be free! Xojo Pi licenses allow you to build console apps for Linux ARM for use with Raspberry Pi 2 and Raspberry Pi 3.]]></description>
										<content:encoded><![CDATA[<p>In honor of Pi Day 2018, we will be giving away Xojo Pi licenses for free!</p>
<p><strong>UPDATE:</strong> Now with Xojo 2019r1, you can develop and build console and desktop apps for the Raspberry Pi for free! <a href="https://www.xojo.com/download/">Download</a> today and get started! Xojo Pi supports Raspberry Pi 2, 3 &amp; 4.</p>
<p>Back at XDC 2015 when we announced Xojo would be adding support for the Raspberry Pi, we thought it was a fun extra for Xojo users. We were not expecting the overwhelming excitement and interest from the Xojo community and makers around the world! To celebrate Pi Day like the true geeks we are, we&#8217;re making <strong>Xojo Pi licenses free from Pi Day &amp; forever!</strong></p>
<p>Email hello@xojo.com for your free Xojo Pi license activation code.</p>
<p>Share the new with you friends, we&#8217;re on <a href="https://twitter.com/xojo">Twitter</a>, <a href="https://www.facebook.com/goxojo/">Facebook</a>, <a href="https://www.instagram.com/goxojo/">Instagram</a> and <a href="https://www.linkedin.com/company/xojo/">LinkedIn</a>.</p>
<p>UPDATED: 4/8/2019</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Auto-Launch Raspberry Pi Apps</title>
		<link>https://blog.xojo.com/2017/05/15/auto-launch-raspberry-pi-apps/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Mon, 15 May 2017 07:25:14 +0000</pubDate>
				<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[XDC]]></category>
		<category><![CDATA[GPIO]]></category>
		<category><![CDATA[RPi]]></category>
		<category><![CDATA[Single Board Computer]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">http://blog.xojo.com/?p=2712</guid>

					<description><![CDATA[There are several ways that a Pi can automatically start an app. After doing a bit of Google research I decided on this approach. You can develop and build console and desktop apps for the Raspberry Pi using Xojo 2019r1 or later for free.]]></description>
										<content:encoded><![CDATA[<p>For XDC 2016 I needed a way to demonstrate a Raspberry Pi app that used the GPIO and updated an LCD character display. But I didn&#8217;t really have access to a screen that I could use to show the desktop so that I could run the app. And I could not remotely connect to the Pi because I did not have a good way to get it on the wifi network in the first place.</p>
<p><span id="more-2712"></span></p>
<p>I decided what would work for me is to have demo app automatically launch when the Pi boots. This would allow me to demo the app and project anywhere just by plugging in the Pi. There are several ways that a Pi can automatically start an app. After doing a bit of Google research I decided on this approach:</p>
<ol>
<li>Open the /etc/rc.local file (you&#8217;ll want to use sudo):
<pre>sudo nano /etc/rc.local</pre>
</li>
<li>Add lines to automatically start the app you want. My app was a console app that used GPIO, so I added these two lines:
<pre>export WIRINGPI_GPIOMEM=1
/home/pi/Documents/Xojo/LCDPanel &amp;</pre>
</li>
</ol>
<p>For reference, this is my rc.local file contents:</p>
<pre>#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
 printf "My IP address is %s\n" "$_IP"
fi

export WIRINGPI_GPIOMEM=1
/home/pi/Documents/Xojo/LCDPanel/LCDPanel &amp;

exit 0
</pre>
<p>You can develop and build console and desktop apps for the Raspberry Pi using Xojo 2019r1 or later for free.</p>
<p><a href="https://www.xojo.com/download/">Download Xojo</a> today and get started!</p>
<p>Fun times at XDC:</p>
<p><img decoding="async" class="alignnone size-full wp-image-2718" src="https://blog.xojo.com/wp-content/uploads/2017/05/XDC2016Pi.jpg" alt="" width="3434" height="1884" /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Making a Raspberry Pi Music Player</title>
		<link>https://blog.xojo.com/2017/05/11/raspberry-pi-music-player/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Thu, 11 May 2017 06:00:40 +0000</pubDate>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[RPi]]></category>
		<category><![CDATA[Single Board Computer]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">http://blog.xojo.com/?p=2662</guid>

					<description><![CDATA[You can develop and build console and desktop apps for the Raspberry Pi using Xojo 2019r1 or later for free. Download Xojo today and get started with this simple music player app for your Raspberry Pi that can play mp3 and aac (m4a) files from a folder.]]></description>
										<content:encoded><![CDATA[<p>You can develop and build console and desktop apps for the Raspberry Pi using Xojo 2019r1 or later for free.</p>
<p><a href="https://www.xojo.com/download/">Download Xojo</a> today and get started with this simple music player app for your Raspberry Pi that can play mp3 and aac (m4a) files from a folder.</p>
<p><span id="more-2662"></span>By default Raspberry Pi sound output is sent to the HDMI port. There is also a headphone port that can be used for sound output to make it easier to hook up speakers. To switch between the sound outputs, you use this command at the Terminal:</p>
<pre>sudo amixer cset numid=3 1</pre>
<p>Other values you can use are: 0=auto, 1=headphones, 2=HDMI.</p>
<h2>Create the Project</h2>
<p>Create a Desktop project and call it MP3Player. For controls, you will add three buttons and a label to Window1. Arrange them to look like this:</p>
<p><img decoding="async" class="alignnone size-full wp-image-2674" src="https://blog.xojo.com/wp-content/uploads/2017/05/PiMusicPlayerLayout.png" alt="" width="617" height="438" /></p>
<p>Change the name of the label from &#8220;Label1&#8221; to &#8220;NowPlayingLabel&#8221; and make it as wide as the window.</p>
<p>Now add these properties to keep track of the song files to play and the currently playing song sound:</p>
<pre>CurrentSong As Sound
CurrentSongIndex As Integer
Songs() As FolderItem</pre>
<p>The music files are loaded as Sound objects and the CurrentSong property is the song that is currently playing. The Songs() array is an array of the MP3 and AAC files that were loaded from the selected folder. And the CurrentSongIndex is the position of the current file (in the array) to play.</p>
<p>With this setup out of the way, you can start adding code. The first thing to do is to load the music files from the selected folder. Add the Action event to the &#8220;Choose Music Folder&#8221; button and enter this code:</p>
<pre>' Choose a folder, grab all music files in the folder
' and save in array
Dim musicFolder As FolderItem = SelectFolder
If musicFolder &lt;&gt; Nil Then
  CurrentSongIndex = -1
  ReDim Songs(-1)
 
  Dim count As Integer = musicFolder.Count
  For i As Integer = 1 To count
    Dim f As FolderItem = musicFolder.Item(i)
    If f &lt;&gt; Nil And (f.Name.Right(3) = "mp3" Or f.Name.Right(3) = "m4a") Then
      Songs.Append(f)
    End If
  Next
End If

PlayNextSong</pre>
<p>The last line calls a method, PlayNextSong, that starts playing the next song in the array. Here is the code for the PlayNextSong method:</p>
<pre>Sub PlayNextSong()
  If CurrentSong &lt;&gt; Nil Then CurrentSong.Stop
 
  CurrentSongIndex = CurrentSongIndex + 1
  If CurrentSongIndex &gt; Songs.Ubound Then CurrentSongIndex = 0
 
  If CurrentSongIndex &lt;= Songs.Ubound Then
    CurrentSong = Songs(CurrentSongIndex).OpenAsSound
    CurrentSong.Play
    NowPlayingLabel.Text = Songs(CurrentSongIndex).Name
  End If
 
End Sub</pre>
<p>Note: Do not type the Sub/End Sub part of the method in the code editor; instead enter that information in the Inspector.</p>
<p>This code stops any currently playing song, increases the current song index by 1 (looping back to the start if the end is reached) and then loads the sound file from the array so it can be played. Lastly it updates the label with the name of the song file.</p>
<p>You can do a quick test with just this code in place. Run the project (using the <a href="http://developer.xojo.com/rpi-remote-debugging">Remote Debugger</a>) on the Pi and choose a folder containing music files. The first song in the folder should start playing.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2675" src="https://blog.xojo.com/wp-content/uploads/2017/05/PiMusicPlayer.png" alt="" width="610" height="468" /></p>
<h2>Adding Features</h2>
<p>There are still two buttons on the window that don&#8217;t yet do anything. The Play button will be used to Play and Stop the current song. Add the Action event to the Play button and enter this code:</p>
<pre>If CurrentSong.IsPlaying Then
  CurrentSong.Stop
Else
  CurrentSong.Play
End If</pre>
<p>The Skip button skips to the next song. Add the Action event and have it call the PlayNextSong method:</p>
<pre>PlayNextSong</pre>
<p>You can now again run the project on the Pi to test out these new features. When music is playing, click the Play button to stop and play. Click the Skip button to skip to and play the next song.</p>
<p>If you&#8217;ve let a song play until it finishes, you&#8217;ll notice that the next song does not start playing. This is because there is no code to check if the current song has finished. If you recall the code in the Play button it checks a property called &#8220;IsPlaying&#8221; to see if the song is currently playing. That property could be also be used by a Timer to check if the song has finished playing so it could start playing the next song. However this won&#8217;t quite be enough. If the user manually stops the song, then IsPlaying will be false and the Timer will automatically start playing the next song, which is probably not the behavior you want. To track when a user has manually stopped the music, another property is needed. Add this to Window1:</p>
<pre>IsSongStopped As Boolean</pre>
<p>Now you can drag a Timer on to Window1 and add the Timer&#8217;s Action event handler with this code (you can leave the Timer with its default period of 1000 and Mode to Multiple):</p>
<pre>If CurrentSong &lt;&gt; Nil Then
  If Not CurrentSong.IsPlaying And Not IsSongStopped Then
    ' The song is no longer playing and the user has not manually stopped
    ' so that must mean the song has finished on its own.
    PlayNextSong
  End If
End If</pre>
<p>And lastly, you need to go back to the Play button Action event handler and change its code to set the value in IsSongStopped like this:</p>
<pre>If CurrentSong.IsPlaying Then
  CurrentSong.Stop
  IsSongStopped = True
Else
  CurrentSong.Play
  IsSongStopped = False
End If</pre>
<p>Run the project on the Pi and you&#8217;ll see that the next song starts playing about 1 second after the current song finishes.</p>
<h2>More Raspberry Pi Projects</h2>
<p>Are you interested in trying more Raspberry Pi projects with Xojo? <a href="http://www.xojo.com/download">Download Xojo</a> for free and then check out the <a href="http://developer.xojo.com/pibook">free Programming the Raspberry Pi with Xojo book</a> available on the Xojo Dev Center, which contains this project and many others.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Raspberry Pi Remote Debugging</title>
		<link>https://blog.xojo.com/2017/03/28/raspberry-pi-remote-debugging/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Tue, 28 Mar 2017 10:30:22 +0000</pubDate>
				<category><![CDATA[Learning]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Beginner Tips]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Remote Debugging]]></category>
		<category><![CDATA[RPi]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">http://blog.xojo.com/?p=2485</guid>

					<description><![CDATA[Using the Remote Debugger means that you can run Xojo apps on the Pi for testing and development without have to first purchase a Xojo license.]]></description>
										<content:encoded><![CDATA[<p>With Xojo 2017 Release 1 you can now use the Remote Debugger to easily debug and test your Xojo apps on a Raspberry Pi (Raspberry Pi 2, 3+ are supported by Xojo).</p>
<p>Using the Remote Debugger means that you can now run Xojo apps on the Pi for testing and development without having to first purchase a Xojo license.</p>
<p>We&#8217;ve put together a short video to quickly walk you through how to set up and use the Remote Debugger:</p>
<p><iframe loading="lazy" title="Hello Xojo! Raspberry Pi App" width="500" height="281" src="https://www.youtube.com/embed/C7ZelqOyVIQ?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p>For more information about using Raspberry Pi with the Remote Debugger, refer to this topic in the Dev Center:</p>
<ul>
<li><a href="https://documentation.xojo.com/topics/raspberry_pi/remote_debugging.html">Raspberry Pi Remote Debugging</a></li>
</ul>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Raspberry Pi and Xojo: Configure for Remote Access</title>
		<link>https://blog.xojo.com/2016/12/09/raspberry-pi-and-xojo-configure-for-remote-access/</link>
		
		<dc:creator><![CDATA[Javier Menendez]]></dc:creator>
		<pubDate>Fri, 09 Dec 2016 17:38:02 +0000</pubDate>
				<category><![CDATA[Learning]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[AprendeXojo]]></category>
		<category><![CDATA[GPIO]]></category>
		<category><![CDATA[RPi]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">http://blog.xojo.com/?p=2117</guid>

					<description><![CDATA[A simple, step-by-step guide to configure your Raspberry Pi so you can use your display, keyboard and mouse to start building RPi apps in Xojo.]]></description>
										<content:encoded><![CDATA[<p><strong>Xojo</strong> is a superb choice for developing and deploying apps for <strong>Raspberry Pi</strong>. After all, Xojo not only simplifies making the User Interface of your apps via drag and drop, it&#8217;s an object-oriented and event oriented programming language that builds native <strong>Linux</strong> apps based on the <strong>ARM</strong> processor architecture for the Raspberry Pi (<a href="https://blog.xojo.com/2015/10/23/true-cross-platform-in-a-single-license-xojo-pro/">among other platforms</a>).</p>
<p><span id="more-2117"></span><br />
The Raspberry Pi is a complete computer —and a very cheap one!— with USB, HDMI, Ethernet and a <a href="http://developer.xojo.com/gpio" target="_blank" rel="noopener"><strong>GPIO</strong></a> that gives the access to design, create, and control a lot of things (think IoT). The perfect combination to create and deploy complete solutions with Xojo.</p>
<p>Nevertheless, you probably don&#8217;t want to use an exclusive display, keyboard and mouse just to control and interact with your Raspberry Pi. What about accessing it remotely via <strong>SSH</strong> and/or <strong>VNC</strong>? I bet this is the first thought you had, and here is a step-by-step guide to configure it so you can use your current display, keyboard and mouse from you main computer (the one you use to run the Xojo IDE) to control the Raspberry Pi.</p>
<p>First of all, while you can access your RPi via SSH, displaying your well trained Geek super powers, it is really more convenient to control it via the GUI, as you do your computer. For that you&#8217;ll need a VNC client app. There are a lot out there, but <a href="https://www.realvnc.com/download/viewer/" target="_blank" rel="noopener"><strong>VNC Viewer</strong></a> is one that runs just fine and is available for the main platforms. Just download it, run the installer, follow the steps… and you will have completed the first part of the process.</p>
<p>In order to access the Raspberry Pi from the VNC client you will need to know what IP address is using the Pi. How to get that information? Easy! (This assumes that your local network uses DHCP to assign IP addresses, the most common scenario.)</p>
<p>If you use macOS, open the Terminal app (Applications &gt; Terminal) and run the command:</p>
<pre>$ ping 192.168.1.255</pre>
<p>Changing the &#8216;192.168.1&#8217; part of the IP address for the one of your local network. What is important here is the &#8216;255&#8217; number, because this is the Broadcast IP address for your local network.</p>
<p>What happens when we ping the broadcast address? In brief: the packets are sent to every host of the local area so they can respond, giving their IP address in the process. The second piece of the needed information, the MAC Address, is automatically obtained from the hardware interface used by the device to reply the packet request.</p>
<p>Let the ping command do its work for several seconds and break the process pressing Control + C. (If you are using Linux, execute the command as &#8216;<code>ping -b xxx.xxx.xxx.255</code>&#8216;.</p>
<p>The Mac Address is all the information needed by <strong>ARP</strong>: the inner cache table used by your router/switch device (and computer too), to link the unique hardware address (MAC Address) used by every device in the network with the IP address used by the device. So, executing the command:</p>
<pre>$ arp -a</pre>
<p>will give us a complete list of evey active IP address and the linked MAC Address. Knowing what IP addresses are already used by the devices of our network (computers, printers, cell phones, tablets…), it will be easy to identify the IP address assigned by <strong>DHCP</strong> to the Raspberry Pi.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2118" src="https://blog.xojo.com/wp-content/uploads/2016/11/ARP.jpg" alt="arp" width="699" height="237" /></p>
<p>So with these two pieces of information you can use the DHCP Binding feature of your home switch/router (all the home/SOHO routers have this feature), in order to assign the same IP address to the Raspberry PI every time you turn the device on and, connect it to the network. DHCP Binding looks for the MAC Address of the device… and matches it with the reserved IP address from the DHCP pool.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2119" src="https://blog.xojo.com/wp-content/uploads/2016/11/DHCPBinding.jpg" alt="dhcpbinding" width="748" height="99" /></p>
<h2>Starting the VNC Server on the Raspberry Pi</h2>
<p>Don&#8217;t close the Terminal window yet, there are a couple of things that we need to do first. The first one is starting the VNC Server on the Raspberry Pi, so we can start new remote sessions from our client. For that we need to start an SSH session with:</p>
<pre>$ ssh pi@raspberry-pi-address-here</pre>
<p>Typing &#8216;raspberry&#8217; as the password when requested. (&#8216;pi&#8217; and &#8216;raspbery&#8217; are the user and password configured by default on every Raspberry Pi out there.)</p>
<p>Once started the SSH session, type the following:</p>
<pre>pi@raspberrypi:~$ sudo raspi-config

<img loading="lazy" decoding="async" class="alignnone size-full wp-image-2120" src="https://blog.xojo.com/wp-content/uploads/2016/11/ConfigurationTool.png" alt="configurationtool" width="682" height="501" /></pre>
<p>This will open the <strong>Configuration Tool</strong>. Use the cursor keys to choose the &#8216;Advanced Options&#8217; entry and press the Return key to advance to a new screen with options. Select the VNC entry (A5) and press the Return key again. Finally, make sure that VNC Server is enabled or enable it if not. Lastly, select the &lt;Finish&gt; option to exit the Configuration Tool.</p>
<h2>Adjusting the Display Resolution used by VNC</h2>
<p>Great, we have the IP address used by the Raspberry Pi, and the VNC Server enabled so we can start a VNC Client session… just to discover that it shows an endemic resolution of 800 x 600 pixels on our full-fledged Full HD display. Not the most productive thing we can expect.</p>
<p>Time to return to our Terminal windows, where the SSH session is still open (or start a new one if not). This time, we will edit the configuration file to instruct the Raspberry Pi to use a better fixed display resolution. For that, type the command:</p>
<pre>pi@raspberrypi:~$ sudo nano /boot/config.txt</pre>
<p>Go to the end of the opened file and write these lines:</p>
<pre> hdmi_force_hotplug=1
 hdmi_ignore_edid=0xa5000080
 hdmi_group=2
 hdmi_mode=51</pre>
<p>In this case we are telling the Raspberry Pi to use a resolution of 1.600 x 1.200 pixels, but you can choose other changing the &#8216;hdmi_mode&#8217; option to anyone of the settings you can find in <a href="https://www.raspberrypi.org/documentation/configuration/config-txt.md" target="_blank" rel="noopener">this support page of Raspberry Pi</a>.</p>
<p>Save the changes and exit from the Nano editor, and reboot the Raspberry Pi so the changes take effect:</p>
<pre> pi@raspberrypi:~$ sudo su
 pi@raspberrypi:~$ reboot

</pre>
<pre><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2121" src="https://blog.xojo.com/wp-content/uploads/2016/11/VNC-Session.png" alt="vnc-session" width="1908" height="1090" /></pre>
<p>Ready! From now on, you can remotely access your Raspberry Pi via VNC and SSH.</p>
<p>You can watch <a href="https://www.youtube.com/watch?v=6sKkbj6rxuU" target="_blank" rel="noopener">the video</a> (in Spanish only) that talks you though this example.</p>
<p><em>Javier Rodri­guez has been the Xojo Spanish Evangelist since 2008, he’s also a Developer, Consultant and Trainer who has used Xojo since 1998. He is in charge of <a href="http://www.aprendexojo.com">AprendeXojo.com</a> and the developer behind the GuancheMOS plug-in for Xojo Developers and the Snippery app, among others.</em></p>
<p>*<a href="http://www.aprendexojo.com/2016/11/configuracion-inicial-de-tu-raspberry-pi/">Read this post in Spanish</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Easy as Pi: GPIO updates</title>
		<link>https://blog.xojo.com/2016/04/13/easy-as-pi-gpio-updates/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Wed, 13 Apr 2016 00:00:00 +0000</pubDate>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[GPIO]]></category>
		<category><![CDATA[RPi]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">http://blogtemp.xojo.com/2016/04/13/easy-as-pi-gpio-updates/</guid>

					<description><![CDATA[Take advantage of updates to the Raspberry Pi GPIO library to connect to hardware such as an LCD character display, servo motor, buzzer and RGB LED.]]></description>
										<content:encoded><![CDATA[<p>We are always keen to see apps and projects that Xojo developers have made for their Raspberry Pi 2 and Raspberry Pi 3 single-board computers. Especially since Xojo 2019r1 when building for Pi Desktop and Console is free with Xojo Pi!</p>
<p>I am pleased to announce some updates to our GPIO project to make it even easier to use more types of hardware in your Raspberry Pi projects.</p>
<p><span id="more-312"></span></p>
<p>The <a href="https://github.com/xojo/GPIO">Xojo GPIO library</a>, version 1.5 is now available on GitHub and adds support for these hardware features:</p>
<ul>
<li>LCD character display</li>
<li>Servo motor</li>
<li>RGB LED</li>
<li>Buzzer tunes</li>
</ul>
<p>Some of these features were enabled by adding support for the wiringPi SoftPwm and SoftTone methods. In addition, Servo, LCD and RGBLED can be controlled using simple classes.</p>
<p><img loading="lazy" decoding="async" class="aligncenter" title="LCDScrolling.gif" src="https://blog.xojo.com/wp-content/uploads/2016/04/LCDScrolling.gift1466486449161ampwidth360ampheight202" sizes="auto, (max-width: 360px) 100vw, 360px" alt="LCDScrolling.gif" width="360" height="202" /></p>
<p>Head on over to the <a href="http://developer.xojo.com">Xojo Dev Center</a> for tutorials on how to these new features:</p>
<ul>
<li><a href="http://developer.xojo.com/rpi-lcd-character-display">LCD character display</a></li>
<li><a href="http://developer.xojo.com/rpi-controlling-a-servo">Controlling a Servo</a></li>
<li><a href="http://developer.xojo.com/rpi-using-rgb-led">Using an RGB LED</a></li>
<li><a href="http://developer.xojo.com/rpi-using-a-buzzer">Using a Buzzer</a></li>
</ul>
<p>Why work with a simple text editor and the command line when you can instead use a fully-feature IDE to create Raspberry Pi apps for your projects?</p>
<p>Like the rest of the <a href="https://github.com/xojo/GPIO">Xojo GPIO library</a>, these new features work similarly to features in commonly used Python GPIO libraries. Now you should be able to readily adapt Python code to work in Xojo so you can more easily create great Raspberry Pi projects!<!-- end HubSpot Call-to-Action Code --></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Headless Pi: Using Xojo and Raspberry Pi Without a Display</title>
		<link>https://blog.xojo.com/2016/03/30/headless-raspberry-pi-using-xojo-and-your-raspberry-pi-without-a-display/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Wed, 30 Mar 2016 00:00:00 +0000</pubDate>
				<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Console]]></category>
		<category><![CDATA[RPi]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">http://blogtemp.xojo.com/2016/03/30/headless-raspberry-pi-using-xojo-and-your-raspberry-pi-without-a-display/</guid>

					<description><![CDATA[Learn how to use Xojo and your Raspberry Pi without a display, but still connect to it to run apps.]]></description>
										<content:encoded><![CDATA[<p>You don&#8217;t need to hook up your Pi to a physical display, keyboard and mouse. You can set up <a href="https://en.wikipedia.org/wiki/Virtual_Network_Computing" target="_blank" rel="noopener">VNC</a> on the Pi so you can remotely connect to it.</p>
<p>My Raspberry Pi 2 sits on my desk next to one of my speakers. It&#8217;s not hooked up to any display. I use a combination of SSH, SFTP and VNC when I need to work with it.</p>
<p><span id="more-282"></span></p>
<p>To connect to the Pi, I just need its IP address, which currently is 10.0.1.11. I leave the Pi on all the time, but if I reboot it then the IP address could change since I have not set it up with a fixed IP address. To identify the IP address, I run the utility <a href="https://itunes.apple.com/us/app/lanscan/id472226235?mt=12">LanScan</a> (free on the Mac App Store) which shows me all the IP addresses of everything on my local network. The Raspberry Pi is clearly identified.</p>
<p><img loading="lazy" decoding="async" title="LanScan.png" src="https://blog.xojo.com/wp-content/uploads/2016/03/LanScan.pngt1466486449161ampwidth578ampheight266" sizes="auto, (max-width: 578px) 100vw, 578px" alt="LanScan.png" width="578" height="266" /></p>
<p>I can then connect to the Pi via ssh:</p>
<pre>ssh <a href="../../../com/xojo/blog/index.html">pi@10.0.1.11</a></pre>
<p>I&#8217;m prompted for the password, which I&#8217;ve left at the default (&#8220;raspberry&#8221;).</p>
<p>If I am only going to be running Xojo console apps, then this is all I need. You really only need to set up VNC if you want to access the Desktop so you can run Xojo desktop apps (or use the Pi UI to run other desktop apps).</p>
<p>Personally I do like using the Pi desktop, so I now need to start the VNC server, which I have previously installed. If you need to install it, easy <a href="https://www.raspberrypi.org/documentation/remote-access/vnc/">VNC installation steps</a> are at the official Raspberry Pi site.</p>
<p>At the ssh terminal, I start VNC using its defaults with this command:</p>
<pre>vncserver</pre>
<p>After typing this command, I&#8217;m back at the terminal prompt. Use the &#8220;exit&#8221; command to disconnect from the ssh connection.</p>
<p><img loading="lazy" decoding="async" title="Terminal.png" src="https://blog.xojo.com/wp-content/uploads/2016/03/Terminal.pngt1466486449161ampwidth578ampheight393" sizes="auto, (max-width: 578px) 100vw, 578px" alt="Terminal.png" width="578" height="393" /></p>
<p>Now I can connect to the Pi using a VNC client. I&#8217;m going to use the client that is built into OS X since it is always available and reasonably fast. In Finder, select Go-&gt;Connect to Server from the menu. In the window, enter the address and port for the VNC server and click Connect:</p>
<pre>vnc://10.0.1.11:5901</pre>
<p><img loading="lazy" decoding="async" title="VNCViewer.png" src="https://blog.xojo.com/wp-content/uploads/2016/03/VNCViewer.pngt1466486449161ampwidth578ampheight274" sizes="auto, (max-width: 578px) 100vw, 578px" alt="VNCViewer.png" width="578" height="274" /></p>
<p>You&#8217;ll again be prompted for your password. This is the password you set up when you installed TightVNC, not the Raspberry Pi password.</p>
<p>When everything connects you&#8217;ll get a window displaying the Raspberry Pi desktop, shown here running the XojoNotes example app:</p>
<p><img loading="lazy" decoding="async" title="PiDesktop.png" src="https://blog.xojo.com/wp-content/uploads/2016/03/PiDesktop.pngt1466486449161ampwidth578ampheight471" sizes="auto, (max-width: 578px) 100vw, 578px" alt="PiDesktop.png" width="578" height="471" /></p>
<p>But how do you get apps to the Pi so you can run them? I use SFTP. There are many SFTP tools available. I primarily use ForkLift and ExpanDrive, but other apps have also been recommended on the <a href="https://forum.xojo.com/30628-xojo-my-rasberry-pi-experience">Xojo forum</a>. Regardless of the tool you use, create a new SFTP connection and enter the same credentials you used to connect via ssh.</p>
<p>You&#8217;ll now have access to the file system on the Pi and you can drag files from your computer to the Pi&#8217;s file system, which will copy them across your network to the Pi. With ExpanDrive, I get a drive mounted to the Finder that is connected to the Pi, making access to the Pi always available.</p>
<p><img loading="lazy" decoding="async" title="ExpanDrive.png" src="https://blog.xojo.com/wp-content/uploads/2016/03/ExpanDrive.pngt1466486449161ampwidth578ampheight330" sizes="auto, (max-width: 578px) 100vw, 578px" alt="ExpanDrive.png" width="578" height="330" /></p>
<p>With your free Xojo Pi license you can develop and build desktop and console Pi apps. <a href="https://www.xojo.com/download/">Download</a> today and get the latest release!<span id="hs-cta-wrapper-aeb03183-a469-4f96-9547-7dd75111c681" class="hs-cta-wrapper"><span id="hs-cta-aeb03183-a469-4f96-9547-7dd75111c681" class="hs-cta-node hs-cta-aeb03183-a469-4f96-9547-7dd75111c681"><br />
</span></span><!-- end HubSpot Call-to-Action Code --></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Raspberry Pi 3 Announced!</title>
		<link>https://blog.xojo.com/2016/03/08/raspberry-pi-3-announced/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Tue, 08 Mar 2016 00:00:00 +0000</pubDate>
				<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ARM]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[RPi]]></category>
		<guid isPermaLink="false">http://blogtemp.xojo.com/2016/03/08/raspberry-pi-3-announced/</guid>

					<description><![CDATA[The Raspberry Pi 3 is now available and Xojo is fully compatible. You can develop and build console and desktop apps for the Raspberry Pi using Xojo 2019r1 or later for free.]]></description>
										<content:encoded><![CDATA[<p>On Monday February 29th, the <a href="https://www.raspberrypi.org/blog/raspberry-pi-3-on-sale/">Raspberry Pi Foundation announced the new Raspberry Pi 3</a>. This updated Pi has some significant improvements over the Pi 2, including:</p>
<ul>
<li>A 1.2GHz 64-bit quad-core ARM Cortex-A53 CPU (~10x the performance of Raspberry Pi 1)</li>
<li>Integrated 802.11n wireless LAN and Bluetooth 4.1</li>
<li>Complete compatibility with Raspberry Pi 1 and 2</li>
</ul>
<p>That last bullet point is notable because it means that <a href="http://developer.xojo.com/raspberry-pi">Xojo is also fully compatible with the new Raspberry Pi 3</a>!</p>
<p><span id="more-310"></span></p>
<p><img decoding="async" style="width: 640px;" title="Raspberry_pi_3.png" src="https://blog.xojo.com/wp-content/uploads/2016/03/Raspberry_pi_3.pngt1466486449161ampwidth640" sizes="(max-width: 640px) 100vw, 640px" alt="Raspberry_pi_3.png" width="640" /></p>
<p>Although the new CPU is 64-bit, it remains fully compatible with the ARMv7 CPU used in the Raspberry Pi 2.</p>
<p>Your 32-bit Xojo apps will continue to work fine in the 32-bit version of Raspbian (the only version available right now) on the Raspberry Pi 3. Once you apply the latest Raspbian updates, you can even just take your SD card from your Raspberry Pi 2 and plug it into a Raspberry Pi 3. To run the updates, just run these commands from the terminal on the Raspberry Pi:</p>
<pre>sudo apt-get update
sudo apt-get upgrade</pre>
<p>One word of warning, though. Apparently the <a href="https://www.reddit.com/r/raspberry_pi/comments/48i47b/planning_to_put_your_pi_3_in_a_case_make_sure/">new Raspberry Pi 3 gives off quite a bit more heat than the Raspberry Pi 2</a>, so you may want to invest in a heat sink or fan for your case.</p>
<p>The Raspberry Pi 3 has the same $35 price as the Raspberry Pi 2. Here are some tutorials to help get you started:</p>
<ul>
<li><a href="http://developer.xojo.com/ID311856">Blinking LED Tutorial</a></li>
<li><a href="http://developer.xojo.com/ID315699">Button LED Tutorial</a></li>
<li><a href="https://blog.xojo.com/2015/11/17/more-raspberry-pi-projects/">More Tutorials</a></li>
</ul>
<p>If you&#8217;ve received yours, let us know how you like it in the comments! Remember you can develop and build console and desktop apps for the Raspberry Pi using Xojo 2019r1 or later for free.</p>
<p><a href="https://www.xojo.com/download/">Download Xojo</a> today and get started!</p>
<p><!--HubSpot Call-to-Action Code --> <span id="hs-cta-wrapper-98da3e69-7941-4310-adee-1ad5784a0803" class="hs-cta-wrapper"> <span id="hs-cta-98da3e69-7941-4310-adee-1ad5784a0803" class="hs-cta-node hs-cta-98da3e69-7941-4310-adee-1ad5784a0803"><br />
<!-- [if lte IE 8]>


<div id="hs-cta-ie-element"></div>


<![endif]--> <a href="http://blog.xojo.com/2015/10/21/your-first-raspberry-pi-xojo-project/" target="_blank" rel="noopener"><img loading="lazy" decoding="async" id="hs-cta-img-98da3e69-7941-4310-adee-1ad5784a0803" class="hs-cta-img aligncenter" style="border-width: 0px; margin: 0 auto; display: block; margin-top: 20px; margin-bottom: 20px;" src="https://blog.xojo.com/wp-content/uploads/2016/03/98da3e69-7941-4310-adee-1ad5784a0803.png" alt="Raspberry Pi RPi Tutorial Blog Post" width="429" height="74" align="middle" /></a></span></span></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>From the Community: More Raspberry Pi Projects</title>
		<link>https://blog.xojo.com/2015/11/17/more-raspberry-pi-projects/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Tue, 17 Nov 2015 00:00:00 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[GPIO]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[RPi]]></category>
		<category><![CDATA[Single Board Computer]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">http://blogtemp.xojo.com/2015/11/17/more-raspberry-pi-projects/</guid>

					<description><![CDATA[More Raspberry Pi projects that work with GPIO and Xojo.]]></description>
										<content:encoded><![CDATA[<p>Bjorn at <a href="https://einhugur.com">Einhugur</a> has created a bunch of tutorials for projects you can create using Xojo and a Raspberry Pi.</p>
<p><span id="more-302"></span></p>
<p>These projects are all free and show you how to hook up a variety of sensors to your Pi and then interface with them using Xojo. Topics include:</p>
<ul>
<li>Motion Sensor</li>
<li>Relay Board</li>
<li>Flame Sensor</li>
<li>Humidity and Temperature Sensors</li>
<li>Infrared Sensor</li>
<li>Ultrasonic Sensor</li>
</ul>
<p>These projects make use of the open source GPIO module that is included with Xojo and available on GitHub.</p>
<p>You can view all the Pi Projects here:</p>
<p><a href="https://einhugur.com/blog/index.php/xojo-gpio/">Xojo Pi/GPIO Projects</a></p>
<p>You can develop and build console and desktop apps for the Raspberry Pi using Xojo 2019r1 or later for free.</p>
<p><a href="https://www.xojo.com/download/">Download Xojo</a> today and get started!</p>
<p><span id="hs-cta-wrapper-a5c4183e-1bc7-4db4-b561-2ee031f33e32" class="hs-cta-wrapper"><span id="hs-cta-a5c4183e-1bc7-4db4-b561-2ee031f33e32" class="hs-cta-node hs-cta-a5c4183e-1bc7-4db4-b561-2ee031f33e32"> <!-- [if lte IE 8]>


<div id="hs-cta-ie-element"></div>


<![endif]--> <a href="http://blog.xojo.com/2015/11/10/raspberry-pi-gpio-module-on-github/" target="_blank" rel="noopener"><img loading="lazy" decoding="async" id="hs-cta-img-a5c4183e-1bc7-4db4-b561-2ee031f33e32" class="hs-cta-img aligncenter" style="border-width: 0px; margin: 0 auto; display: block; margin-top: 20px; margin-bottom: 20px;" src="https://blog.xojo.com/wp-content/uploads/2015/11/a5c4183e-1bc7-4db4-b561-2ee031f33e32.png" alt="Raspberry Pi GPIO Xojo Blog Post" width="421" height="73" align="middle" /></a></span></span> <!-- end HubSpot Call-to-Action Code --></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Supporting HTMLViewer on Raspberry Pi</title>
		<link>https://blog.xojo.com/2015/11/16/supporting-htmlviewer-on-raspberry-pi/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Mon, 16 Nov 2015 00:00:00 +0000</pubDate>
				<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[HTMLViewer]]></category>
		<category><![CDATA[RPi]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">http://blogtemp.xojo.com/2015/11/16/supporting-htmlviewer-on-raspberry-pi/</guid>

					<description><![CDATA[Install the library needed for HTMLViewer on Raspberry Pi.]]></description>
										<content:encoded><![CDATA[<p>If you are creating Xojo desktop apps for your Raspberry Pi (and why not since Xojo Pi if free for desktop &amp; console apps), you may want to take advantage of the <a href="http://developer.xojo.com/htmlviewer">HTMLViewer</a> control for easy display of HTML content or apps.</p>
<p><span id="more-323"></span></p>
<p>By default, Raspbian does not include the necessary library to allow the HTMLViewer to work, but you can easily install it. Open a Terminal window on the Pi and enter this command:</p>
<pre> sudo apt-get install libwebkitgtk-1.0.0</pre>
<p>This will download and install the library needed by HTMLViewer.</p>
<p>&nbsp;</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Raspberry Pi GPIO Module On GitHub</title>
		<link>https://blog.xojo.com/2015/11/10/raspberry-pi-gpio-module-on-github/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Tue, 10 Nov 2015 00:00:00 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[GPIO]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[RPi]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">http://blogtemp.xojo.com/2015/11/10/raspberry-pi-gpio-module-on-github/</guid>

					<description><![CDATA[The Xojo GPIO module is now available on GitHub. Use it to help make Raspberry Pi apps that interface with the GPIO port.]]></description>
										<content:encoded><![CDATA[<p>In order to interface with the <a href="http://developer.xojo.com/raspberry-pi">Raspberry Pi</a>, you often want to use the General Purpose Input/Output (GPIO) port. It is easy enough to connect a broadboard to the port, but how do you write Xojo code that can talk to the port?</p>
<p><span id="more-311"></span></p>
<p>The answer is to use the GPIO module that is included with Xojo in conjunction with the <a href="http://wiringpi.com/">wiringPi library</a>. And now this module is also available on GitHub:</p>
<p><a href="https://github.com/xojo/GPIO">Xojo GPIO Module</a></p>
<p>This module is used for our two Raspberry Pi projects: <a href="http://developer.xojo.com/rpi-blinking-led-tutorial">Blinking LED</a> and <a href="http://developer.xojo.com/button-led-tutorial">Button LED</a>. They are also used by the <a href="https://einhugur.com/blog/index.php/xojo-gpio/">Einhugur Pi projects for Xojo</a>.</p>
<p>I encourage all you Raspberry Pi experts to clone the <a href="https://github.com/xojo/GPIO">GPIO project on GitHub</a> and push up any enhancements you come up with.</p>
<p>&nbsp;</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>What is Raspberry Pi?</title>
		<link>https://blog.xojo.com/2015/05/14/what-is-raspberry-pi/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Thu, 14 May 2015 00:00:00 +0000</pubDate>
				<category><![CDATA[Cross-Platform]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ARM]]></category>
		<category><![CDATA[RPi]]></category>
		<category><![CDATA[Single Board Computer]]></category>
		<guid isPermaLink="false">http://blogtemp.xojo.com/2015/05/14/what-is-raspberry-pi/</guid>

					<description><![CDATA[What is Raspberry Pi?]]></description>
										<content:encoded><![CDATA[<p>The announcement at XDC 2015 of upcoming Xojo support for Raspberry Pi was greeted with enthusiastic applause. But after the keynote, I had several people come up to me and admit that they did not know what this Raspberry Pi is, so I thought I&#8217;d take a moment to give some background.</p>
<p style="text-align: left;"><a href="http://www.xojo.com/blog/en/assets_c/2015/05/RapsberryPi-654.php"><img loading="lazy" decoding="async" class="mt-image-center" style="text-align: center; display: block; margin: 0 auto 20px;" src="https://blog.xojo.com/wp-content/uploads/2015/05/rapsberrypi-thumb-400x301-654.pngt1466486449161ampwidth400ampheight301" sizes="auto, (max-width: 400px) 100vw, 400px" alt="RapsberryPi.png" width="400" height="301" /></a></p>
<p><span id="more-210"></span></p>
<p>Raspberry Pi is essentially a tiny, inexpensive computer. Because it is tiny, it can be used in all kind of things that a typical computer does not work well with, such as robotics and embedded systems. Since it is also inexpensive, it functions as a great learning tool, making it possible for anyone to have their own computer. Additionally, because a Raspberry Pi is a fully functional computer, with input/output, storage and wifi capabilities, it can also be used to interface and control other things. This makes the Raspberry Pi a favorite amongst tinkerers, Makers, electronics hobbyists and anyone else with a cool idea for a project.</p>
<p>What makes the Raspberry Pi somewhat unique is that it uses an ARM processor (similar to what you see on cell phones and tablets), rather than an Intel CPU that is in most things categorized as &#8220;computers&#8221;.</p>
<p>Still, a Raspberry Pi is a full computer. You can connect a keyboard, mouse and display to it. You can plug in storage and install an operating system on it (typically Linux). Now, it is not a powerful computer, to be sure, but it is still powerful enough for many tasks.</p>
<p>Although you can program Raspberry Pi, it is not really as easy as it should be. You typically have to deal with scripts, command prompts and other things that make programming less fun. We aim to simplify programming for Raspberry Pi by allowing you to use the simple to learn Xojo IDE and programming language with it.</p>
<p>You can read more about Raspberry Pi, its origins and goals at <a href="https://www.raspberrypi.org">RaspberryPi.org</a>.</p>
<p>So if you want a Raspberry Pi, how do you get one? There are many places that sell Raspberry Pi and it is available in various configurations and price points. If you want a full kit, that includes everything you need to get started, you can find one at <a href="http://www.amazon.com/dp/B008XVAVAW/ref=cm_sw_su_dp">Amazon for about $70 USD</a>. This kit includes the Raspberry Pi itself, a case, power supply, 8GB SD card with OS, USB wifi and cables.</p>
<p>Another common source of Raspberry Pi stuff is <a href="http://www.adafruit.com">Adafruit</a>. There you can buy the <a href="http://www.adafruit.com/products/2358">bare Raspberry Pi board for $40</a> or also get lots of other <a href="http://www.adafruit.com/categories/105">accessories and starter kits</a>.</p>
<p>On the European side of the fence, <a href="http://robotstore.gr/development-tools/raspberry-pi/">RobotStore</a> seems to have a lot of Raspberry Pi products.</p>
<p>To learn even more about Raspberry Pi, you might also want to grab <a href="https://www.raspberrypi.org/magpi/">MagPi</a>, the free, official magazine of Raspberry Pi. Building for Pi console and desktop is free with a Xojo Pi license in Xojo 2019r1 and beyond!</p>
<p>&nbsp;</p>
<p>Or let us walk you through:</p>
<p><a href="http://blog.xojo.com/2015/10/21/your-first-raspberry-pi-xojo-project/"><img loading="lazy" decoding="async" class="aligncenter wp-image-1684" src="https://blog.xojo.com/wp-content/uploads/2015/05/Screen-Shot-2016-09-01-at-3.56.42-PM.png" alt="first RPi project" width="201" height="89" /></a></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
