Rasperry Pi: Difference between revisions

503 bytes added ,  9 January 2013
added image from RaspberryPI running octave under LXDE and subchapter how to compile oct files
(created octave on Raspbian page)
 
(added image from RaspberryPI running octave under LXDE and subchapter how to compile oct files)
Line 1: Line 1:
[[File:Raspbian_wheezy_running_octave.png|500px]]
[http://www.raspberrypi.org Raspberry Pi] is a credit-card sized computer that plugs into your TV/Monitor and a keyboard. (see [http://www.raspberrypi.org/faqs FAQ])
[http://www.raspberrypi.org Raspberry Pi] is a credit-card sized computer that plugs into your TV/Monitor and a keyboard. (see [http://www.raspberrypi.org/faqs FAQ])


Line 27: Line 29:
Just install it with apt-get:
Just install it with apt-get:
  $ sudo apt-get install octave-control
  $ sudo apt-get install octave-control
== build your own .oct files ==
sudo apt-get install liboctave-dev
After that you can compile your programs using "mkoctfile". See [http://www.gnu.org/software/octave/doc/interpreter/Oct_002dFiles.html#Oct_002dFiles GNU octave manual: A.1 Oct-Files] for how to write them.
== Further work ==
* Write a simple example which read/writes the GPIO ports from within octave. Perhaps a simple oct wrapper around http://www.open.com.au/mikem/bcm2835/ ?
219

edits