Giter Site home page Giter Site logo

arduino-libraries's Introduction

Arduino Libraries Playground

This repository is deprecated. The code examples are now published directly on wokwi.com.

arduino-libraries's People

Contributors

ariellae avatar marmilicious avatar matititam avatar sutaburosu avatar urish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

arduino-libraries's Issues

Wokwi library documenation and samples -- neopixel example error

I'm not sure who owns https://wokwi.com/arduino/libraries/Adafruit_NeoPixel/buttoncycler
but there is a error in the schematic where both wires to the button are connected to the same node. This error makes the simulation non-functional.

The button could be repaired by moving the wire to a different node, as in https://wokwi.com/arduino/projects/325075981102482003

Adafruit says it is their code, but the simulation is yours: https://forums.adafruit.com/viewtopic.php?f=47&t=189023#p914891

It appears that https://wokwi.com/arduino/libraries/Adafruit_NeoPixel/buttoncycler is a child of https://wokwi.com/arduino/libraries/Adafruit_NeoPixel which is in turn a child of https://wokwi.com/arduino/libraries which is a link of your front page at https://wokwi.com/

Could you please fix the button in https://wokwi.com/arduino/libraries/Adafruit_NeoPixel/buttoncycler

It would be nice if the code posted on the simulation referred to the author of the simulation and to the author of the code. Such as:

// Code:  https://github.com/adafruit/Adafruit_NeoPixel/blob/master/examples/buttoncycler/buttoncycler.ino
// Simulation: https://wokwi.com/arduino/libraries/Adafruit_NeoPixel/buttoncycler

Rename pixel and matrix types, Change single pixel type to strip

  1. As you were considering, yes I think it would be good to rename the pixel and matrix types to:
    wokwi-led-strip and wokwi-led-matrix
    (Beginners are often familiar with the name neopixel, but it's just a WS28** pixel, so probably better to keep it a generic name.)

And then later if there's a ring type, would that be wokwi-led-ring?

  1. For the type of render, right now there is individual or canvas, and then if in canvas mode pixelate can be added. What if pixelate is one of the render styles instead of a separate thing added on top of canvas? So three render styles, instead of two with one having two modes, which seems harder to remember.

  2. Canvas doesn't quite feel like the right name to me. Maybe "blur" instead?

  3. Change single pixel type to strip. Strips of length 1 can of course be used for a single pixel.

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.