<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Discussion</title><link href="https://sourceforge.net/p/octave-raspberrypi/discussion/" rel="alternate"/><link href="https://sourceforge.net/p/octave-raspberrypi/discussion/feed.atom" rel="self"/><id>https://sourceforge.net/p/octave-raspberrypi/discussion/</id><updated>2021-12-23T18:55:28.320000Z</updated><subtitle>Recent posts to Discussion</subtitle><entry><title>Running locally on a Raspberry Pi?</title><link href="https://sourceforge.net/p/octave-raspberrypi/discussion/general/thread/74f3d2648b/?limit=25#02b8" rel="alternate"/><published>2021-12-23T18:55:28.320000Z</published><updated>2021-12-23T18:55:28.320000Z</updated><author><name>lostbard</name><uri>https://sourceforge.net/u/lostbard/</uri></author><id>https://sourceforge.net3e0e6eb68cbdfe666e614faeb334818c313d87ae</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;As an update, I tried using 2021-10-30-raspios-bullseye-armhf-lite installed to my raspberry pi.&lt;/p&gt;
&lt;p&gt;Installed octave and liboctave-dev (it installed octave 6.2.0), and then in octave ran:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;pkg install -verbose -forge instrument-control
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I saw that it very quickly maxed out swap and cpu as it was running make  rules in parallel&lt;/p&gt;
&lt;p&gt;Setting the number of threads used  first:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;setenv&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;OMP_NUM_THREADS&lt;/span&gt;&lt;span class="s1"&gt;'&lt;/span&gt;, &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;1&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;before running pkg install stopped that.&lt;/p&gt;
&lt;p&gt;Then installing raspi,:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;pkg install https://sourceforge.net/projects/octave-raspberrypi/files/v0.0.2/raspi-0.0.2.tar.gz
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Then:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;pkg&lt;/span&gt; &lt;span class="nb"&gt;load&lt;/span&gt;
&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;raspi&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;There is a pigpio octave file that is installed as part of the raspi package that provides a wrapper around the pigpio protocol if you want to use that instead.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>raspi 0.0.2 released</title><link href="https://sourceforge.net/p/octave-raspberrypi/discussion/general/thread/35fd0728bb/?limit=25#56a3" rel="alternate"/><published>2021-12-06T13:37:09.156000Z</published><updated>2021-12-06T13:37:09.156000Z</updated><author><name>lostbard</name><uri>https://sourceforge.net/u/lostbard/</uri></author><id>https://sourceforge.netd376c82f88c8cd4aa4c0eefe190e4efd5b4b6048</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Changes include :&lt;/p&gt;
&lt;p&gt;** New initial functions for:&lt;br/&gt;
   - audioplayer&lt;br/&gt;
   - listAudioDevices&lt;/p&gt;
&lt;p&gt;** Bug fixes:&lt;br/&gt;
   - fix i2c read/write register (Issue #2)&lt;br/&gt;
   - updates for Octave 7 compatibility&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Running locally on a Raspberry Pi?</title><link href="https://sourceforge.net/p/octave-raspberrypi/discussion/general/thread/74f3d2648b/?limit=25#0cfc" rel="alternate"/><published>2021-12-06T13:34:36.731000Z</published><updated>2021-12-06T13:34:36.731000Z</updated><author><name>lostbard</name><uri>https://sourceforge.net/u/lostbard/</uri></author><id>https://sourceforge.netcf3fa41d251b93e021051bb06af6b2d4d13bfb00</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry for not answering sooner.&lt;/p&gt;
&lt;p&gt;You need at least instrument-control 4.0.0 in order for it to work as some of the functions require features from that version.&lt;/p&gt;
&lt;p&gt;Instrument control should work on anything greater than Octave 3.8, so should compile ok - so it sounds more like an issue with instrument control that shold be fixed.&lt;/p&gt;
&lt;p&gt;Any details on what is failing in instrument control ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Running locally on a Raspberry Pi?</title><link href="https://sourceforge.net/p/octave-raspberrypi/discussion/general/thread/74f3d2648b/?limit=25#c52e" rel="alternate"/><published>2021-07-30T21:57:25.900000Z</published><updated>2021-07-30T21:57:25.900000Z</updated><author><name>Eric Landahl</name><uri>https://sourceforge.net/u/elandahl/</uri></author><id>https://sourceforge.net5fa1f7bf50bb666774856fae89562f90898a3449</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I would like to run raspi locally, so that I can use Octave (instead of Python or C) to control GPIO pins without a second computer involved.  Unfortunately, I have can not install the instrument-control package later than  version 3.1, since I can't  get an Octave version later than 4.4.1 running on Buster.  Any ideas on a workaround?  &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>raspi 0.0.1 released</title><link href="https://sourceforge.net/p/octave-raspberrypi/discussion/general/thread/d9bab94854/?limit=25#d6f2" rel="alternate"/><published>2020-12-12T21:37:21.551000Z</published><updated>2020-12-12T21:37:21.551000Z</updated><author><name>lostbard</name><uri>https://sourceforge.net/u/lostbard/</uri></author><id>https://sourceforge.net80d88305e6d6858855eadff916c379f724ed2790</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Initial version released.&lt;/p&gt;
&lt;p&gt;All? the basic functionality should be there for i/o, spi, i2c, serial and servos, using a pigpiod on the raspberry as the communication method.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>