WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Python GPIO  (Read 1514 times)

Offline thorald

  • Newbie
  • *
  • Posts: 20
Python GPIO
« on: October 26, 2018, 12:07:04 PM »
Hello!
I have been trying to get the gpio to work with python 3.6 but it fails on the import.

I have been looking at this old thread, but the info there seems rather outdated.
http://forum.tinycorelinux.net/index.php?topic=14444.0

So i had a look at the gpio package and it says that its compiled for piCOre 8, could this be the issue?

Packages:
python3.6-dev.tcz
python-RPi.GPIO.tcz

cheers!

Offline thorald

  • Newbie
  • *
  • Posts: 20
Re: Python GPIO
« Reply #1 on: October 27, 2018, 01:58:53 AM »
I forgot to mention that I initially followed this post:
https://iotbytes.wordpress.com/control-raspberry-pi-gpio-pins-with-picore-and-rpi-gpio/

i have also tried with python3.5 without success

Offline thorald

  • Newbie
  • *
  • Posts: 20
Re: Python GPIO
« Reply #2 on: October 27, 2018, 02:48:57 AM »
Sorry, false alarm.

I had an previosly made image, tried it again with a fresh piCore..
And now it works..

Sorry folks..