A MakeCode package to use the Adafruit CRICKIT motor shield.
License
MIT
Supported targets
- for PXT/adafruit
- for PXT/maker
- for PXT/codal
(The metadata above is needed for package search.)
pxt package for crickit platform - beta
License: MIT License
Define a PIN alias for the Strip (~ A1 on Playground Express) or dedicated Strip Functions like for the 10 buildin Pixels on the CPX to allow simplified access without knowledge of the used Playground PIN.
@pelikhan i have the crickit:bit ready for testing, works great in arduino, time to test in makecode - how can we enable this pkg for 'bits?
I would like to READ servo angles from a remote control
Wouldn't it be nice to have built-in blocks for this too?
Describe the bug
Using "cricket run motor" block causes the editor to error out with Code 108.
To Reproduce
Expected behavior
Don't panic.
Desktop (please complete the following information):
Adding a call to setPixelOff() will prevent the code from running.
Here's a simple example:
https://makecode.microbit.org/_PwRes9AgwRX2
Looks like a trivial fix - remove "this." :
master...nbogie:bugfix_for_setPixelOff
(Sorry, i haven't learned to build and test packages for PXT, yet)
Frustratingly, although makecode - at least /beta - reports 3 errors in pixel.ts, it doesn't present what those errors are, as far as I can see.
Versions: crickit v0.0.31, makecode 1.2.16
Cap touch pins are intended to be read as buttons but currently the block returns an analog value, which must be combined with an extra logic >= block with a number threshold to detect a touch.
I think the touchRead block should use a default threshold (700 or so) and return true if >= threshold, or false if < threshold.
An extra block can be added if the threshold for any particular cap touch pin needs to be overridden.
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.