pddring / createwithcode Goto Github PK
View Code? Open in Web Editor NEWPython IDE in a browser with microbit simulator
License: GNU General Public License v3.0
Python IDE in a browser with microbit simulator
License: GNU General Public License v3.0
Hi,
First of all, I just wanted to say how awesome the Create With Code editor is, and also great work on the micro:bit simulator!
I notice this editor still uses MicroPython v0.9. In case you were not aware, there has been a motion sensor change on a new minor revision of the micro:bit and we've updated the DAL and MicroPython to support the new sensors.
You can easily update the MicroPython hex and everything else should work the same. This support article contains information about how to update editors: https://support.microbit.org/solution/articles/19000084312-micro-bit-motion-sensor-hardware-changes-for-editor-developers/en
We also recommend signing up to the 'Device and DAL' mailing list, as we'll use it in the future to update editor developers of any changes that might affect them: http://eepurl.com/dyRx-v
Happy holidays!
Carlos
Problem : When you display a message with the simulator, it add a blank space before & after. But when it's displayed in a loop, the blanks cumulate each time
My solution : change in the /skulpt/microbit/init.js
message.v = " " + message.v + " ";
by
let foo= " " + message.v + " ";
and use that new variable for the calls.
I want to install on my VPS but I don't think so that any docs are here to guide. Plz help me. Tell the steps in short. And in Future if possible add a doc for this :)
Hi. If I type
#import modules
import RPi.GPIO as GPIO
in the code form of the website https://tools.withcode.uk/create/ I get the error
ExternalError: TypeError: a is undefined on line 2 (in Firefox)
ExternalError: TypeError: Cannot read properties of undefined (reading 'v') on line 2 (in Google Chrome)
Could you tell me how to run a GPIO simulator properly?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.