WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: python smbus extension?  (Read 3099 times)

Offline suicidal_orange

  • Newbie
  • *
  • Posts: 5
python smbus extension?
« on: April 18, 2014, 10:13:15 AM »
This is my first time using Tiny Core on anything but it seems to be ideal for what I need to do: display a number from the Internet on an LED screen and be able to pull the plug at any time without corruption.

Having read the basics of how it works I downloaded the SSH version, got wifi working and manually added my display script to mydata.gz so I was good to go.

I then installed python-RPi.GPIO.tcz and hopefully ran the script - but no joy  :(
Code: [Select]
ImportError: No module named smbusIs there an extension for this?  There are lots of Python ones but none looked likely...

Thanks for any help, even if it's telling me to go and compile it.  What else is a long weekend for  :D

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: python smbus extension?
« Reply #1 on: April 18, 2014, 10:41:03 AM »
Welcome on board! The Python smbus module is not yet in the repo, will add it in the next days. However you can try to do it youself in the mean time.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline suicidal_orange

  • Newbie
  • *
  • Posts: 5
Re: python smbus extension?
« Reply #2 on: April 18, 2014, 11:10:55 AM »
Thanks, I'll have a go but I'd be lying if I said I knew where to start.  It's not so much fun doing things I can do already anyway :)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: python smbus extension?
« Reply #3 on: April 19, 2014, 12:52:09 PM »
python-smbus.tcz added to repo
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1059
Re: python smbus extension?
« Reply #4 on: April 19, 2014, 02:09:24 PM »
i had been using the version that came with the rasbian package.....I'll give this one a shot.

Offline suicidal_orange

  • Newbie
  • *
  • Posts: 5
Re: python smbus extension?
« Reply #5 on: April 20, 2014, 06:04:50 AM »
python-smbus.tcz added to repo
Wow, that was fast - thanks! :D