Closed Rimririn closed 3 days ago
@Rimririn The scope of what you want is far beyond the scope of BIPES.
Maybe you should check to see if the following project will work better for your need?
I have to agree with @sk8board that this is a bit beyond what BIPES was intended for. BIPES assumes that the code in the generator_stubs block will be executed as MicroPython code sent to the Pico. You would need to manipulate the DOM in order to send an alert to the webpage.
Yes, I agree with @sk8board and @jetannenbaum. This is out of BIPES scope, but you could do a "parallel" approach with BIPES or IoTy to make it happen.
I want to modify index.html to display the camera feed and create blocks that control the Pico board based on the camera's actions. I wrote the code to test this, but I'm encountering the following error. How can I use JavaScript blocks and Python blocks together?
ui/core/generator_stubs.js
ui/core/block_definitions.js
ui/toolbox/rpi_pico.xml
ui/toolbox/rpi_pico.xml
ui/index.xml
ui/core/customML5.js