Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: thorald on October 26, 2018, 03:07:04 PM

Title: Python GPIO
Post by: thorald on October 26, 2018, 03: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!
Title: Re: Python GPIO
Post by: thorald on October 27, 2018, 04: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
Title: Re: Python GPIO
Post by: thorald on October 27, 2018, 05: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..