Go to advanced search

by DougieLawson
Sun Feb 07, 2016 5:27 pm
Forum: Scratch
Topic: Which Scratch is easier to extend?
Replies: 16
Views: 5600

Re: Which Scratch is easier to extend?

... The question was, how to connect it with Scratch? Scratch will need a driver module or you're going to have to wiggle GPIO pins in the right order with the right timing to drive it from your scratch program. You may by able to do that with Simon Walter's ScratchGPIO ...
by diabeg
Tue Feb 02, 2016 2:59 pm
Forum: Beginners
Topic: sence hat
Replies: 13
Views: 1113

Re: sence hat

DirkS wrote:Try control-C
BTW: you can ignore that message.
Wonderful
I pressed control and c
and I am back tp sign in
pi@raspberrypi upper wiggle line $
Thank you
by JimmyN
Mon Feb 01, 2016 1:03 pm
Forum: Official Foundation Display
Topic: Should the display unit come fully disassembled?
Replies: 27
Views: 4899

Re: Should the display unit come fully disassembled?

... The cable is exactly the right length so the screw holes in the adapter will line up with the mounting holes in the display. If you tug on it or wiggle it around too much when fastening the adapter to the display it will pull the cable out slightly and you'll only have a white screen. I'd remove ...
by rpdom
Sun Jan 31, 2016 4:52 pm
Forum: Raspberry Pi OS
Topic: RPI-Wiggle - Expand to SDcard size leaving room
Replies: 24
Views: 15679

Re: RPI-Wiggle - Expand to SDcard size leaving room

... Id Type /dev/mmcblk0p1 8192 122879 114688 56M c W95 FAT32 (LBA) /dev/mmcblk0p2 122880 31078399 30955520 14.8G 83 Linux If it has allowed some "wiggle room", the "End" value for the last entry should be quite a bit less than the "sectors" figure on the first line. As you can see, I used the ...
by ccclapp
Sun Jan 31, 2016 5:03 am
Forum: Raspberry Pi OS
Topic: RPI-Wiggle - Expand to SDcard size leaving room
Replies: 24
Views: 15679

Re: RPI-Wiggle - Expand to SDcard size leaving room

Hi I am very new to RPi and Linux/command-line. I ran this script as described and needed to do the bash -x ./rpi-wiggle command for it to work. I ran it via putty and everything proceeded to the reboot option, to which I said yes. It rebooted very quickly and I watched on the connected ...
by W. H. Heydt
Wed Jan 13, 2016 8:38 pm
Forum: Troubleshooting
Topic: My pi boots then after a few minutes video goes off
Replies: 4
Views: 632

Re: My pi boots then after a few minutes video goes off

IF you wiggle the mouse, or press a key on the keyboard does the screen come back? Your raw description sounds like the screensaver kicking in...
by mikey11
Sun Jan 03, 2016 1:24 am
Forum: Assistive technology and accessibility
Topic: Sight for the Blind for <100$
Replies: 720
Views: 226022

Re: Sight for the Blind for <100$

... GPIO.setup(20, GPIO.OUT) #Define pin 20 as output, for PWM modulation of vibration motor p = GPIO.PWM(20, 25) #Set some initial value to give it a wiggle p.start(5) p.ChangeDutyCycle(0)#then shut it off #Use ConfigParser to Read Persistent Variables from AfterSight.CFG Config = ConfigParser.RawConfigParser() ...
by Gbaman
Fri Jan 01, 2016 4:32 pm
Forum: General discussion
Topic: Raspberry Pi at the Public Library?
Replies: 13
Views: 3425

Re: Raspberry Pi at the Public Library?

... can't be overwritten (unless you choose to give a user's account root privileges). Combine that with the change that allows non-root users to wiggle GPIO pins and it's all a whole lot more secure. Thanks Dougie, yip that is correct, PiNet would be a perfect solution for this. You maintain ...
by Heater
Sun Dec 27, 2015 3:12 pm
Forum: Other programming languages
Topic: Confusion with sudoers in php
Replies: 7
Views: 1597

Re: Confusion with sudoers in php

Not sure about pigpio using the pigpiod. Have to check.

Mind you I'd rather it did not. All seems to get crazy heavy weight just to wiggle some I/O pins.
by DougieLawson
Sun Dec 27, 2015 9:49 am
Forum: Other programming languages
Topic: Confusion with sudoers in php
Replies: 7
Views: 1597

Re: Confusion with sudoers in php

... So it should be possible to get any webserver running with userid=www-data gid=www-data to be able to read / wiggle GPIO pins without needing sudo to get root privileges.
by DougieLawson
Sun Dec 27, 2015 9:38 am
Forum: General discussion
Topic: Raspberry Pi at the Public Library?
Replies: 13
Views: 3425

Re: Raspberry Pi at the Public Library?

... can't be overwritten (unless you choose to give a user's account root privileges). Combine that with the change that allows non-root users to wiggle GPIO pins and it's all a whole lot more secure.
by DougieLawson
Thu Dec 24, 2015 9:50 pm
Forum: Beginners
Topic: Exec python script from HTML
Replies: 6
Views: 3129

Re: Exec python script from HTML

... Because it looks like running that as a stand-alone webserver is going to be the easiest option at the moment. Making Apache2, Lighttpd or NGINX wiggle GPIO pins (in the pattern needed for the Energenie stuff) isn't something I can hack together for you on Xmas Eve. get pi-power installed with ...
by DougieLawson
Mon Dec 07, 2015 4:58 pm
Forum: Other projects
Topic: Control Browser remotely - help required
Replies: 18
Views: 4495

Re: Control Browser remotely - help required

... of doing it was to write a server that subscribed to a bunch of MQTT topics, then the non-privileged client only needed to publish a message to wiggle a GPIO pin.
by aramaziakin
Sun Nov 29, 2015 9:21 am
Forum: Troubleshooting
Topic: RPi Zero loose otg usb cables
Replies: 2
Views: 794

RPi Zero loose otg usb cables

Is anyone else having trouble connecting otg cables to the Zero? I have 2 that I've tried and both sometimes need a bit of a wiggle to get the Zero to realize there is something connected. Both cables have worked perfectly with various tablets I have used over the years, is the data ...
by mimi123
Sun Nov 29, 2015 8:12 am
Forum: General discussion
Topic: Which is the fastest Raspberry Pi?
Replies: 10
Views: 1814

Re: Which is the fastest Raspberry Pi?

... a performance advantage over previous models which is quite noticeable even during casual browsing. I would be curious to know which board can wiggle an I/O bit faster. The IPC of the ARM1176 is less than the one of the Cortex-A7, so the Pi2 is faster by a good margin on single-core
by fruitoftheloom
Sat Nov 28, 2015 10:21 pm
Forum: General discussion
Topic: Which is the fastest Raspberry Pi?
Replies: 10
Views: 1814

Re: Which is the fastest Raspberry Pi?

... a performance advantage over previous models which is quite noticeable even during casual browsing. I would be curious to know which board can wiggle an I/O bit faster. How fast depends on the speed one can launch with a good overarm throw !
by emma1997
Sat Nov 28, 2015 10:07 pm
Forum: General discussion
Topic: Which is the fastest Raspberry Pi?
Replies: 10
Views: 1814

Re: Which is the fastest Raspberry Pi?

That depends on your definition of "faster". Certainly 1000mhz is faster than 900mhz. As I mentioned the 2B does have a performance advantage over previous models which is quite noticeable even during casual browsing. I would be curious to know which board can wiggle an I/O bit faster.
by DougieLawson
Wed Nov 25, 2015 4:48 pm
Forum: C/C++
Topic: Using apache with C
Replies: 4
Views: 793

Re: Using apache with C

... It's simply better to never open that can of worms. I think with a 4.1.7 (or higher) kernel and the gpiomem module it's going to be easier to wiggle GPIO pins from Apache2 (or Lighttpd or NGINX) without needing sudo or root privileges. I just have to find a way to set the environment variable ...
by emma1997
Mon Nov 23, 2015 9:00 pm
Forum: General discussion
Topic: Blink LED with C compiler on 2gb SD
Replies: 27
Views: 3656

Re: Blink LED with C compiler on 2gb SD

... far and suspect Rasbian may have changed again since those libraries. Or maybe they were before Rpi2. Do you or anybody else have any ideas how to wiggle a Rpi2 pin with the simplest possible code?
by DougieLawson
Thu Oct 15, 2015 6:19 am
Forum: General discussion
Topic: Passwords in configuration files
Replies: 14
Views: 3484

Re: Passwords in configuration files

... idea. The main thing with Raspbian on the RPi is that the use of root is much more open than on a regular system because of the need to be root to wiggle the GPIO pins from python using RPi.GPIO. You can harden the system, starting with an update to the /etc/sudoers file. The underlying problem ...
by W. H. Heydt
Tue Sep 22, 2015 3:44 pm
Forum: Official Foundation Display
Topic: power requirements
Replies: 5
Views: 1594

Re: power requirements

... maximum draw of the LCD + interface board ? by the time you have pi2 @1ghz, keyboard, mouse, etc all plugged it I'm thinking to allow any kind of wiggle room probably a 4A power supply would be likely needed (as estimate only) I'm certainly seeing warnings with a 2A supply While I could use a ...
by chris_c
Tue Sep 22, 2015 1:23 pm
Forum: Official Foundation Display
Topic: power requirements
Replies: 5
Views: 1594

power requirements

... maximum draw of the LCD + interface board ? by the time you have pi2 @1ghz, keyboard, mouse, etc all plugged it I'm thinking to allow any kind of wiggle room probably a 4A power supply would be likely needed (as estimate only) I'm certainly seeing warnings with a 2A supply While I could use a ...
by plugwash
Sun Sep 20, 2015 12:31 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO Security
Replies: 28
Views: 7450

Re: GPIO Security

Interesting idea of having a server run as root and handle user GPIO requests through that server. It's the best way if you want to wiggle GPIO pins from a web server. That avoids having to give www-data elevated privileges. For now. The new gpiomem interface looks like it's going to be ...
by rpdom
Sun Aug 23, 2015 7:33 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO Security
Replies: 28
Views: 7450

Re: GPIO Security

Interesting idea of having a server run as root and handle user GPIO requests through that server. It's the best way if you want to wiggle GPIO pins from a web server. That avoids having to give www-data elevated privileges. For now. The new gpiomem interface looks like it's going to be ...
by DougieLawson
Sun Aug 23, 2015 6:59 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO Security
Replies: 28
Views: 7450

Re: GPIO Security

w4mmp wrote:Interesting idea of having a server run as root and handle user GPIO requests through that server.
It's the best way if you want to wiggle GPIO pins from a web server. That avoids having to give www-data elevated privileges.

Go to advanced search