GPIO access

If you need technical help with anything you've bought from Dawn Robotics, please post here.

GPIO access

Postby kevcook » Mon Jul 27, 2015 4:27 pm

Hi,

Having used up the space for switching on the mini driver I want to use the GPIO pins. However using standard coding (from other projects) I can't achieve this for some reason.
I've imported RPI.GPIO etc and it's associations. But I can't even setup a pin without an error saying that I haven't set up a pin!
Clearly I'm missing something but I can't find anything on the forum or other forums on including basic GPIO code on the same card as the robot code is. So I need to do something else.
I know it's vague but someone must have already done this from scratch and could help?

Kevin
kevcook
 
Posts: 16
Joined: Mon Apr 13, 2015 2:23 pm

Re: GPIO access

Postby Alan » Mon Jul 27, 2015 10:04 pm

Hi Kevin,

Can you post an example of the code you're trying to run, and any error messages you're getting please? I can try to run it on one of our SD cards.

Cheers

Alan
Alan
Site Admin
 
Posts: 311
Joined: Fri Jun 14, 2013 10:09 am


Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests