Comments (10)
Hello!
Done, but not tested. Took the opportunity to write about how to create new blocks:
https://bipes.net.br/wp/creating-new-blocks/
Example:
https://bipes.net.br/beta2serial/ui/#i3dbcf
Could you test it please?
Only implemented in the beta2serial. If it works, we can copy the code to WebRPL (network version)
best regards!
Rafael
from bipes.
Oh, I forgot the following:
np.write() # required to transmit the data from the buffer array to the LEDs
Also, if you would like an example of the code, the following implementation is much preferred than the older ESP8266 documentation does it (and should still work for both).
ESP32: https://docs.micropython.org/en/latest/esp32/quickref.html?highlight=esp32%20neopixel
This also has an explanation of the APA106 driver, and the Touchpad driver.
from bipes.
Excellent - it works great! You are a champion.
from bipes.
:-)
from bipes.
:-)
c
Hello! Done, but not tested. Took the opportunity to write about how to create new blocks: https://bipes.net.br/wp/creating-new-blocks/
Example: https://bipes.net.br/beta2serial/ui/#i3dbcf
Could you test it please?
Only implemented in the beta2serial. If it works, we can copy the code to WebRPL (network version)
best regards! Rafael
Can you make the neopixel work in raspberry pi pico? I tried on offline version, but I cannot include the neopixel library.
from bipes.
The offline version has been updated to use the internal MicroPython neopixel library for the Pico. You need to use version 1.18 or later of the MicroPython firmware. Available here: https://micropython.org/download/rp2-pico/
from bipes.
Thanks. I tried that, but the code does not run. The follow error appears in the console as
AttributeError: 'module' object has no attribute 'NeoPixel'
I think the problem is the NeoPixel was declared incorrectly in the code. I guess we cannot use the block code to control the NeoPixel.
from bipes.
Hi,
I'm a bit confused. I tried the neopixel blocks in both the "standard" bipes code (http://bipes.net.br/ide/) and a branch that is specific to the RP2040 boards (https://bipes.net.br/pico/ui/). In both cases, the neopixel blocks ran without error. I then attempted to run the downloaded code from https://bipes.net.br/wp/ That version of code didn't have the capability to use a neopixel display with the Pico. Finally, I tried the code from the offline branch. Once I built the index_offline file and tried the neopixel block, it ran fine. Can you supply a few more details on which code you were running? Thanks
from bipes.
Hi,
I'm a bit confused. I tried the neopixel blocks in both the "standard" bipes code (http://bipes.net.br/ide/) and a branch that is specific to the RP2040 boards (https://bipes.net.br/pico/ui/). In both cases, the neopixel blocks ran without error. I then attempted to run the downloaded code from https://bipes.net.br/wp/ That version of code didn't have the capability to use a neopixel display with the Pico. Finally, I tried the code from the offline branch. Once I built the index_offline file and tried the neopixel block, it ran fine. Can you supply a few more details on which code you were running? Thanks
Thank you. I figured it out. I was using a wrong neopixel python file (https://github.com/blaz-r/pi_pico_neopixel/blob/main/neopixel.py). I uploaded micropython neopixel python file. It runs without any error, but I would hope we can change the brightness of the neopixel display. Thank you again for your quick response.
from bipes.
Hi,
I tried to use the NeoPixel library with my Raspberry Pi Pico. I noticed, that the blocks are not listed when working with the Pico, but are when working with the ESP32.
I tried to generate a little test program for the ESP32 and then switch to the Pico, but I can't test it, as it doesn't connect (I use Chrome with 'experimental wep platform features' enabled). The website doesn't support https and this article says that the web terminal only work with https, so maybe this is the problem?
I will try it offline, but since we plan to use this in a workshop with kids, the offline version would be a dealbreaker for us.
from bipes.
Related Issues (20)
- Is this project dead? HOT 19
- Self-Hosted(Localhost) HTTPS issues HOT 2
- Generating different code using "https://bipes.net.br/ide/" and offline. HOT 3
- On the RP2040 based boards BIPES is using wrong syntax for timers HOT 15
- Setup BIPES on local server, esp8266.xml & esp32.xml malformed? HOT 1
- Serial connection,On device refresh three times, Files.received_string data error HOT 2
- MQTT Blockly demo on ESP32 device
- Handling of bytes
- Incorrect import of UART HOT 1
- JSON and dictionaries HOT 2
- Incorrect code generated for SPI and I2C init blocks HOT 23
- Blocks for GY33 and TCS3472 HOT 10
- Run Python Code block
- gpio_set function is wrong HOT 1
- Raspberry Pi PICO and ST7789 display HOT 3
- MicroPython > Machine.Pin > Pin.on and Pin.off use incorrect Import sytax HOT 8
- LCD Character Display Code Block Assumes I2C 0x27 Address HOT 7
- Console code does not paste accurately HOT 18
- How to support Chinese transmission HOT 1
- The generator code for the following blocks not specified for Python: hello HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bipes.