The Spaceroom - lazarushttp://spaceroom.org/?q=category/tags/lazarus
enLazarus with Raspberry Pihttp://spaceroom.org/?q=content/lazarus-raspberry-pi
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>==Stuff related to Lazarus==<br />
===Extra Components===<br />
TCP/IP Components and Serial Port Components<br />
[<a href="http://synapse.ararat.cz/doku.php/start]">http://synapse.ararat.cz/doku.php/start]</a></p>
<p>===Other Stuff===<br />
It is possible to generate Python modules using Delphi.<br />
[<a href="http://wiki.lazarus.freepascal.org/Developing_Python_Modules_with_Pascal]">http://wiki.lazarus.freepascal.org/Developing_Python_Modules_with_Pascal]</a></p>
</div></div></div><div class="field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above"><div class="field-label">Tags:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/?q=category/tags/software">software</a></div><div class="field-item odd"><a href="/?q=category/tags/lazarus">lazarus</a></div></div></div>Sun, 26 Aug 2012 15:00:52 +0000Admin102 at http://spaceroom.orghttp://spaceroom.org/?q=content/lazarus-raspberry-pi#commentsCare for Some Pi?http://spaceroom.org/?q=content/care-some-pi
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>I recently acquired a [<a href="http://raspberrypi.org">http://raspberrypi.org</a> Raspberry Pi] board. It is a very cool device running linux on an ARM chip, with USB, Ethernet, HDMI output and the operating system runs off an SD card. The board costs only $35.</p>
<p>So it took me about 20 minutes to image the SD card and boot the machine up. Start up X Windows and I find a browser and some interesting other applications on the desktop.</p>
<p>One of my main goals of using the board is to take advantage of its IO capabilities. it comes with GPIO pins, and can be connected to other devices including an [[<a href="http://www.arduino.org">http://www.arduino.org</a> | Arduino]]. The Arduino is useful because it can handle more types of devices. The downside of the Arduino is that it uses a single control loop to perform its actions. With the RPi hopefully i can use the more sophisticated programming environment.</p>
<p>Most of my work has been using Delphi (object orient pascal). A open-source development tool is [[<a href="http://www.lazarus.org">http://www.lazarus.org</a> |Lazarus]] that uses Free Pascal Compiler. (It is heavily based on Delphi).</p>
<p>There were a couple of odd things in getting installed:<br />
First I ran:<br />
apt-get install fpc</p>
<p>This downloaded pretty much all the packages, however there were a few packages that that were not found. There was an error message that suggested using apt update or trying a flag --fix-missing. I used both and while it took a significant amount of time to load everything, but in the end it was successful.</p>
<p>Then I ran:<br />
apt-get install lazarus</p>
<p>No errors on that.</p>
<p>Started up X windows session and poked around until i found a menu that listed Lazarus. It started up just fine and I was able to create a simple form with a close button, which compiled and ran with no errors.</p>
<p>The only downside of the machine is that it is quite slow when using X-Windows. Definitely not the 2-3 second compiles I am used to with Delphi, however considering this is running on a $35 dollar computer I really can't complain much.</p>
<p>I am even using the Midori browser to write this posting.<br />
Next I need to see if I can find some example code talking to a serial port which one of the USB ports will act as when connected to the Arduino.</p>
<p>I also plan on installing the Apache web server with a python mod since python is already installed and most of the programming examples are in python.</p>
</div></div></div><div class="field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above"><div class="field-label">Tags:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/?q=category/tags/hardware">hardware</a></div><div class="field-item odd"><a href="/?q=category/tags/linux">linux</a></div><div class="field-item even"><a href="/?q=category/tags/lazarus">lazarus</a></div><div class="field-item odd"><a href="/?q=category/tags/free-pascal">free pascal</a></div></div></div>Sat, 25 Aug 2012 23:55:05 +0000Charlie101 at http://spaceroom.orghttp://spaceroom.org/?q=content/care-some-pi#comments