Giter Club home page Giter Club logo

microwave_usb_fan's People

Contributors

fergofrog avatar harbaum avatar rjmatthews62 avatar

Stargazers

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

Watchers

 avatar

microwave_usb_fan's Issues

OSError: cannot open recource

I opened the example and tried it out. First, I hat do install Pillow, then I got this:

Traceback (most recent call last):
  File "C:\Users\...\usbfan_test.py", line 3, in <module>
    p = Program((TextMessage("Test1"),
  File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\site-packages\usbfan\message.py", line 12, in __init__
    join(basename(__file__), 'fonts', 'Arial.ttf'))
  File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\site-packages\PIL\ImageFont.py", line 280, in truetype
    return FreeTypeFont(font, size, index, encoding, layout_engine)
  File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\site-packages\PIL\ImageFont.py", line 145, in __init__
    layout_engine=layout_engine)
OSError: cannot open resource

I tried to change the font to Arial (as it's saying above). Welp, what to do?
Btw using Py 3.7.2

HW modding with BJT

Hi!

Can you please provide more details (specs and background) how to mod the fan with BJT to make it accept new messages on-the-fly?
Thank you!

How to display a static message

From my digging around in the protocol, I can see no obvious way of how to just have a static message display without in/middle/out transitions?

Thanks

Convert to WebHID

I've made a minimal example to try and get this working with WebHID but it fails with
Uncaught (in promise) DOMException: Failed to write the report.
I think maybe it's because Chrome thinks it's a protected device (eg keyboard) but I'm not sure how to check that for sure or if I've made a mistake

https://murkle.github.io/utils/webhid/led_fan_fail.html

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.