Go to advanced search

by mad-hatter
Tue Aug 12, 2014 10:09 am
Forum: C/C++
Topic: Graphical user interface development
Replies: 12
Views: 5143

Re: Graphical user interface development

Hello, There is a Qt4 GUI development system available for the Pi. sudo apt-get install qtcreator. You might want to look here, to set it up. http://www.raspberrypi.org/forums/viewtopic.php?f=31&t=43545 I don't know if the 'Eclipse' plugin will run on the Pi. QtCreator can bet set up, in such a way ...
by mad-hatter
Sun Aug 10, 2014 4:26 pm
Forum: C/C++
Topic: C++/Qt4 - passing QMainWindow variables to a QDialog [Solved
Replies: 2
Views: 960

Re: C++/Qt4 - passing QMainWindow variables to a QDialog

Hello jeanleflambeur , Many thanks. I assume this is whats called sub classing. Things have changed just a little since I began programming on 6809's, (way back when) using an editor/assembler. I've got a lot to learn to get up to date with these new fangled methods. Regards void myMainWindow::showM...
by mad-hatter
Sun Aug 10, 2014 10:55 am
Forum: C/C++
Topic: C++/Qt4 - passing QMainWindow variables to a QDialog [Solved
Replies: 2
Views: 960

C++/Qt4 - passing QMainWindow variables to a QDialog [Solved

Hello, I have two controls in myMainWindow. mySpinBox and myChoice[2] radioButtons I know how to get their values, but I don't know how to:- 1, Pass the values, when calling myDialog. or 2, When in myDialog read the values from myMainWindow. 3, I could write a file and read it in the QDialog. I know...
by mad-hatter
Sun Aug 10, 2014 8:31 am
Forum: Beginners
Topic: Modify Menu items
Replies: 2
Views: 606

Re: Modify Menu items

Hello,

Google search "raspberry pi edit menu".
First result. http://cagewebdev.com/index.php/raspber ... enu-items/

Regards
by mad-hatter
Thu Aug 07, 2014 8:30 pm
Forum: General discussion
Topic: Wrong keyboard layout using XRDP
Replies: 3
Views: 1719

Re: Wrong keyboard layout using XRDP

Hello,

I had the same problem, after searching google, a windows registry change seems to be the solution.
I can't remember what I changed, but google has the answer.

Regards
by mad-hatter
Wed Aug 06, 2014 6:13 pm
Forum: HATs and other add-ons
Topic: Power Connection
Replies: 27
Views: 14389

Re: Power Connection

Hello, One example:: http://www.ebay.co.uk/itm/1-10-Micro-USB-5-Pin-T-Port-Male-Plug-Socket-Connector-Adapter-Plastic-Cover-DIY-/400650802822?pt=UK_BOI_Electrical_Components_Supplies_ET&var=&hash=item5d48a61686 Just solder wires to (+5V and 0V) lines to the correct pins. the internet is you friend t...
by mad-hatter
Wed Aug 06, 2014 10:06 am
Forum: HATs and other add-ons
Topic: Power Connection
Replies: 27
Views: 14389

Re: Power Connection

Hello,

Have a look here:-
http://www.ebay.co.uk/sch/i.html?_sacat ... _PrefLoc=1
This way you keep the protection the Pi board offers.

Regards
by mad-hatter
Mon Aug 04, 2014 10:37 am
Forum: C/C++
Topic: Qt4/C++ Access /dev/mem using tightvnc from Windows 7
Replies: 6
Views: 3309

Re: Qt4/C++ Access /dev/mem using tightvnc from Windows 7

Hello halhertani,
"export QT_X11_NO_MITSHM=1"
Thanks for that, works a treat.

Regards
by mad-hatter
Sat Aug 02, 2014 3:35 pm
Forum: Camera board
Topic: 30cm camera cables £1.40 from cpc/farnell
Replies: 9
Views: 1622

Re: 30cm camera cables £1.40 from cpc/farnell

Hello,

For free postage, there is a minimum order value.

Regards
by mad-hatter
Sat Aug 02, 2014 3:11 pm
Forum: Automation, sensing and robotics
Topic: Voice Controlled Home Automation Related Query
Replies: 3
Views: 1186

Re: Voice Controlled Home Automation Related Query

Hello, Have a look at these for voice control; http://stevenhickson.blogspot.co.uk/2013/06/voice-command-v30-for-raspberry-pi.html http://stevenhickson.blogspot.co.uk/2013/06/installing-and-updating-piauisuite-and.html This works quite well once you've set it up. I use a USB sound card with a microp...
by mad-hatter
Tue Jul 29, 2014 10:24 am
Forum: Raspbian
Topic: Swapfile question?
Replies: 2
Views: 801

Re: Swapfile question?

Hello RaTTuS,
may just about do it
Just about did it.
Many thanks.

Regards
by mad-hatter
Tue Jul 29, 2014 9:49 am
Forum: Raspbian
Topic: Swapfile question?
Replies: 2
Views: 801

Swapfile question?

Hello, I've set up a swap partition on a hard drive. The output from dmesg shows it is set. How do I stop the second swap file (/var/swap) from being used/set. /dev/sda2 is the rootfs. Would it be better to use a startup script with "swapon /dev/sda1" and no entry in fstab? Regards dmesg [ 24.240534...
by mad-hatter
Sat Jul 26, 2014 6:56 pm
Forum: General discussion
Topic: Printer setup
Replies: 12
Views: 18449

Re: Printer setup

Hello,

In an LXTerminal :-
sudo apt-get install system-config-printer

You will get a menu entry in Preferences/Printing.
I'm not sure, you may need to install 'cups' and some of its related programs.
I don't know if there is a Pi driver for this printer.

Regards
by mad-hatter
Fri Jul 25, 2014 11:38 am
Forum: Networking and servers
Topic: Trying to setup web access via NO-IP
Replies: 8
Views: 2784

Re: Trying to setup web access via NO-IP

Hello joan , I'll get a friend to try pinging me tonight after work. Hello malicious , The output from netstat, I have no idea what it means. pi@mypi ~ $ sudo netstat -tnlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0...
by mad-hatter
Thu Jul 24, 2014 6:38 pm
Forum: Networking and servers
Topic: Trying to setup web access via NO-IP
Replies: 8
Views: 2784

Re: Trying to setup web access via NO-IP

Hello joan,

I've changed it to TCP, no luck.
belkin2.jpg
belkin2.jpg (23.75 KiB) Viewed 2762 times
These are some more setting from my router.
Maybe I don't have the port forwarding setup right on the router or the forwarding address at no-ip.

Regards
by mad-hatter
Thu Jul 24, 2014 5:30 pm
Forum: Networking and servers
Topic: Trying to setup web access via NO-IP
Replies: 8
Views: 2784

Trying to setup web access via NO-IP

Hello, I would like to get remote access to my pi working, for friends and family but so far I'm not having much luck. What I've got is a Virgin Super hub set in modem mode. Hardware verson 2.00 - Software verson V2.38.01 I know the Int. IP and Ext. IP addresses. This is connected to a Belkin router...
by mad-hatter
Tue Jul 22, 2014 6:39 pm
Forum: Camera board
Topic: RPi Cam Control webapge not rendering
Replies: 13
Views: 7393

Re: RPi Cam Control webapge not rendering

Hello, Its all working for me. Windows 7 Using Seamonkey or Firefox, both Ok. Raspbian Wheezy. Works on Pi model 'B' works on Pi model 'B+' Both Pi's fully updated, apt-get update && apt-get upgrade && apt-get dist-upgrade && apt-get install raspberrypi* && rpi-update I start and stop RPi_Cam_Interf...
by mad-hatter
Tue Jul 15, 2014 1:23 pm
Forum: General discussion
Topic: The Raspberry Pi Model B+ Q&A thread
Replies: 388
Views: 185476

Re: The Raspberry Pi Model B+ Q&A thread

Hello,

Just got mine and noted on the leaflet that came with it:-

Red rag to a bull!

Regards
by mad-hatter
Wed Jul 09, 2014 9:48 am
Forum: Beginners
Topic: How To Run A C++ Code in Raspberry PI
Replies: 4
Views: 776

Re: How To Run A C++ Code in Raspberry PI

Hello,

Have a look here:-
http://www.raspberrypi.org/forums/viewt ... 16#p554616

I think your SD card is too small.

Regards
by mad-hatter
Mon Jul 07, 2014 7:21 pm
Forum: Troubleshooting
Topic: Setting NXT client
Replies: 3
Views: 704

Re: Setting NXT client

Hello,

Its:-
sudo apt-get dist-upgrade

Regards
by mad-hatter
Mon Jun 30, 2014 6:58 pm
Forum: C/C++
Topic: C/C++ usleep() and clock frequency
Replies: 6
Views: 8738

Re: C/C++ usleep() and clock frequency

Hello joan , gordon@drogon.net & stevejferry , I found this post from way back to which both joan and gordon added too, looks interesting:- http://www.raspberrypi.org/forums/viewtopic.php?f=33&t=17688 , Joan - Thanks for the links, gives me something to read tomorrow. Gordon - Thanks for all the inf...
by mad-hatter
Mon Jun 30, 2014 9:16 am
Forum: C/C++
Topic: C/C++ usleep() and clock frequency
Replies: 6
Views: 8738

Re: C/C++ usleep() and clock frequency

Hello Gordon , Thanks for the quick response. I'm not using 'wiringPi' and its only for a one shot pulse. I 've been searching and just come across the nanosleep() function, which is probably of more use:- #include <time.h> int milisec = 100; // length of time to sleep, in miliseconds struct timespe...
by mad-hatter
Mon Jun 30, 2014 8:13 am
Forum: C/C++
Topic: C/C++ usleep() and clock frequency
Replies: 6
Views: 8738

C/C++ usleep() and clock frequency

Hello, A question on on usleep():- Is it independent of the system clock frequency? I would like to get an output pulse in the order of 10 micro-seconds. I understand there is an overhead with the call and return and linux has its own system interupts (? repeatability). Perhaps another method could ...
by mad-hatter
Thu Jun 12, 2014 11:48 am
Forum: General discussion
Topic: www.raspberrypi.org forwarding
Replies: 9
Views: 980

Re: www.raspberrypi.org forwarding

Hello again,

Just tried with Firefox 30.0, form Windows 7, no problems.

Go to advanced search