Giter Site home page Giter Site logo

blinkt's People

Contributors

sixty-nine avatar

Watchers

 avatar  avatar

blinkt's Issues

RecursionError: maximum recursion depth exceeded while calling a Python object

  File "/home/dev/flask-test/BlinkIt/__init__.py", line 34, in work
    self.thread.run()
  File "/usr/lib/python3.7/threading.py", line 1166, in run
    self.function(*self.args, **self.kwargs)
  File "/home/dev/flask-test/BlinkIt/__init__.py", line 34, in work
    self.thread.run()
  File "/usr/lib/python3.7/threading.py", line 1166, in run
    self.function(*self.args, **self.kwargs)
  File "/home/dev/flask-test/BlinkIt/__init__.py", line 34, in work
    self.thread.run()
  File "/usr/lib/python3.7/threading.py", line 1166, in run
    self.function(*self.args, **self.kwargs)
  File "/home/dev/flask-test/BlinkIt/__init__.py", line 34, in work
    self.thread.run()
  File "/usr/lib/python3.7/threading.py", line 1166, in run
    self.function(*self.args, **self.kwargs)
  File "/home/dev/flask-test/BlinkIt/__init__.py", line 31, in work
    self.worker.work()
  File "/home/dev/flask-test/BlinkIt/Workers/RainbowWorker.py", line 27, in work
    self.driver.show()
  File "/home/dev/flask-test/BlinkIt/BlinktDriver.py", line 54, in show
    blinkt.show()
  File "/usr/lib/python3/dist-packages/blinkt.py", line 81, in show
    _sof()
  File "/usr/lib/python3/dist-packages/blinkt.py", line 62, in _sof
    GPIO.output(DAT, 0)
RecursionError: maximum recursion depth exceeded while calling a Python object

Error on exit

When using the hardware and pressing CTRL+C:

Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "app.py", line 58, in stop
    driver.show()
  File "/home/dev/flask-test/BlinkIt/BlinktDriver.py", line 54, in show
    blinkt.show()
  File "/usr/lib/python3/dist-packages/blinkt.py", line 81, in show
    _sof()
  File "/usr/lib/python3/dist-packages/blinkt.py", line 62, in _sof
    GPIO.output(DAT, 0)
RuntimeError: Please set pin numbering mode using GPIO.setmode(GPIO.BOARD) or GPIO.setmode(GPIO.BCM)

Convert more Pimoroni examples

Create more workers for more Pirmoroni examples.

  • 1d_tetris.py
  • cpu_load.py
  • mem_load.py
  • resistor_clock.py
  • cpu_temp.py
  • morse_code.py
  • rgb.py
  • binary_clock.py
  • mqtt.py
  • solid_colours.py
  • binary_clock_meld.py
  • gradient_graph.py
  • pulse.py
  • twitter_monitor.py
  • blinkt_thermo.py
  • graph.py
  • rainbow.py
  • candle.py
  • larson.py
  • random_blink.py
  • cheerlights.py
  • larson_hue.py
  • random_blink_colours.py

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.