Giter VIP home page Giter VIP logo

oled's People

Contributors

haniffm avatar the-raspberry-pi-guy avatar wizam7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

oled's Issues

Not working on rpi 3 b+

Unable to determine hardware version. I see: Hardware	: BCM2835
,
 - expecting BCM2708 or BCM2709. Please report this to [email protected]

And I also had to change in /usr/local/lib/python2.7/dist-packages/gaugette/gpio.py to import wiringpi2

TypeError: __init__() takes at least 3 arguments (3 given)

Hello, I have an Adafruit_SSD1306 128x32 SPI connected to a raspberry Pi3, am a beginner with those things actually, anyway I downloaded and installed the Software and followed the video: https://www.youtube.com/watch?v=BeBfpJnN9SE&feature=c4-overview&list=UUfY8sl5Q6VKndz0nLaGygPw but at at the end I keep getting this error msg and can't get my display working:
Traceback (most recent call last): File "OLEDclock.py", line 18, in <module> led = gaugette.ssd1306.SSD1306(dc_pin=DC_PIN, reset_pin=RESET_PIN) TypeError: __init__() takes at least 3 arguments (3 given)
I hope its not a repeated question/issue cuz i searched a lot and couldn't find a solution for it.
By the way I had it working before on the same device with the same display but after I formatted the SD and installed a fresh Linux Rasbian then it didn't work anymore, also I got this other one and its working https://github.com/adafruit/Adafruit_SSD1306 but I need the OLEDclock.py to work, so i can use it for the pi that works as Stratum NTP Server.
Any help is appreciated
Thanks in advance.

Add comment on pin numbering system.

In the Python examples (OLEDclock.py, OLEDimage.py, OLEDip.py and OLEDtext.py) it would be useful to have a more detailed comment about the numbering of the reset and DC pins. (By the way, what does DC mean?)

Change:

# Sets up our pins again
RESET_PIN = 15
DC_PIN    = 16

to:

# Define which GPIO pins the reset (RST) and DC signals on the OLED display are connected to on the
# Raspberry Pi. The defined pin numbers must use the WiringPi pin numbering scheme.
RESET_PIN = 15 # WiringPi pin 15 is GPIO14.
DC_PIN = 16 # WiringPi pin 16 is GPIO15.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.