Go to advanced search

by gadgetoid
Fri Jan 30, 2015 9:59 am
Forum: Python
Topic: Read this if you use Python Spidev
Replies: 20
Views: 21153

Re: Read this if you use Python Spidev

Thank, you. This is definitely interesting- there are a few such instances in the code which look like they could use some attention. I'm currently working in my fork to create a stable version of spidev which I will test against current and bleeding-edge Raspbian kernels, so I'll work this change i...
by gadgetoid
Thu Jan 29, 2015 10:53 pm
Forum: Python
Topic: Read this if you use Python Spidev
Replies: 20
Views: 21153

Read this if you use Python Spidev

This message is important for people using the SpiDev package from PyPi. https://pypi.python.org/pypi/spidev I've seen a few tutorials advocating it's use and I use it in dot3k because it's fast and reliable so I know it's out there. I noticed the package was both hideously out of date and, more rec...
by gadgetoid
Tue Nov 04, 2014 6:18 pm
Forum: Troubleshooting
Topic: DisplayOtron 3000 ( dot3k ) ???
Replies: 2
Views: 1725

Re: DisplayOtron 3000 ( dot3k ) ???

Ahoy Ben,

Have you been in touch with us ( Pimoroni ) via email/forums? I think I recognise your name/plight but I just want to be sure you've got some help!
by gadgetoid
Wed Jul 03, 2013 9:52 pm
Forum: For sale
Topic: 2.8" TFT + Touch Shield Board
Replies: 206
Views: 95415

Re: 2.8" TFT + Touch Shield Board

Awesome work! Will this be the first of many kits we'll see from you? I'd love to see another little Pi-related commercial success story, so many brilliant little brands have popped out of apparently nowhere... makes Britain feel relevant again. Good luck! The first? Where have you been the last 6 ...
by gadgetoid
Wed Jul 03, 2013 8:58 pm
Forum: For sale
Topic: 2.8" TFT + Touch Shield Board
Replies: 206
Views: 95415

Re: 2.8" TFT + Touch Shield Board

Awesome work!

Will this be the first of many kits we'll see from you? I'd love to see another little Pi-related commercial success story, so many brilliant little brands have popped out of apparently nowhere... makes Britain feel relevant again.

Good luck!
by gadgetoid
Mon Apr 29, 2013 7:26 am
Forum: Python
Topic: Don your testing hats, it's WiringPi2-Python
Replies: 54
Views: 19115

Re: Don your testing hats, it's WiringPi2-Python

This might be a completely daft question (and probably is) but is it possible for wiringPi and WiringPi2-Python to coexist? Reason I ask is I liked the feature of being able to do a quick check on the 'status' of the GPIO ports from terminal. :oops: :oops: Yes, the two can co-exist peacefully. Just...
by gadgetoid
Thu Apr 04, 2013 11:19 am
Forum: Python
Topic: Don your testing hats, it's WiringPi2-Python
Replies: 54
Views: 19115

Re: Don your testing hats, it's WiringPi2-Python

Managed to compile onto Arch. Found a couple of build issues that had snuck into the PiPy package and fixed them. Eeek! If anyone has had an error about a missing README.rst, it's now fixed. Compiling for arch needs: pacman -S base-devel, along with the usual requirements. Except Python-dev headers ...
by gadgetoid
Fri Mar 29, 2013 3:56 pm
Forum: Python
Topic: Don your testing hats, it's WiringPi2-Python
Replies: 54
Views: 19115

Re: Don your testing hats, it's WiringPi2-Python

That'll be good :) I'm perfectly happy with numbers just as long as there's a way of finding out what the heck they were. It was months before I found out how to use the pullups in wiringpi 1 because there was no documentation for it (in the python version). Yes - buttons-wp.py AND butled-wp.py now...
by gadgetoid
Fri Mar 29, 2013 2:57 pm
Forum: Python
Topic: Don your testing hats, it's WiringPi2-Python
Replies: 54
Views: 19115

Re: Don your testing hats, it's WiringPi2-Python

At the moment PUD_UP, and all other constants are not defined in wiringpi. I was having problems with some other libraries trying to define them too ( although this was in Ruby ) and had made a mental note to see if there's a more graceful way to do it. I'm in two minds about the constants, they hid...
by gadgetoid
Fri Mar 29, 2013 12:58 pm
Forum: Python
Topic: Don your testing hats, it's WiringPi2-Python
Replies: 54
Views: 19115

Re: Don your testing hats, it's WiringPi2-Python

I use import wiringpi2 as wiringpi And I don't consider it lazy at all. I think the two libraries are more or less method for method compatible, and I'd personally either do the above or import all of the methods into whatever Python's equivalent of the Kernel class is. Great news that it's now work...
by gadgetoid
Fri Mar 29, 2013 12:49 pm
Forum: Python
Topic: Don your testing hats, it's WiringPi2-Python
Replies: 54
Views: 19115

Re: Don your testing hats, it's WiringPi2-Python

While I have a probably-far-more-experienced-than-I Python user to bounce off, can I ask if there's a specific reason that you don't use: from wiringpi2 import * I know it might have implications if it tramples any identically named functions, but I'd have thought wiringpi's would be pretty unique?
by gadgetoid
Fri Mar 29, 2013 12:38 pm
Forum: Python
Topic: Don your testing hats, it's WiringPi2-Python
Replies: 54
Views: 19115

Re: Don your testing hats, it's WiringPi2-Python

Yes. I should probably make it abundantly clear that this is beta! But I'd like to have WiringPi-Python, at least, ready to go and reasonably robust by the time WiringPi2 is officially released.

Fix has been pushed up to pypi as v1.0.3. Please give it a punt and let me know!
by gadgetoid
Fri Mar 29, 2013 12:06 pm
Forum: Python
Topic: Don your testing hats, it's WiringPi2-Python
Replies: 54
Views: 19115

Re: Don your testing hats, it's WiringPi2-Python

Didn't mean to patronise you, just trying to get to the bottom of it.

The additional detail helped, and Gordon is looking into it. I'll keep you posted if he doesn't drop by himself!
by gadgetoid
Thu Mar 28, 2013 11:03 pm
Forum: Python
Topic: Don your testing hats, it's WiringPi2-Python
Replies: 54
Views: 19115

Re: Don your testing hats, it's WiringPi2-Python

I'm not entirely sure what you mean, but this page provides a complex overview of the different pin numbering schemes: http://wiringpi.com/pins/ I usually just use "wiringpi.wiringPiSetup" without any of the numbering specific suffixes. Also, all of my tests have involved various expansion boards an...
by gadgetoid
Thu Mar 28, 2013 5:24 pm
Forum: Python
Topic: Don your testing hats, it's WiringPi2-Python
Replies: 54
Views: 19115

Re: Don your testing hats, it's WiringPi2-Python

I've managed to replicate this error by uninstalling WiringPi entirely from my system and attempting to install the Python package. It's a classic problem I should have remembered from the original WiringPi- the include in the top of piNes.c uses <> instead of "". I'm not sharp on C, so I don't know...
by gadgetoid
Thu Mar 28, 2013 10:44 am
Forum: Python
Topic: Don your testing hats, it's WiringPi2-Python
Replies: 54
Views: 19115

Re: Don your testing hats, it's WiringPi2-Python

Implemented: yes. Tested: no. I don't have one to try!

Good luck, and do yell at me if anything explodes. Gordon has tested it, I believe, so if it doesn't work it's probably the wrappers fault.
by gadgetoid
Thu Mar 28, 2013 12:17 am
Forum: Python
Topic: Don your testing hats, it's WiringPi2-Python
Replies: 54
Views: 19115

Don your testing hats, it's WiringPi2-Python

Dear Pythonistas, Pythonists, Pythonese? No matter the name you assign yourselves, I must bow to your superior knowledge and experience of Python and ask you to try the following: sudo pip install wiringpi2 For more information on exactly what this is and does, see my blog post here: http://pi.gadge...
by gadgetoid
Thu Sep 13, 2012 3:49 pm
Forum: Gaming
Topic: iControlPad2 - Bluetooth gaming-controls/keyboard
Replies: 4
Views: 2023

Re: iControlPad2 - Bluetooth gaming-controls/keyboard

A video with fixed sound is now up on YouTube:

http://www.youtube.com/watch?v=l3uKuZq7yBM
by gadgetoid
Thu Sep 13, 2012 1:47 pm
Forum: Gaming
Topic: iControlPad2 - Bluetooth gaming-controls/keyboard
Replies: 4
Views: 2023

iControlPad2 - Bluetooth gaming-controls/keyboard

For those who haven't heard of the iControlPad, this is the sucessor to that moderately successful, and oft-cloned indie mobile gaming controller. It features a 5-row keyboard, in addition to dual analogue controls. Possibly the holy-grail for the Pi, and should be awesome for media controls, too. H...
by gadgetoid
Mon Sep 03, 2012 9:54 pm
Forum: Python
Topic: WiringPi HELP...
Replies: 21
Views: 5726

Re: WiringPi HELP...

Updated WiringPi-Python on GitHub: https://github.com/WiringPi/WiringPi-Python

These changes aren't in the PyPI package yet, I figured it would be sensible to make sure nothing explodes first!

Testing is much appreciated. This one should, at least, have pullUpDnControl in it.
by gadgetoid
Mon Sep 03, 2012 9:41 pm
Forum: Python
Topic: WiringPython - WiringPi for Python
Replies: 205
Views: 73744

Re: WiringPython - WiringPi for Python

Pushed an update to the repo if anyone would care to test: https://github.com/WiringPi/WiringPi-Python

Haven't wrapped this one up as a PyPI package yet, but it should be good to go.
by gadgetoid
Sun Sep 02, 2012 9:13 pm
Forum: Python
Topic: WiringPi HELP...
Replies: 21
Views: 5726

Re: WiringPi HELP...

Nothing exciting or surprising, just wiringPi features that aren't currently exposed. If I can learn how to use them and test them, that is!
by gadgetoid
Sun Sep 02, 2012 8:38 pm
Forum: Python
Topic: WiringPi HELP...
Replies: 21
Views: 5726

Re: WiringPi HELP...

PullUpDnControl isn't made available in the current wrapper, but it's being worked into my local development version, which I'll push up when I'm sure I haven't borked anything. Might get it out to a fork so you can try it out and get the features you want post haste. Lots of other bits and bobs bei...
by gadgetoid
Sun Sep 02, 2012 1:51 pm
Forum: Python
Topic: WiringPi HELP...
Replies: 21
Views: 5726

Re: WiringPi HELP...

Bigcat123 wrote:Congratulations on getting it installed! :) :) :)

Just wondering though... Does it work with Python 3.x?

Or are you just using Python 2.x?

Thanks :D :geek:
Sounds like something else I need to test for when I get my second Pi! The list grows :D
by gadgetoid
Sat Sep 01, 2012 1:17 pm
Forum: Python
Topic: WiringPython - WiringPi for Python
Replies: 205
Views: 73744

Re: WiringPython - WiringPi for Python

I've been busy with other decidedly more awesome Pi-related projects as of late, but I'm keeping my eye on this thread. I have an updated Python package in the works, including all of Gordon's changes to WiringPi to date and adding some general cleanup where I can. I'm still learning Python, so excu...

Go to advanced search