Code Monkey home page Code Monkey logo

laptopambilight's Introduction

LaptopAmbilight

Laptop case LED strip ambilight

Made for ESP8266 and MacOS

laptopambilight's People

Contributors

kfreitag1 avatar

Stargazers

Stefan avatar Hasan Parasteh avatar  avatar  avatar  avatar Exequiel Schuster avatar

Watchers

 avatar

Forkers

madmen2302

laptopambilight's Issues

img = img.reduce(REDUCTION_FACTOR) AttributeError: 'Image' object has no attribute 'reduce'

['COM3', 'COM15', 'COM11', 'COM6', 'COM8', 'COM4', 'COM12', 'COM10', 'COM7', 'COM5', 'COM9']
Which port? (0-?)1
How many LEDS on the sides?21
How many LEDS on the top?32
How fast to fade? (5-60)20
bytearray(b'J\x14')
Sending init data...
b'6'
b'7'
Traceback (most recent call last):
File "D:\softwares\Laptop Ambilight\LaptopAmbilight-master\LaptopAmbilight-master\main.py", line 130, in
main()
File "D:\softwares\Laptop Ambilight\LaptopAmbilight-master\LaptopAmbilight-master\main.py", line 60, in main
pixel_bytes = getByteArrayForScreen(sct)
File "D:\softwares\Laptop Ambilight\LaptopAmbilight-master\LaptopAmbilight-master\main.py", line 91, in getByteArrayForScreen
img = img.reduce(REDUCTION_FACTOR)
AttributeError: 'Image' object has no attribute 'reduce'

port index out of range

['COM7']
Which port? (0-?)7
Traceback (most recent call last):
File "main.py", line 130, in
main()
File "main.py", line 25, in main
port = ports[int(input("Which port? (0-?)"))]
IndexError: list index out of range

How would I fix this? I am using Python 3.8.0

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.