Go to advanced search

by PeterO
Tue Dec 12, 2017 10:52 am
Forum: General discussion
Topic: Physical Computing
Replies: 11
Views: 387

Re: Physical Computing

Hello again. Please be patient with me I am a complete novice grand parent trying to get my grandson enthused. I select the raspberry, then select 'Help' . I then select Parents' Guide & from there I select Physical computing. Has no one followed this approach? Leo Which web site are you looking at...
by PeterO
Tue Dec 12, 2017 8:05 am
Forum: Raspbian
Topic: Raspbian life cycle
Replies: 84
Views: 6227

Re: Raspbian life cycle

In fact it's now a bit of a joke whenever I raise a service request for a problem to one of our many vendors, that I know they'll say "upgrade your version" without bothering to read anything else if our's isn't the latest - and an upgrade isn't always possible. Why should a vendor have to keep mai...
by PeterO
Mon Dec 11, 2017 7:00 pm
Forum: C/C++
Topic: [SOLVED] Writing a codec driver
Replies: 33
Views: 1115

Re: Writing a codec driver

Values in that wav file are very small square waves. You seem to have the gain wrong somewhere.

PeterO
by PeterO
Sun Dec 10, 2017 8:24 pm
Forum: General discussion
Topic: Physical Computing
Replies: 11
Views: 387

Re: Physical Computing

mrrleo3 wrote:
Sun Dec 10, 2017 7:02 pm
the physical computing worksheets
Where did you get these worksheets from ?
PeterO
by PeterO
Wed Dec 06, 2017 7:47 am
Forum: General discussion
Topic: Report by IEEE 360: How the Raspberry Pi Changed Computing
Replies: 1
Views: 153

Re: Report by IEEE 360: How the Raspberry Pi Changed Computing

Were the "cable cutters" (an Americanism) really involved much at the start ? It may have been them that have driven US sales, but not in the UK as far as I remember it.

PeterO
by PeterO
Sat Dec 02, 2017 12:07 pm
Forum: C/C++
Topic: Undefined reference to main / Undefined reference to 'some_function'
Replies: 5
Views: 224

Re: Undefined reference to main / Undefined reference to 'some_function'

johnrees200 wrote:
Fri Dec 01, 2017 8:53 pm
When I compile and build source files - Getting compilation failed - Undefined reference to 'main'.
What EXACTLY are you doing to "compile and build" ? It sounds like you are using some sort of IDE rather than the command line ?

PeterO
by PeterO
Tue Nov 28, 2017 8:31 am
Forum: Advanced users
Topic: Generating Sounds
Replies: 10
Views: 471

Re: Generating Sounds

paddyg wrote:
Mon Nov 27, 2017 9:51 pm
I have tried csound from python via subprocess.
Is Csound still going ? I used it many years ago (probably on a 80486!). I even bought a thick book about it :-)

PeterO
by PeterO
Sat Nov 25, 2017 8:21 pm
Forum: Advanced users
Topic: Generating Sounds
Replies: 10
Views: 471

Re: Generating Sounds

I would say that using python is going to make it difficult to get the required performance to generate samples in real time. One way to do it would be to use python to provide control and user interface but write all the maths code in C to get the required performance and call that code from python...
by PeterO
Thu Nov 23, 2017 7:59 am
Forum: Troubleshooting
Topic: Diagnosing hard crashes, USB drive
Replies: 16
Views: 565

Re: Diagnosing hard crashes, USB drive

DougieLawson wrote:
Thu Nov 23, 2017 7:55 am
It looks like you also have a critical failure with your camera as your photo is so out of focus it's unusable.
Put your right glasses on Dougie :-) It's quite readable here !
PeterO
by PeterO
Tue Nov 21, 2017 8:07 am
Forum: Advanced users
Topic: Operating system Corrupting screen
Replies: 1
Views: 121

Re: Operating system Corrupting screen

A picture or screen shout of this "corruption" might give us a clue as to what you are asking about.

PeterO
by PeterO
Wed Nov 15, 2017 10:02 am
Forum: Raspbian
Topic: More frequent updates?
Replies: 9
Views: 485

Re: More frequent updates?

After writing a new SD card I always run an update. The latest Raspbian image was in September, and the update is taking a long time (hardwired, 70MBps internet download speed - not slow!) on a Pi 2. Keep a "master" SD card which is kept updated, then just clone that each time you need a new one. P...
by PeterO
Mon Nov 13, 2017 12:30 pm
Forum: Beginners
Topic: agetty cpu ussage
Replies: 15
Views: 372

Re: agetty cpu ussage

Try turning off the login on ttyAMA0 with raspi-config.

PeterO
by PeterO
Mon Nov 13, 2017 11:57 am
Forum: Beginners
Topic: agetty cpu ussage
Replies: 15
Views: 372

Re: agetty cpu ussage

What does running the command below produce :

ps lax | grep getty

PeterO
by PeterO
Tue Nov 07, 2017 12:39 pm
Forum: Beginners
Topic: Write date from infinite loop to a GTK label
Replies: 2
Views: 115

Re: Write date from infinite loop to a GTK label

Have a look at the code in gtk-demo or gtk3-demo , there may be some hints in there.

PeterO
by PeterO
Fri Nov 03, 2017 6:04 pm
Forum: Français
Topic: Draftsight sous raspian
Replies: 5
Views: 302

Re: Draftsight sous raspian

Hi peter, sorry for my english ;-) I ask the question for RPi 3. maybe is it possible with ubuntu mate? Or Arm architecture makes it impossible? thanks! It is not possible because the processor architecture is wrong. It only runs on Intel CPU regardless of the operating system. Draftsight is a nice...
by PeterO
Fri Nov 03, 2017 3:16 pm
Forum: Français
Topic: Draftsight sous raspian
Replies: 5
Views: 302

Re: Draftsight sous raspian

Bonjour, (That's the limit of my French !) https://www.3ds.com/products-services/draftsight-cad-software/latest-version/ "Processor Intel® Core™ 2 Duo, AMD® Athlon™ X2 Dual-Core processor, or better" Are you asking about Raspbian on a PI (ARM) or on a PC (x86-64) ? PI -- No. PC -- Maybe. PeterO
by PeterO
Fri Nov 03, 2017 1:41 pm
Forum: Beginners
Topic: dd mistake
Replies: 5
Views: 235

Re: dd mistake

Hello, I made a mistake when I clone my sd to an image to a 120G external USB, little did I know that dd made an i120G image. :shock:. I am trying to copy the image back to a 8G SD, needless to say, Etcher says the image is too big. Is there any way to dd this 120G .img back to 8G image? Thanks. dd...
by PeterO
Wed Nov 01, 2017 9:04 am
Forum: Beginners
Topic: Can I wire OR multiple GPIO?
Replies: 17
Views: 614

Re: Can I wire OR multiple GPIO?

Maybe I'm missing something, but if the 4 signals are connected to GPIO pins, why can't code be used to read their values, perform a logical, and set another output pin accordingly ?

PeterO
by PeterO
Fri Oct 27, 2017 9:33 am
Forum: General programming discussion
Topic: How do I protect my code?
Replies: 4
Views: 718

Re: How do I project my code?

I think the word you are looking for is "port" or "porting" your code, not "project" it. https://en.wikipedia.org/wiki/Porting A good start would be to tell us what programming language and microcontrollers you are using. Next question will be about what hardware/sensors the microcontrollers are co...
by PeterO
Fri Oct 27, 2017 8:04 am
Forum: Python
Topic: [solved] gtk builder pango font choice not displayed
Replies: 8
Views: 474

Re: [solved] gtk builder pango font choice not displayed

I think the right way to do it is to create a .css file for your application, but as I said earlier I don't remember actually doing it.
PeterO
by PeterO
Wed Oct 25, 2017 9:37 pm
Forum: Python
Topic: [solved] gtk builder pango font choice not displayed
Replies: 8
Views: 474

Re: gtk builder pango font choice not displayed

I've seen the same thing happen between Mint and Raspbian. Compile and run the same code on both and get different fonts in buttons etc.
I'm pretty sure I worked out is was a CSS issue, but I can;t remember if I fixed it or if I was just content that I had found the cause.

PeterO
by PeterO
Wed Oct 25, 2017 8:07 am
Forum: Troubleshooting
Topic: SSD read only, why?
Replies: 4
Views: 217

Re: SSD read only, why?

You've not really provided much information beyond "I did stuff, it didn't work, help me fix it!". :o I was able to crate and format some partition on it How did you do that ? What tools did you use ? What type of partition table did you create, and what type of file systems have you created in the ...
by PeterO
Tue Oct 24, 2017 9:43 pm
Forum: Python
Topic: [solved] gtk builder pango font choice not displayed
Replies: 8
Views: 474

Re: gtk builder pango font choice not displayed

It's been a while since I looked into this, but I think you may have to venture into GTK3's use of CSS:
https://developer.gnome.org/gtk3/stable ... rview.html
PeterO

Go to advanced search