Git Product home page Git Product logo

Comments (3)

bjohas avatar bjohas commented on May 18, 2024 1

@mirkin - thank you so much. Changing to await asyncio.sleep did the trick!

Updated and working version here:
https://github.com/OpenDevEd/plasma-pico-web-server-control

from pico-web-server-control.

mirkin avatar mirkin commented on May 18, 2024

Firstly thank you for trying out our code.

We don't have that particular device, or we'd figure it out for you. Maybe an idea to pull all the code into main.py and start with one of their simple examples setting up the plasma stick at the start of the code and led_strip.start() then copy their while True loop into our main() function replacing their time.sleep with await asyncio.sleep then having a variable you change with your plasma/1 and plasma/2 with a conditional in the loop to make a change to the stick. Be sure to use global with the variable you are changing in main and plasma.

This way you narrow the problem down because all your code is in main.py apart from the plasma_stick

In our next video and the one on toms hardware we used an LED matrix which is a similar project to yours. We change the scrolling message and speed. Let us know how you get on.

from pico-web-server-control.

bjohas avatar bjohas commented on May 18, 2024

We don't have that particular device, or we'd figure it out for you.

I would be very happy to send you one :)

This way you narrow the problem down because all your code is in main.py apart from the plasma_stick

Thanks for tips - will try that!

In our next video and the one on toms hardware we used an LED matrix which is a similar project to yours. We change the scrolling message and speed. Let us know how you get on.

Change the message and speed of the display via the webserver, right?

Assuming that your message loops, it would be the same scenario as mine.

I found these two videos:

from pico-web-server-control.

Related Issues (2)

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.