Go to advanced search

by nutshelluniverse
Mon Apr 07, 2014 5:20 pm
Forum: Other programming languages
Topic: Bash script arguments
Replies: 2
Views: 2435

Bash script arguments

Hi, I have a bash script which uses function arguments and script arguments. FILE=$1 function directorysearch { MYDIR=$1 cd $MYDIR } directorysearch / If I then type 'sh gflt.sh lsdir.sh' it says that it can't cd to lsdir.sh. How do I get it to tell between command line arguments and function argume...
by nutshelluniverse
Sat Mar 29, 2014 10:16 am
Forum: General discussion
Topic: Install Arduino
Replies: 5
Views: 1432

Install Arduino

I have an Arduino Due board and a computer running Ubuntu. I downloaded the .tgz file from the Arduno website and unpacked it. How do I install the folder so it will replace the version Arduino installed from the repositories?
by nutshelluniverse
Sun Mar 23, 2014 1:50 pm
Forum: Off topic discussion
Topic: Wordpress Upload
Replies: 0
Views: 558

Wordpress Upload

I'd quite like to add an index page to the wp-content folder of my site, so is it possible to upload one using just Wordpress?
by nutshelluniverse
Wed Mar 19, 2014 1:14 pm
Forum: Java
Topic: Query boolean in print
Replies: 1
Views: 834

Query boolean in print

I read somewhere how to query a Boolean variable in a print function and print a defined string object. Can anyone tell me how to do this?
by nutshelluniverse
Wed Mar 12, 2014 6:59 am
Forum: General discussion
Topic: SSH from Android stopped
Replies: 1
Views: 567

SSH from Android stopped

Many times I have SSHed into my Pi using my Android phone using an app called Server Auditor. To check my Pi's IP, I use an app called Fing which shows the IP addresses for every device connected to my router. Recently, Fing has only been showing my IP address and the MAC address of my router. When ...
by nutshelluniverse
Tue Mar 11, 2014 7:02 am
Forum: Other projects
Topic: What Would You Like to See?
Replies: 11
Views: 3176

Re: What Would You Like to See?

Space to fit a Gertboard, and one that is easily opened, but not too loose that it just falls out.
by nutshelluniverse
Tue Mar 11, 2014 6:55 am
Forum: Beginners
Topic: is raspberry pi capable of doing this?
Replies: 4
Views: 1107

Re: is raspberry pi capable of doing this?

You might also want mpg321 as well to play your mp3 files. The default music player, aplay, only plays wav files.

Of course this is if you are running Raspbian.
by nutshelluniverse
Mon Mar 10, 2014 8:47 pm
Forum: Troubleshooting
Topic: Raspberry Pi Will not Output Video
Replies: 5
Views: 930

Re: Raspberry Pi Will not Output Video

http://elinux.org/R-Pi_Troubleshooting

Go to the section power/start up
by nutshelluniverse
Mon Mar 10, 2014 8:35 pm
Forum: Other programming languages
Topic: SpecBas
Replies: 9
Views: 2774

Re: SpecBas

To build SpecBAS you'll need a copy of Lazarus with SDL and SDL_Image. If you're not sure what to do, I'll get it done shortly for you. Thanks. It would be great if you could try to do the build in a such way that it does not depend on X11 libraries and runs from framebuffer console as described he...
by nutshelluniverse
Mon Mar 10, 2014 8:34 pm
Forum: General discussion
Topic: TI-82 Screen
Replies: 0
Views: 484

TI-82 Screen

How hard would it be to imterface with a TI-82 screen using an Arduino, Gertboard or GPIO ports?
by nutshelluniverse
Sun Mar 09, 2014 12:14 pm
Forum: Python
Topic: Pygame
Replies: 2
Views: 646

Re: Pygame

elParaguayo wrote:What problem are you having? The FAQs say that python 3 is supported: http://www.pygame.org/wiki/FrequentlyAskedQuestions
Oh, it's just that I expected it to be in the repositories as python3-pygame or somethinf
by nutshelluniverse
Sun Mar 09, 2014 10:59 am
Forum: Python
Topic: Pygame
Replies: 2
Views: 646

Pygame

Will Pygame ever be released for Python 3?
by nutshelluniverse
Tue Mar 04, 2014 8:44 pm
Forum: General discussion
Topic: Gertboard Arduino IDE Programmer
Replies: 2
Views: 617

Re: Gertboard Arduino IDE Programmer

Beron wrote:You should use the Raspberry Pi GPIO as the Programmer.

Good luck!
Cheers!
by nutshelluniverse
Tue Mar 04, 2014 6:27 pm
Forum: General discussion
Topic: Gertboard Arduino IDE Programmer
Replies: 2
Views: 617

Gertboard Arduino IDE Programmer

Using an ATMEGA 328p on a Gertboard, which of the following programmers do I use?

Raspberry Pi GPIO
AVR ISP
AVRISP mkII
USBtinyISP
USBasp
Parallel Programmer
Arduino as ISP

If I use AVR ISP/mkII, it says that there were no usb devices connected
by nutshelluniverse
Tue Mar 04, 2014 6:49 am
Forum: Other programming languages
Topic: SpecBas
Replies: 9
Views: 2774

Re: SpecBas

ZXDunny wrote:Hmm, looks like the guy who maintains the build has disappeared for a while - I'll track him down :)

To build SpecBAS you'll need a copy of Lazarus with SDL and SDL_Image. If you're not sure what to do, I'll get it done shortly for you.
Oh, okay. Hope your first build goes successfully!
by nutshelluniverse
Mon Mar 03, 2014 7:30 pm
Forum: HATs and other add-ons
Topic: Not working
Replies: 3
Views: 2224

Re: Not working

I've reinstalled everything and avrsetup says everything is good, but Arduino IDE is still returning an error
by nutshelluniverse
Sun Mar 02, 2014 4:56 pm
Forum: Other programming languages
Topic: SpecBas
Replies: 9
Views: 2774

Re: SpecBas

Do I just navigate to that folder and type ./build for that?
by nutshelluniverse
Sun Mar 02, 2014 3:16 pm
Forum: Other programming languages
Topic: SpecBas
Replies: 9
Views: 2774

SpecBas

Does anyone know where I can find the .deb file for SpecBas? The usual freestuff.grok.co.uk/specbas-pi.deb no longer exists
by nutshelluniverse
Sat Mar 01, 2014 3:53 pm
Forum: General discussion
Topic: Autogenerating error messages
Replies: 1
Views: 416

Autogenerating error messages

What kind of skills would I need to make a program that, if something went wrong, it would use what had just happened in the program to generate a personalised error message. The message would follow a template such as AN ERROR HAS OCCURRED (insert traceback) (insert function) has failed due to (ins...
by nutshelluniverse
Sat Mar 01, 2014 10:08 am
Forum: General discussion
Topic: Arduino IDE with GPIO
Replies: 4
Views: 1553

Re: Arduino IDE with GPIO

Oh... Well with Python and RPi.GPIO is there anything equivalent to this?

Code: Select all

duration = pulseIn(pin, HIGH)
by nutshelluniverse
Sat Mar 01, 2014 10:00 am
Forum: Python
Topic: getch() in Python
Replies: 14
Views: 28845

Re: getch() in Python

So where does the getch() function fit into this?
by nutshelluniverse
Sat Mar 01, 2014 9:56 am
Forum: General discussion
Topic: Arduino IDE with GPIO
Replies: 4
Views: 1553

Arduino IDE with GPIO

Is there anyway to use the Arduino IDE with the Raspberry Pi GPIO pins?
by nutshelluniverse
Wed Feb 26, 2014 12:49 pm
Forum: Other programming languages
Topic: .exe compilation
Replies: 7
Views: 1936

Re: .exe compilation

mahjongg wrote:Try x86tiny.

http://www.raspberrypi.org/archives/6008
Ah, great, I already had that installed! The only thing I find puzzling is how to get out of it. I dug around for a while until eventually pulling the plug.
by nutshelluniverse
Wed Feb 26, 2014 11:39 am
Forum: Other programming languages
Topic: .exe compilation
Replies: 7
Views: 1936

Re: .exe compilation

Failing that, could I use Dosbox to run this DOS version of the program?

Go to advanced search