pxt-calliope/sim/visuals/microbit.ts

2067 lines
97 KiB
TypeScript
Raw Normal View History

namespace pxsim.visuals {
const MB_STYLE = `
.simEventBtn {
font-size: 1.4rem;
font-weight: 900;
padding: 1.25rem 1.75rem;
border-radius: 3.5rem / 100%;
border: 0;
cursor: pointer;
text-transform: uppercase;
letter-spacing: 0.07em;
color: white;
background: #42c9c9;
font-family: 'Roboto Mono', monospace;
}
button:hover {
opacity: .7;
}
button:active {
background: #e6007d;
}
svg.sim {
margin-bottom:1em;
}
svg.sim.grayscale {
-moz-filter: grayscale(1);
-webkit-filter: grayscale(1);
filter: grayscale(1);
}
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
.sim-button-group {
cursor: pointer;
}
.sim-button {
pointer-events: none;
}
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
.sim-board, .sim-display, sim-button {
fill: #111;
}
.sim-button-outer:hover {
stroke:grey;
stroke-width: 3px;
}
.sim-button-nut {
fill:#704A4A;
pointer-events:none;
}
.sim-button-nut:hover {
stroke:1px solid #704A4A;
}
.sim-pin {
cursor: pointer;
}
.sim-pin:hover {
stroke:#D4AF37;
stroke-width:2px;
}
.sim-pin-touch.touched:hover {
stroke:darkorange;
}
.sim-led-back:hover {
2016-10-13 08:40:33 +02:00
stroke:#fff;
stroke-width:3px;
}
.sim-led:hover {
stroke:#ff7f7f;
stroke-width:3px;
}
.sim-systemled {
fill:#333;
stroke:#555;
stroke-width: 1px;
}
.sim-light-level-button {
stroke:#ccc;
stroke-width: 2px;
}
.sim-antenna {
2017-02-24 22:22:46 +01:00
fill-opacity:0.0;
stroke:#555;
2017-02-24 22:22:46 +01:00
stroke-width: 4px;
}
.sim-text {
font-family: 'Roboto Mono', monospace;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
font-size:14px;
fill:#fff;
pointer-events: none; user-select: none;
2016-09-27 20:00:21 +02:00
}
.sim-text-pin {
font-family: 'Roboto Mono', monospace;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
pointer-events: none; user-select: none;
fill:#000;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
font-size:24px;
stroke:#fff;
stroke-alignment: outside;
paint-order: stroke;
stroke-width: 3px;
}
.sim-thermometer {
stroke:#aaa;
stroke-width: 2px;
}
2016-10-13 07:44:05 +02:00
#rgbledcircle:hover {
r:8px;
}
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
.inverted {
fill:#000;
stroke:#fff;
stroke-alignment: outside;
paint-order: stroke;
stroke-width: 3px;
}
.big {
font-size:24px;
font-weight: bold;
}
.centered {
transform: translateX(-1.5ch);
text-align: center;
}
/* animations */
.sim-theme-glow {
animation-name: sim-theme-glow-animation;
animation-timing-function: ease-in-out;
animation-direction: alternate;
animation-iteration-count: infinite;
animation-duration: 1.25s;
}
@keyframes sim-theme-glow-animation {
from { opacity: 1; }
to { opacity: 0.75; }
}
.sim-flash {
animation-name: sim-flash-animation;
animation-duration: 0.1s;
}
@keyframes sim-flash-animation {
from { fill: yellow; }
to { fill: default; }
}
.sim-flash-stroke {
animation-name: sim-flash-stroke-animation;
animation-duration: 0.4s;
animation-timing-function: ease-in;
}
@keyframes sim-flash-stroke-animation {
from { stroke: yellow; }
to { stroke: default; }
}
/* wireframe */
.sim-wireframe * {
fill: none;
stroke: black;
}
2016-08-31 22:39:47 +02:00
.sim-wireframe .sim-display,
.sim-wireframe .sim-led,
.sim-wireframe .sim-led-back,
.sim-wireframe .sim-head,
.sim-wireframe .sim-theme,
.sim-wireframe .sim-button-group,
.sim-wireframe .sim-button-label,
.sim-wireframe .sim-button,
.sim-wireframe .sim-text-pin
{
visibility: hidden;
}
.sim-wireframe .sim-label
{
stroke: none;
fill: #777;
}
.sim-label, .sim-button-label {
fill: #000;
}
2016-08-31 22:39:47 +02:00
.sim-wireframe .sim-board {
stroke-width: 2px;
}
*:focus {
outline: none;
}
*:focus .sim-button-outer,
.sim-pin:focus,
.sim-thermometer:focus,
.sim-shake:focus,
.sim-light-level-button:focus {
stroke: #4D90FE;
stroke-width: 5px !important;
}
.no-drag, .sim-text, .sim-text-pin {
user-drag: none;
user-select: none;
-moz-user-select: none;
-webkit-user-drag: none;
-webkit-user-select: none;
-ms-user-select: none;
}
.shake_animation {
animation: shake 0.42s cubic-bezier(.36,.07,.19,.97) both;
transform: translate3d(0, 0, 0);
backface-visibility: hidden;
}
@keyframes shake {
10%, 90% {
transform: translate3d(-1px, 0, 0);
}
20%, 80% {
transform: translate3d(2px, 0, 0);
}
30%, 50%, 70% {
transform: translate3d(-4px, 0, 0);
}
40%, 60% {
transform: translate3d(4px, 0, 0);
}
}
`;
2016-10-17 05:09:13 +02:00
const BOARD_SVG = `<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
y="0px" viewBox="0 0 530 630" style="enable-background:new 0 0 530 630;" xml:space="preserve">
Fix Image the second (#72) * 2.0.1 * Pointing beta-ref to v2 * Bumping pxt-core to 5.15.10 * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-21 19:38:36 +01:00
<style type="text/css">
.st0{fill:#044854;}
.st1{fill:none;stroke:#989899;stroke-width:0.5;stroke-linecap:square;stroke-miterlimit:10;}
.st2{fill:none;stroke:#FFFFFF;stroke-width:1.2;stroke-miterlimit:10;}
.st3{fill:#FFFFFF;}
.st4{fill:none;stroke:#FFFFFF;stroke-width:0.5;stroke-miterlimit:10;}
.st5{fill:none;stroke:#FFFFFF;stroke-width:0.6;stroke-linecap:square;stroke-miterlimit:10;}
.st6{fill:none;stroke:#FFFFFF;stroke-width:0.5;stroke-linecap:round;stroke-miterlimit:10;}
.st7{fill:none;stroke:#FFFFFF;stroke-width:0.6;stroke-miterlimit:10;}
.st8{fill:none;stroke:#FFFFFF;stroke-width:0.4;stroke-linecap:round;stroke-linejoin:round;}
.st9{fill:none;stroke:#FFFFFF;stroke-width:0.6;stroke-linecap:round;stroke-linejoin:round;}
.st10{fill:none;stroke:#000000;stroke-width:0.4;stroke-miterlimit:10;}
.st11{fill:#F6C426;}
.st12{fill:#E0DAAD;}
.st13{fill:#BCCAC3;}
.st14{opacity:0.7;fill:#48525F;enable-background:new ;}
.st15{fill:#42C9C9;}
.st16{fill:#E6007D;}
.st17{fill:#000000;}
Fix Image the second (#72) * 2.0.1 * Pointing beta-ref to v2 * Bumping pxt-core to 5.15.10 * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-21 19:38:36 +01:00
</style>
<g id="calliope_mini">
<path id="mini_Board" class="st0" d="M552.7,263.2c-0.8-12-8.7-22.4-20.1-26.3c-4.4-1.5-8.8-3.3-13-5.4c-4.6-2.3-9.1-4.9-13.4-7.7
l0,0c-16.3-10.7-35.1-27.7-55.4-54.2c-29.5-38.6-28.6-86.6-25.7-117c0.8-2.9,1.3-6,1.3-9c0-18.5-15-33.5-33.5-33.5
c-10.3,0-20.1,4.8-26.4,12.9c-0.2,0.3-0.5,0.6-0.7,0.9C343.1,39.3,319.6,50,295,54.8c-1.9,0.4-3.7,0.8-5.6,1.2l0,0
c-7.9,1.6-16,2.4-24.1,2.4c-7.8-0.1-15.6-0.9-23.2-2.4c-4.5-0.9-9-2-13.4-3.2h-0.4C202.7,45.3,178.8,32,161.9,21
c-12.5-13.6-33.7-14.5-47.3-2c-6.9,6.3-10.8,15.3-10.8,24.6c0,0.4,0,0.7,0,1.1c0.2,1.9,0.5,3.8,0.7,5.7l0,0
c5,47.1-3.1,84.5-21.1,114.5l-2,2.9c-21.2,31-53.8,51.9-77.5,64c-18.3,2.4-31.3,19.1-28.9,37.5C-23,285.6-9.3,298,7.2,298.5h1
l2.7,1.4l0,0c10.9,5.8,21.2,12.5,31.1,19.9c11.7,10.2,22.5,21.4,32.4,33.4c2.9,3.4,5.6,6.9,8.1,10.6c0,0.1,0,0.1,0,0.2
c18.3,29.8,26.7,67.1,21.9,114c-0.2,2.4-0.5,4.8-0.8,7.4c0,10.7,5.1,20.8,13.8,27.1l0,0c5.5,4,12.2,6.2,19,6.3
c5.7-0.2,11.4-1.6,16.5-4h0.1c1.8-1,3.5-2.1,5.1-3.4c10.6-8.1,21.9-15.3,33.8-21.5c2-1,4.1-2,6.1-3c9.8-4.5,20.1-8,30.6-10.4
c3-0.7,6-1.1,9.1-1.4c2.3-0.1,4.5-0.7,6.6-1.6c2.3-1,4.1-3,4.9-5.4c1.9-5.9,6.2-12.8,15.9-12.8c9.6,0,13.8,6.4,16,12.1
c0.9,2.5,2.7,4.6,4.9,6.1c1.6,1,3.3,1.6,5.1,1.7c6.4,0.6,17.7,3,37.4,10.4h0.3c13.5,5.9,26.5,13.2,38.6,21.7
c12,14,33.1,15.5,47.1,3.5c0.5-0.5,1-0.9,1.5-1.4c0.4-0.4,0.7-0.7,1.1-1.1c5.8-6.2,9-14.4,9-22.8c0-3.9-0.7-7.7-2-11.3
c-2-20.2-1-40.6,2.9-60.5c0-0.1,0-0.3,0-0.4c3.9-16.5,10.3-32.4,18.8-47c21.9-37.4,55.3-56.7,78.5-68l4.3-2
C542.7,289.5,553.7,278.6,552.7,263.2z M8.1,280.6c-8.7,0-15.7-7-15.7-15.7c0-8.7,7-15.7,15.7-15.7c8.7,0,15.7,7,15.7,15.7
c0,0,0,0,0,0C23.8,273.6,16.8,280.6,8.1,280.6C8.1,280.6,8.1,280.6,8.1,280.6z M137.1,501.2c-8.7,0-15.7-7-15.7-15.7
c0-8.7,7-15.7,15.7-15.7c8.7,0,15.7,7,15.7,15.7l0,0C152.8,494.2,145.8,501.2,137.1,501.2C137.1,501.2,137.1,501.2,137.1,501.2z
M137.1,59.3c-8.7,0-15.7-7-15.7-15.7c0-8.7,7-15.7,15.7-15.7c8.7,0,15.7,7,15.7,15.7C152.8,52.2,145.8,59.2,137.1,59.3L137.1,59.3z
M392.7,501.2c-8.7,0-15.7-7-15.7-15.7c0-8.7,7-15.7,15.7-15.7c8.7,0,15.7,7,15.7,15.7v0C408.4,494.2,401.4,501.2,392.7,501.2
C392.7,501.2,392.7,501.2,392.7,501.2z M392.7,59.3c-8.7,0-15.7-7-15.7-15.7s7-15.7,15.7-15.7c8.7,0,15.7,7,15.7,15.7v0
C408.4,52.2,401.4,59.2,392.7,59.3L392.7,59.3z M521,280.6c-8.7,0-15.7-7-15.7-15.7c0-8.7,7-15.7,15.7-15.7c8.7,0,15.7,7,15.7,15.7
C536.6,273.6,529.6,280.6,521,280.6L521,280.6z"/>
<polyline class="st1" points="149.6,442.6 149.6,449.7 156.3,449.7 "/>
<polyline class="st1" points="374.8,449.7 381.9,449.7 381.9,443 "/>
<polyline class="st1" points="216.7,380.7 209.6,380.7 209.6,387.5 "/>
<polyline class="st1" points="311.5,380.7 318.5,380.7 318.5,387.5 "/>
<g id="Beschriftungen">
<line id="_-" class="st2" x1="174.1" y1="49.3" x2="184" y2="49.3"/>
<g id="_">
<line class="st2" x1="343.7" y1="49.3" x2="353.6" y2="49.3"/>
<line class="st2" x1="348.7" y1="44.3" x2="348.7" y2="54.2"/>
</g>
<path class="st3" d="M135,163.8h-2.7l-0.6,2h-1.5l2.8-8.8h1.3l2.8,8.8h-1.5L135,163.8z M132.6,162.6h2l-1-3.4L132.6,162.6z"/>
<path class="st3" d="M143.9,162.5c0,0.5-0.1,1-0.2,1.5c-0.1,0.4-0.3,0.8-0.6,1.1c-0.2,0.3-0.5,0.5-0.9,0.7
c-0.4,0.1-0.8,0.2-1.2,0.2c-0.4,0-0.8-0.1-1.2-0.2c-0.4-0.1-0.7-0.4-0.9-0.7c-0.3-0.3-0.4-0.7-0.6-1.1c-0.2-0.5-0.2-1-0.2-1.5v-2.1
c0-0.5,0.1-1,0.2-1.5c0.1-0.4,0.3-0.8,0.6-1.1c0.2-0.3,0.5-0.5,0.9-0.7c0.4-0.1,0.8-0.2,1.2-0.2c0.4,0,0.8,0.1,1.2,0.2
c0.4,0.1,0.7,0.4,0.9,0.7c0.3,0.3,0.4,0.7,0.6,1.1c0.1,0.5,0.2,1,0.2,1.5V162.5z M139.6,162l2.8-2.1c0-0.5-0.1-0.9-0.4-1.3
c-0.3-0.3-0.6-0.5-1-0.4c-0.4,0-0.8,0.2-1.1,0.5c-0.3,0.5-0.4,1-0.3,1.5V162z M142.5,161l-2.8,2.1c0,1.2,0.5,1.7,1.4,1.7
c0.9,0,1.4-0.7,1.4-2V161z"/>
<path class="st3" d="M35.8,299.2c0,0.5-0.1,1-0.2,1.5c-0.1,0.4-0.3,0.8-0.6,1.1c-0.2,0.3-0.5,0.5-0.9,0.7c-0.4,0.2-0.8,0.2-1.2,0.2
c-0.4,0-0.8-0.1-1.2-0.2c-0.3-0.1-0.7-0.4-0.9-0.7c-0.3-0.3-0.5-0.7-0.6-1.1c-0.1-0.5-0.2-1-0.2-1.5v-2.1c0-0.5,0.1-1,0.2-1.5
c0.1-0.4,0.3-0.7,0.6-1.1c0.3-0.3,0.6-0.5,0.9-0.7c0.4-0.2,0.8-0.2,1.2-0.2c0.4,0,0.8,0.1,1.2,0.2c0.3,0.2,0.6,0.4,0.9,0.7
c0.3,0.3,0.4,0.7,0.6,1.1c0.1,0.5,0.2,1,0.2,1.5V299.2z M31.6,298.7l2.8-2.1c0-0.5-0.1-0.9-0.4-1.3c-0.2-0.3-0.6-0.5-1-0.4
c-0.4,0-0.8,0.2-1.1,0.5c-0.3,0.5-0.4,1-0.3,1.5V298.7z M34.4,297.8l-2.8,2.1c0,1.2,0.5,1.7,1.4,1.7s1.4-0.7,1.4-2V297.8z"/>
<path class="st3" d="M180,482h-1.4v-7l-2.2,0.8v-1.3l3.6-1.3l0,0L180,482z"/>
<path class="st3" d="M352,482h-5.9v-1l2.8-3.1c0.2-0.2,0.4-0.5,0.6-0.7c0.1-0.2,0.3-0.4,0.4-0.6c0.1-0.2,0.2-0.3,0.2-0.5
c0-0.2,0-0.3,0-0.5c0-0.2,0-0.4,0-0.6c-0.1-0.2-0.2-0.3-0.3-0.4c-0.1-0.1-0.3-0.2-0.4-0.3c-0.2,0-0.4,0-0.5,0
c-0.4,0-0.8,0.1-1.2,0.4c-0.3,0.3-0.4,0.8-0.4,1.2h-1.4c0-0.4,0.1-0.7,0.2-1.1c0.1-0.3,0.3-0.6,0.6-0.9c0.3-0.3,0.6-0.5,0.9-0.6
c0.4-0.1,0.8-0.2,1.3-0.2c0.4,0,0.8,0.1,1.2,0.2c0.3,0.1,0.6,0.3,0.8,0.5c0.2,0.2,0.4,0.5,0.5,0.8c0.1,0.3,0.2,0.6,0.2,1
c0,0.3,0,0.5-0.1,0.8c-0.1,0.3-0.2,0.5-0.4,0.8c-0.2,0.3-0.4,0.5-0.6,0.7c-0.2,0.3-0.5,0.5-0.7,0.8l-2,2.1h4.1L352,482z"/>
<path class="st3" d="M493.7,297.5h0.8c0.2,0,0.5,0,0.7,0c0.2-0.1,0.3-0.2,0.5-0.3c0.1-0.1,0.2-0.3,0.3-0.4c0-0.2,0-0.4,0-0.5
c0-0.4-0.1-0.7-0.3-1c-0.3-0.3-0.6-0.4-1-0.4c-0.2,0-0.4,0-0.5,0c-0.2,0.1-0.3,0.1-0.4,0.2c-0.1,0.1-0.2,0.3-0.3,0.4
c0,0.2,0,0.3,0,0.5h-1.4c0-0.3,0.1-0.7,0.2-1c0.1-0.3,0.3-0.6,0.6-0.7c0.3-0.2,0.5-0.4,0.9-0.5c0.4-0.1,0.7-0.2,1.1-0.2
c0.4,0,0.8,0.1,1.2,0.2c0.3,0.1,0.6,0.3,0.9,0.5c0.3,0.2,0.4,0.5,0.6,0.8c0.1,0.3,0.2,0.7,0.2,1.1c0,0.2,0,0.3,0,0.5
c-0.1,0.2-0.1,0.4-0.2,0.5c-0.1,0.2-0.2,0.3-0.4,0.5c-0.2,0.2-0.3,0.3-0.6,0.4c0.2,0.1,0.5,0.2,0.7,0.4c0.2,0.1,0.3,0.3,0.4,0.5
c0.1,0.2,0.2,0.4,0.2,0.6c0,0.2,0,0.4,0,0.6c0,0.4-0.1,0.8-0.2,1.1c-0.1,0.3-0.3,0.6-0.6,0.8c-0.3,0.2-0.6,0.4-0.9,0.5
c-0.4,0.1-0.8,0.2-1.2,0.2c-0.4,0-0.7,0-1.1-0.1c-0.3-0.1-0.6-0.3-0.9-0.5c-0.3-0.2-0.5-0.5-0.6-0.8c-0.2-0.3-0.3-0.7-0.2-1.1h1.4
c0,0.2,0,0.4,0.1,0.5c0,0.2,0.1,0.3,0.3,0.4c0.1,0.1,0.3,0.2,0.4,0.3c0.2,0,0.4,0,0.6,0c0.4,0,0.8-0.1,1.1-0.4
c0.4-0.5,0.5-1.1,0.3-1.7c-0.1-0.2-0.2-0.3-0.3-0.5c-0.1-0.1-0.3-0.2-0.5-0.3c-0.2,0-0.5,0-0.7,0h-0.8L493.7,297.5z"/>
<path class="st3" d="M386.3,163.8h-2.7l-0.6,2h-1.5l2.8-8.8h1.3l2.8,8.8H387L386.3,163.8z M383.9,162.6h2l-1-3.4L383.9,162.6z"/>
<path class="st3" d="M393.6,165.9h-1.4v-7l-2.2,0.8v-1.3l3.6-1.3l0,0L393.6,165.9z"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="Calliope_mini_Logo">
<path class="st3" d="M126.3,352.3l-0.7-1.2l1-0.7c0-0.3,0-0.5,0-0.8c-0.1-0.3-0.2-0.6-0.3-0.9c-0.3-0.6-0.9-1.1-1.7-1.2
c-0.8-0.1-1.6,0.1-2.3,0.6l-0.3,0.1c-0.7,0.4-1.3,1-1.6,1.7c-0.3,0.6-0.3,1.4,0.1,2c0.2,0.3,0.4,0.6,0.6,0.8
c0.2,0.2,0.5,0.3,0.7,0.4l1.1-0.4l0.7,1.2l-1.6,0.9c-0.6-0.1-1.1-0.3-1.6-0.7c-0.5-0.4-0.9-0.9-1.3-1.5c-0.6-1-0.8-2.2-0.4-3.2
c0.4-1.1,1.2-2.1,2.3-2.7l0.3-0.1c1-0.6,2.2-0.8,3.4-0.6c1.1,0.2,2.1,1,2.6,2c0.3,0.6,0.5,1.2,0.6,1.9c0.1,0.6,0,1.2-0.2,1.7
L126.3,352.3z"/>
<path class="st3" d="M122.8,356.1l0.4,0.5l8.3-1.5l0.9,1.6l-5.5,6.3l0.2,0.6l-1,0.5l-1.5-2.7l1-0.5l0.4,0.5l0.9-1l-1.5-2.6
l-1.3,0.3l0.2,0.6l-1,0.5l-1.5-2.7L122.8,356.1z M126.8,357.6l1,1.8l2.3-2.4l0,0L126.8,357.6z"/>
<path class="st3" d="M126.8,365.4l1-0.6l0.7,0.8l5.7-3.3l-0.3-0.9l0.9-0.5l0.5,0.8l0.9,1.6l0.5,0.8l-1,0.6l-0.7-0.8l-5.6,3.2
l1.3,2.2l1-0.5l0.7,1.2l-2.2,1.3L126.8,365.4z"/>
<path class="st3" d="M130.8,372.6l1-0.6l0.7,0.8l5.7-3.3l-0.3-0.9l0.9-0.5l0.5,0.8l0.9,1.6l0.5,0.8l-1,0.6l-0.7-0.8l-5.6,3.2
l1.3,2.2l1-0.5l0.7,1.2l-2.2,1.3L130.8,372.6z"/>
<path class="st3" d="M142,375.9l1-0.5l1.9,3.3l-1,0.6l-0.7-0.8l-5.7,3.2l0.3,1l-0.9,0.5l-1.9-3.3l1-0.6l0.7,0.8l5.7-3.3L142,375.9z
"/>
<path class="st3" d="M145.6,389.4c-1,0.6-2.3,0.9-3.4,0.6c-2.2-0.5-3.6-2.7-3.1-4.9c0-0.1,0.1-0.2,0.1-0.3c0.5-1.1,1.3-2.1,2.4-2.6
l0,0c1-0.6,2.3-0.9,3.4-0.6c1.1,0.2,2.1,0.9,2.6,1.9c0.6,1,0.7,2.2,0.4,3.3C147.6,387.9,146.7,388.9,145.6,389.4z M144.9,387.7
c0.7-0.4,1.3-1,1.7-1.7c0.5-1.1,0-2.4-1.1-2.8c-0.2-0.1-0.4-0.2-0.6-0.2c-0.8,0-1.7,0.2-2.4,0.7l0,0c-0.7,0.4-1.3,0.9-1.7,1.7
c-0.3,0.6-0.3,1.3,0,1.9c0.3,0.6,0.9,1,1.6,1.1C143.2,388.4,144,388.2,144.9,387.7L144.9,387.7z"/>
<path class="st3" d="M152.5,392.2c0.4,0.7,0.6,1.6,0.5,2.4c-0.4,1.6-2,2.5-3.5,2.1c0,0-0.1,0-0.1,0c-0.8-0.3-1.5-1-1.9-1.8
l-0.8-1.4l-1.8,1l0.3,0.9l-1,0.5l-1.9-3.3l0.9-0.5l0.7,0.7l5.7-3.3l-0.3-0.9l1-0.6l0.5,0.8L152.5,392.2z M147.9,393l0.8,1.4
c0.2,0.4,0.5,0.7,0.9,0.8c0.4,0.1,0.8,0,1.1-0.2c0.4-0.2,0.6-0.5,0.7-0.9c0.1-0.4,0-0.8-0.2-1.2l-0.8-1.4L147.9,393z"/>
<path class="st3" d="M153.3,404l-1.5-2.7l-2.3,1.3l1.4,2.6l1-0.5l0.7,1.2l-2.2,1.2l-3.6-6.3l0.9-0.5l0.7,0.7l5.7-3.2l-0.3-0.9
l1-0.6l0.5,0.8l3.1,5.4l-2.2,1.3l-0.7-1.2l0.9-0.6l-1.4-2.6l-2,1.1l1.5,2.7L153.3,404z"/>
<path class="st3" d="M111.5,355.6l-1.4,0.9c0.6,0,1.3,0.1,1.9,0.4c0.6,0.3,1.1,0.8,1.4,1.4c0.3,0.5,0.5,1.1,0.5,1.6
c0,0.5-0.2,1.1-0.6,1.4c0.6,0,1.1,0.2,1.6,0.5c0.5,0.3,1,0.8,1.3,1.3c0.2,0.4,0.4,0.9,0.5,1.4c0.1,0.4,0,0.9-0.2,1.3
c-0.2,0.5-0.5,0.9-0.9,1.3c-0.5,0.5-1,0.9-1.6,1.2L104,374l-1.6-2.8l9.9-5.6c0.4-0.2,0.8-0.5,0.9-1c0.1-0.4,0-0.7-0.2-1.1
c-0.1-0.3-0.4-0.5-0.7-0.7c-0.3-0.1-0.6-0.1-0.9,0l-10.5,5.8l-1.5-2.7l9.9-5.6c0.4-0.2,0.8-0.5,0.9-1c0.1-0.4,0-0.7-0.2-1
c-0.2-0.3-0.4-0.5-0.7-0.7c-0.3-0.1-0.6-0.1-0.9,0l-10.5,6l-1.6-2.8l13.6-7.7L111.5,355.6z"/>
<path class="st3" d="M119.6,370l4.1,7.2l-11.1,6.3l2.4,4l-2.4,1.4l-6.4-11.3l2.4-1.4l2.4,4.2l8.6-4.8l-2.4-4.2L119.6,370z
M125.4,371.9c0.4-0.3,0.9-0.3,1.4-0.2c1,0.4,1.6,1.5,1.5,2.6c-0.3,1-1.4,1.6-2.4,1.3c-0.5-0.2-0.9-0.5-1.2-1
c-0.3-0.4-0.4-1-0.3-1.5C124.6,372.6,124.9,372.2,125.4,371.9L125.4,371.9z"/>
<path class="st3" d="M129.6,387.6l-1.8,1.3c0.9,0.1,1.8,0.4,2.6,0.9c0.8,0.5,1.4,1.2,1.9,2c0.4,0.6,0.6,1.3,0.8,2.1
c0.2,0.7,0.2,1.4,0,2c-0.2,0.7-0.6,1.4-1.1,1.9c-0.7,0.7-1.4,1.3-2.2,1.7l-8.5,4.8l-1.7-3l8.4-4.8c0.5-0.3,0.9-0.6,1.3-1
c0.3-0.3,0.5-0.7,0.6-1.1c0.1-0.4,0.1-0.8,0-1.1c-0.1-0.4-0.3-0.9-0.5-1.3c-0.3-0.6-0.8-1.1-1.4-1.5c-0.6-0.3-1.2-0.5-1.9-0.5
l-9.6,5.5l-1.7-3l13.6-7.7L129.6,387.6z"/>
<path class="st3" d="M136.6,400l4.1,7.2l-11.1,6.3l2.4,4l-2.4,1.4l-6.4-11.3l2.4-1.4l2.4,4.2l8.6-4.8l-2.4-4.2L136.6,400z
M142.3,402c0.4-0.3,0.9-0.3,1.4-0.2c0.5,0.2,0.9,0.5,1.2,1c0.3,0.5,0.4,1,0.3,1.5c-0.1,0.5-0.5,0.9-0.9,1.1
c-0.4,0.3-0.9,0.3-1.4,0.2c-0.5-0.2-0.9-0.5-1.2-1c-0.3-0.4-0.4-1-0.3-1.5C141.6,402.6,141.9,402.2,142.3,402L142.3,402z"/>
<path class="st3" d="M124.8,330.7l-4-7.1c-0.6-1.1-2-1.4-3-0.8l-5.4,3c4.4-2.6,5.9-8.3,3.3-12.7c-2.5-4.3-8-5.8-12.4-3.4l-8.8,5
l-12.6-5.5c-4.8-2.2-10.6-0.2-12.8,4.7c-1.4,2.9-1.2,6.4,0.5,9.1l1.1,1.9c6.4-2.6,14.8-4.8,21.4-3.7v0.2l4.8,8.5
c-2.4,6.4-8.7,12.1-14.2,16.3l1.5,2.7c1.7,3,5.5,4.1,8.5,2.4c0,0,0,0,0,0l20.7-11.8l10.5-6c1.1-0.5,1.6-1.8,1.1-2.9
C124.9,330.9,124.9,330.8,124.8,330.7z M109.1,313.2l3.8,6.7l-4.5,2.6c-1.5,0.8-3.3,0.3-4.1-1.1l-0.8-1.4c-0.8-1.4-0.4-3.3,1.1-4.1
c0,0,0,0,0.1,0L109.1,313.2z M95.2,319l7.5-0.3l-4.8,5.1L95.2,319z M98,323.9l6.8-1.5l-4.1,6.3L98,323.9z M108.3,330.3l9.9-5.6
l4.6,8l-9.9,5.6L108.3,330.3z"/>
<path class="st3" d="M80.4,342.3c0.6-6,6.7-14.1,11.7-20.7l-17.7,10.1L80.4,342.3z"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="rotation">
<circle class="st4" cx="142.7" cy="272.1" r="11"/>
<line class="st4" x1="139.6" y1="272.1" x2="146.1" y2="272.1"/>
<line class="st4" x1="142.9" y1="275.4" x2="142.9" y2="268.9"/>
<path class="st4" d="M142.7,264.3c4.3,0.1,7.8,3.6,7.7,7.9c0,1.5-0.5,2.9-1.3,4.1"/>
<polygon class="st3" points="151.2,276.6 147.6,277.7 147.7,273.9 "/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="cable_usb">
<path id="cable" class="st4" d="M221.7,80.5v7.8c-0.1,2.8,2.2,5.1,4.9,5.1c0,0,0,0,0,0h1.3c2.7-0.1,4.9-2.4,4.8-5.1V70.8"/>
<polygon class="st3" points="219.3,82.7 218.4,81.6 218.4,74.6 225.1,74.6 225.1,81.6 224.2,82.7 "/>
<path class="st3" d="M219.7,70.8v4h4.1v-4H219.7z M222.5,73.2h-1.6v-1.1h1.5L222.5,73.2z"/>
<path class="st3" d="M220.6,80.7v4h2.4v-4H220.6z"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="micro">
<line class="st5" x1="360.7" y1="219.1" x2="360.7" y2="222.4"/>
<path class="st6" d="M368.8,207v3c0,4.3-3.5,7.8-7.8,7.9l0,0c-4.3,0-7.9-3.5-7.9-7.9v-3"/>
<path class="st6" d="M361,199.7L361,199.7c2.8,0,5.1,2.3,5.1,5.1v4.8c0,2.8-2.3,5.1-5.1,5.1h0c-2.8,0-5.1-2.3-5.1-5.1v-4.8
C355.9,202,358.2,199.7,361,199.7z"/>
<line class="st7" x1="355.7" y1="207.2" x2="366.3" y2="207.2"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="cable_usb-2">
<path id="cable-2" class="st4" d="M339.8,68.6h7.8c2.7,0,5,2.2,5,4.9v1.3c0,2.8-2.3,5-5.1,5c0,0,0,0,0,0H330"/>
<polygon class="st3" points="334.9,68.6 340.7,65.2 340.7,72 "/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="rgb">
<circle class="st8" cx="290.9" cy="319.8" r="7.2"/>
<circle class="st8" cx="300.1" cy="319.8" r="7.2"/>
<circle class="st8" cx="295.5" cy="327" r="7.2"/>
<circle class="st4" cx="290.9" cy="319.8" r="7.2"/>
<circle class="st4" cx="300.1" cy="319.8" r="7.2"/>
<circle class="st4" cx="295.5" cy="327" r="7.2"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="sound">
<polyline class="st9" points="386.1,289 386.1,272.1 399.1,270.5 399.1,287.1 "/>
<ellipse class="st4" cx="381.7" cy="289.2" rx="4.2" ry="3.3"/>
<ellipse class="st4" cx="394.8" cy="287.6" rx="4.2" ry="3.3"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="battery1">
<polygon class="st10" points="393.9,396.9 393.9,394.1 395.3,394.1 395.3,391 393.9,391 393.9,388.3 373.4,388.3 373.4,389.5
372.9,389.5 372.9,395.6 373.4,395.6 373.4,396.9 "/>
<line class="st10" x1="391" y1="392.6" x2="387.5" y2="392.6"/>
<line class="st10" x1="389.3" y1="390.8" x2="389.3" y2="394.3"/>
<line class="st10" x1="377.5" y1="390.8" x2="377.5" y2="394.3"/>
<polygon class="st4" points="393.9,396.9 393.9,394.1 395.3,394.1 395.3,391 393.9,391 393.9,388.3 373.4,388.3 373.4,389.5
372.9,389.5 372.9,395.6 373.4,395.6 373.4,396.9 "/>
<line class="st4" x1="391" y1="392.6" x2="387.5" y2="392.6"/>
<line class="st4" x1="389.3" y1="390.8" x2="389.3" y2="394.3"/>
<line class="st4" x1="377.5" y1="390.8" x2="377.5" y2="394.3"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="component">
<path class="st4" d="M207.9,351.6h13.7c0.7,0,1.3,0.6,1.3,1.3v13.6c0,0.7-0.6,1.3-1.3,1.3h-13.7c-0.7,0-1.3-0.6-1.3-1.3v-13.6
C206.6,352.2,207.2,351.6,207.9,351.6z"/>
<line class="st4" x1="211.1" y1="367.9" x2="211.1" y2="371.2"/>
<line class="st4" x1="214.8" y1="368" x2="214.8" y2="371.2"/>
<line class="st4" x1="218.5" y1="368" x2="218.5" y2="371.2"/>
<line class="st4" x1="211.1" y1="348.2" x2="211.1" y2="351.4"/>
<line class="st4" x1="214.8" y1="348.2" x2="214.8" y2="351.4"/>
<line class="st4" x1="218.5" y1="348.2" x2="218.5" y2="351.4"/>
<line class="st4" x1="226.3" y1="356" x2="223.1" y2="356"/>
<line class="st4" x1="226.3" y1="359.7" x2="223.1" y2="359.7"/>
<line class="st4" x1="226.3" y1="363.4" x2="223.1" y2="363.4"/>
<line class="st4" x1="206.5" y1="356" x2="203.3" y2="356"/>
<line class="st4" x1="206.5" y1="359.7" x2="203.3" y2="359.7"/>
<line class="st4" x1="206.5" y1="363.3" x2="203.3" y2="363.3"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="weitere_Boardelemente">
<rect x="348.9" y="89" width="25" height="30.6"/>
<rect x="163.4" y="366.3" class="st3" width="19.6" height="17.6"/>
<rect x="324.2" y="309.8" class="st11" width="28.6" height="50.6"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="Mikrofon">
<rect id="MIC_Box" x="351.8" y="169.8" class="st11" width="19.4" height="11.5"/>
<circle id="MIC" cx="356.9" cy="174.6" r="2"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="Batterie">
<path class="st12" d="M450.1,346.2L431,392.8c-0.7,1.8-2.7,2.6-4.5,1.9l-54.3-22.3l3.3-8.1l13.1,5.8l16.1-36.6l-14-6.2l3.3-7.9
l54.3,22.3c1.7,0.7,2.6,2.7,1.9,4.4C450.2,346.1,450.1,346.2,450.1,346.2z"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="Prozessor">
<rect x="169.5" y="315.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -181.7598 231.924)" width="39.2" height="39.2"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="Lagesensor-2">
<rect x="371" y="193.5" width="15.7" height="9.8"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="Lagesensor">
<rect x="130.6" y="241" width="24.1" height="14.1"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="Lautsprecher">
<rect id="SPKR" x="406.8" y="264.9" transform="matrix(0.3512 -0.9363 0.9363 0.3512 8.6765 597.592)" width="57.4" height="55.3"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="USB">
<path class="st13" d="M288.4,55.2V90c0,1.9-1.5,3.4-3.4,3.4h-41.1c-1.9,0-3.4-1.5-3.4-3.4v0V55.2h0.6c7.6,1.5,15.4,2.4,23.2,2.4
C272.4,57.6,280.5,56.8,288.4,55.2L288.4,55.2z"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="RESET">
<path id="RESET_Box" class="st13" d="M313.7,64.8h7.8c1.9,0,3.4,1.5,3.4,3.4v13.2c0,1.9-1.5,3.4-3.4,3.4h-7.8
c-1.9,0-3.4-1.5-3.4-3.4V68.2C310.3,66.3,311.8,64.8,313.7,64.8z"/>
<path id="RESET_BUTTON" class="st3" d="M317.6,66.7L317.6,66.7c2.6,0,4.7,2.1,4.7,4.7v6.9c0,2.6-2.1,4.7-4.7,4.7h0
c-2.6,0-4.7-2.1-4.7-4.7v-6.9C312.9,68.8,315,66.7,317.6,66.7z"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="USB_READ-WRITE">
<rect x="156" y="144.8" class="st3" width="5.7" height="10.2"/>
<circle id="IF_LED" class="st13" cx="158.9" cy="149.9" r="2.3"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="RGB_LED">
<rect id="rgbled" x="252.9" y="310.9" class="st3" width="25.6" height="25.6"/>
<circle id="rgbledcircle" class="st14" cx="265.7" cy="323.7" r="9.9"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="Grove_A1_rechts">
<rect id="G_A0_Box" x="410.1" y="125.9" transform="matrix(0.8253 -0.5647 0.5647 0.8253 -14.851 264.9654)" class="st3" width="21.4" height="61.3"/>
<circle id="G_A1_GND" class="st13" cx="433.7" cy="174.6" r="2.3"/>
<circle id="G_A1_VCC" class="st13" cx="425.1" cy="162.5" r="2.3"/>
<circle id="G_A1_TX" class="st13" cx="416.5" cy="150.4" r="2.3"/>
<circle id="G_A1_RX" class="st13" cx="407.9" cy="138.4" r="2.3"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="Grove_A0_links">
<rect id="G_A0_Box" x="79.5" y="145" transform="matrix(0.5647 -0.8253 0.8253 0.5647 -80.6002 158.6518)" class="st3" width="61.3" height="21.4"/>
<circle id="G_A0_SCL" class="st13" cx="97.2" cy="173.8" r="2.3"/>
<circle id="G_A0_SDA" class="st13" cx="105.8" cy="161.8" r="2.3"/>
<circle id="G_A0_VCC" class="st13" cx="114.4" cy="149.7" r="2.3"/>
<circle id="G_A0_GND" class="st13" cx="123" cy="137.6" r="2.3"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="Button_A">
<path class="st3" d="M93.8,238.5l35.8-13.5c14.3-6.7,0.4-36.2-13.9-29.4l-26.1,8.9L93.8,238.5z"/>
<rect x="52.1" y="234.4" transform="matrix(0.458 -0.8889 0.8889 0.458 -179.261 180.5087)" class="st11" width="12.6" height="5.6"/>
<rect x="76.9" y="247.2" transform="matrix(0.458 -0.8889 0.8889 0.458 -177.1878 209.4386)" class="st11" width="12.6" height="5.6"/>
<rect x="74.8" y="190.2" transform="matrix(0.458 -0.8889 0.8889 0.458 -127.6192 176.7504)" class="st11" width="12.6" height="5.6"/>
<rect x="99.6" y="203" transform="matrix(0.458 -0.8889 0.8889 0.458 -125.5228 205.6922)" class="st11" width="12.6" height="5.6"/>
<path class="st0" d="M113.9,216l1.2-0.2l5.2-14.9h3.5l5.2,14.9l1.2,0.2v2.1h-5.8V216l1.2-0.2l-0.7-2.4h-5.6l-0.7,2.4l1.2,0.2v2.1
h-5.8V216z M120.1,211h3.9l-1.9-6.1l0,0L120.1,211z"/>
<rect id="BTN_A_BOX" x="63.1" y="202.8" transform="matrix(0.458 -0.8889 0.8889 0.458 -152.4652 192.5796)" class="st13" width="37.1" height="37.1"/>
<circle cx="100.3" cy="215.5" r="3.8"/>
<circle cx="76.2" cy="203" r="3.8"/>
<circle cx="88.3" cy="239.7" r="3.8"/>
<circle cx="64.2" cy="227.2" r="3.8"/>
<circle id="BTN_A" class="st15" cx="82.2" cy="221.6" r="11.6"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="Button_B">
<path class="st3" d="M435.4,238.5L399.6,225c-14.3-6.7-0.4-36.2,13.9-29.4l26.1,8.9L435.4,238.5z"/>
<rect x="467.9" y="230.9" transform="matrix(0.8889 -0.458 0.458 0.8889 -56.3827 241.9587)" class="st11" width="5.6" height="12.6"/>
<rect x="443.1" y="243.7" transform="matrix(0.8889 -0.458 0.458 0.8889 -64.9822 232.0261)" class="st11" width="5.6" height="12.6"/>
<rect x="445.2" y="186.7" transform="matrix(0.8889 -0.458 0.458 0.8889 -38.6651 226.6277)" class="st11" width="5.6" height="12.6"/>
<rect x="420.4" y="199.5" transform="matrix(0.8889 -0.458 0.458 0.8889 -47.2486 216.6963)" class="st11" width="5.6" height="12.6"/>
<path class="st0" d="M407,201c1.7-0.1,3.4,0.3,4.8,1.2c1.1,0.8,1.8,2.1,1.7,3.5c0,0.8-0.2,1.5-0.6,2.1c-0.5,0.6-1.1,1.1-1.8,1.4
c1,0.1,1.8,0.7,2.4,1.4c0.5,0.7,0.8,1.5,0.8,2.4c0.1,1.4-0.5,2.8-1.6,3.7c-1.3,0.9-3,1.4-4.6,1.3h-8.4v-2.1l1.8-0.4v-12.3l-1.8-0.3
v-2.1h7.6L407,201z M404.6,208.2h2.4c0.7,0.1,1.5-0.1,2.1-0.6c0.5-0.4,0.8-1,0.7-1.6c0.1-0.7-0.2-1.3-0.7-1.8
c-0.7-0.4-1.4-0.6-2.2-0.6h-2.4L404.6,208.2z M404.6,210.6v4.8h3.2c0.7,0,1.5-0.2,2.1-0.6c0.5-0.4,0.8-1.1,0.7-1.8
c0-0.7-0.2-1.4-0.6-1.9c-0.5-0.5-1.2-0.7-1.9-0.7L404.6,210.6z"/>
<rect id="BTN_B_BOX" x="428.9" y="202.8" transform="matrix(0.8889 -0.458 0.458 0.8889 -51.6828 229.5172)" class="st13" width="37.1" height="37.1"/>
<circle cx="428.9" cy="215.5" r="3.8"/>
<circle cx="452.9" cy="203" r="3.8"/>
<circle cx="440.9" cy="239.7" r="3.8"/>
<circle cx="464.9" cy="227.2" r="3.8"/>
<ellipse id="BTN_B" transform="matrix(0.1602 -0.9871 0.9871 0.1602 157.3084 627.5282)" class="st16" cx="447.4" cy="221.3" rx="11.6" ry="11.6"/>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<rect id="LED_0_0" x="210.7" y="146.2" class="st6" width="5.1" height="12.9"/>
<rect id="LED_1_0" x="236.8" y="146.2" class="st6" width="5.1" height="12.9"/>
<rect id="LED_2_0" x="262.7" y="146.2" class="st6" width="5.1" height="12.9"/>
<rect id="LED_3_0" x="288.7" y="146.2" class="st6" width="5.1" height="12.9"/>
<rect id="LED_4_0" x="314.6" y="146.2" class="st6" width="5.1" height="12.9"/>
<rect id="LED_0_1" x="210.7" y="171.7" class="st6" width="5.1" height="12.9"/>
<rect id="LED_1_1" x="236.8" y="171.7" class="st6" width="5.1" height="12.9"/>
<rect id="LED_2_1" x="262.7" y="171.7" class="st6" width="5.1" height="12.9"/>
<rect id="LED_3_1" x="288.7" y="171.7" class="st6" width="5.1" height="12.9"/>
<rect id="LED_4_1" x="314.6" y="171.7" class="st6" width="5.1" height="12.9"/>
<rect id="LED_0_2" x="210.7" y="197" class="st6" width="5.1" height="12.9"/>
<rect id="LED_1_2" x="236.8" y="197" class="st6" width="5.1" height="12.9"/>
<rect id="LED_2_2" x="262.7" y="197" class="st6" width="5.1" height="12.9"/>
<rect id="LED_3_2" x="288.7" y="197" class="st6" width="5.1" height="12.9"/>
<rect id="LED_4_2" x="314.6" y="197" class="st6" width="5.1" height="12.9"/>
<rect id="LED_0_3" x="210.7" y="222.5" class="st6" width="5.1" height="12.9"/>
<rect id="LED_1_3" x="236.8" y="222.5" class="st6" width="5.1" height="12.9"/>
<rect id="LED_2_3" x="262.7" y="222.5" class="st6" width="5.1" height="12.9"/>
<rect id="LED_3_3" x="288.7" y="222.5" class="st6" width="5.1" height="12.9"/>
<rect id="LED_4_3" x="314.6" y="222.5" class="st6" width="5.1" height="12.9"/>
<rect id="LED_0_4" x="210.7" y="247.8" class="st6" width="5.1" height="12.9"/>
<rect id="LED_1_4" x="236.8" y="247.8" class="st6" width="5.1" height="12.9"/>
<rect id="LED_2_4" x="262.7" y="247.8" class="st6" width="5.1" height="12.9"/>
<rect id="LED_3_4" x="288.7" y="247.8" class="st6" width="5.1" height="12.9"/>
<rect id="LED_4_4" x="314.6" y="247.8" class="st6" width="5.1" height="12.9"/>
<g id="PINS">
<g id="C_GND4">
<circle class="st11" cx="370.8" cy="422" r="5.2"/>
<circle class="st17" cx="370.8" cy="422" r="2.2"/>
</g>
<g id="C_VCC2">
<circle class="st11" cx="370.8" cy="439.6" r="5.2"/>
<circle class="st17" cx="370.8" cy="439.6" r="2.2"/>
</g>
<g id="C_P19">
<circle class="st11" cx="353.3" cy="422" r="5.2"/>
<circle class="st17" cx="353.3" cy="422" r="2.2"/>
</g>
<g id="C_P18">
<circle class="st11" cx="353.3" cy="439.6" r="5.2"/>
<circle class="st17" cx="353.3" cy="439.6" r="2.2"/>
</g>
<g id="C_P17">
<circle class="st11" cx="335.7" cy="422" r="5.2"/>
<circle class="st17" cx="335.7" cy="422" r="2.2"/>
</g>
<g id="C_P16">
<circle class="st11" cx="335.7" cy="439.6" r="5.2"/>
<circle class="st17" cx="335.7" cy="439.6" r="2.2"/>
</g>
<g id="C_P15">
<circle class="st11" cx="318.2" cy="422" r="5.2"/>
<circle class="st17" cx="318.2" cy="422" r="2.2"/>
</g>
<g id="C_P14">
<circle class="st11" cx="318.2" cy="439.6" r="5.2"/>
<circle class="st17" cx="318.2" cy="439.6" r="2.2"/>
</g>
<g id="C_P13">
<circle class="st11" cx="300.7" cy="422" r="5.2"/>
<circle class="st17" cx="300.7" cy="422" r="2.2"/>
</g>
<g id="C_P12">
<circle class="st11" cx="300.7" cy="439.6" r="5.2"/>
<circle class="st17" cx="300.7" cy="439.6" r="2.2"/>
</g>
<g id="C_P11">
<circle class="st11" cx="283.2" cy="422" r="5.2"/>
<circle class="st17" cx="283.2" cy="422" r="2.2"/>
</g>
<g id="C_P10">
<circle class="st11" cx="283.2" cy="439.6" r="5.2"/>
<circle class="st17" cx="283.2" cy="439.6" r="2.2"/>
</g>
<g id="C_GND3">
<circle class="st11" cx="265.7" cy="422" r="5.2"/>
<circle class="st17" cx="265.7" cy="422" r="2.2"/>
</g>
<g id="C_GND2">
<circle class="st11" cx="265.7" cy="439.6" r="5.2"/>
<circle class="st17" cx="265.7" cy="439.6" r="2.2"/>
</g>
<g id="C_P9">
<circle class="st11" cx="248.2" cy="422" r="5.2"/>
<circle class="st17" cx="248.2" cy="422" r="2.2"/>
</g>
<g id="C_P8">
<circle class="st11" cx="248.2" cy="439.6" r="5.2"/>
<circle class="st17" cx="248.2" cy="439.6" r="2.2"/>
</g>
<g id="C_P7">
<circle class="st11" cx="230.7" cy="422" r="5.2"/>
<circle class="st17" cx="230.7" cy="422" r="2.2"/>
</g>
<g id="C_P6">
<circle class="st11" cx="230.7" cy="439.6" r="5.2"/>
<circle class="st17" cx="230.7" cy="439.6" r="2.2"/>
</g>
<g id="C_P5">
<circle class="st11" cx="213.2" cy="422" r="5.2"/>
<circle class="st17" cx="213.2" cy="422" r="2.2"/>
</g>
<g id="C_P4">
<circle class="st11" cx="213.2" cy="439.6" r="5.2"/>
<circle class="st17" cx="213.2" cy="439.6" r="2.2"/>
</g>
<g id="C_P3">
<circle class="st11" cx="195.7" cy="422" r="5.2"/>
<circle class="st17" cx="195.7" cy="422" r="2.2"/>
</g>
<g id="C_P2">
<circle class="st11" cx="195.7" cy="439.6" r="5.2"/>
<circle class="st17" cx="195.7" cy="439.6" r="2.2"/>
</g>
<g id="C_P1">
<circle class="st11" cx="178.2" cy="422" r="5.2"/>
<circle class="st17" cx="178.2" cy="422" r="2.2"/>
</g>
<g id="C_P0">
<circle class="st11" cx="178.2" cy="439.6" r="5.2"/>
<circle class="st17" cx="178.2" cy="439.6" r="2.2"/>
</g>
<g id="C_VCC1">
<circle class="st11" cx="160.7" cy="422" r="5.2"/>
<circle class="st17" cx="160.7" cy="422" r="2.2"/>
</g>
<g id="C_GND1">
<circle class="st11" cx="160.7" cy="439.6" r="5.2"/>
<circle class="st17" cx="160.7" cy="439.6" r="2.2"/>
</g>
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
</g>
<g id="Motor_Pins">
<g id="M_GND3">
<circle class="st11" cx="304.8" cy="389.3" r="5.2"/>
<circle class="st17" cx="304.8" cy="389.3" r="2.2"/>
</g>
<g id="M_VM">
<circle class="st11" cx="288.4" cy="391.7" r="5.2"/>
<circle class="st17" cx="288.4" cy="391.7" r="2.2"/>
</g>
<g id="M_GND2">
<circle class="st11" cx="272.1" cy="389.3" r="5.2"/>
<circle class="st17" cx="272.1" cy="389.3" r="2.2"/>
Fix Image the second (#72) * 2.0.1 * Pointing beta-ref to v2 * Bumping pxt-core to 5.15.10 * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-21 19:38:36 +01:00
</g>
<g id="M_OUT2">
<circle class="st11" cx="255.8" cy="391.7" r="5.2"/>
<circle class="st17" cx="255.8" cy="391.7" r="2.2"/>
</g>
<g id="M_OUT1">
<circle class="st11" cx="239.4" cy="389.3" r="5.2"/>
<circle class="st17" cx="239.4" cy="389.3" r="2.2"/>
</g>
<g id="M_GND1">
<circle class="st11" cx="223.1" cy="391.7" r="5.2"/>
<circle class="st17" cx="223.1" cy="391.7" r="2.2"/>
</g>
</g>
<g id="EDGE_PINS">
<path id="EDGE_P3" class="" d="M520.9,231.4c-18.5,0-33.5,15-33.5,33.5c0,18.5,15,33.5,33.5,33.5
c18.5,0,33.5-14.9,33.5-33.4c0.1-18.5-14.9-33.5-33.3-33.6C521,231.4,521,231.4,520.9,231.4z M520.9,280.6c-8.7,0-15.7-7-15.7-15.7
c0-8.7,7-15.7,15.7-15.7c8.7,0,15.7,7,15.7,15.7c0,0,0,0,0,0C536.6,273.5,529.6,280.6,520.9,280.6
C520.9,280.6,520.9,280.6,520.9,280.6L520.9,280.6z"/>
<path id="EDGE_P2" class="" d="M392.7,452c-18.5,0-33.5,15-33.5,33.5c0,18.5,15,33.5,33.5,33.5c18.5,0,33.5-15,33.5-33.5
c0,0,0,0,0,0C426.2,467,411.2,452,392.7,452C392.7,452,392.7,452,392.7,452z M392.7,501.1c-8.7,0-15.7-7-15.7-15.7
c0-8.7,7-15.7,15.7-15.7c8.7,0,15.7,7,15.7,15.7c0,0,0,0,0,0c0.1,8.7-6.9,15.7-15.6,15.8C392.8,501.2,392.7,501.2,392.7,501.1
L392.7,501.1z"/>
<path id="EDGE_P1" class="" d="M137.1,452c-18.5,0-33.5,15-33.5,33.5c0,18.5,15,33.5,33.5,33.5c18.5,0,33.5-15,33.5-33.5
c0,0,0,0,0,0C170.6,467,155.6,452,137.1,452L137.1,452z M137.1,501.1c-8.7,0-15.7-7-15.7-15.7c0-8.7,7-15.7,15.7-15.7
c8.7,0,15.7,7,15.7,15.7c0,0,0,0,0,0c0.1,8.7-6.9,15.7-15.6,15.8C137.2,501.2,137.1,501.2,137.1,501.1L137.1,501.1z"/>
<path id="EDGE_P0" class="" d="M8.1,231.4c-18.5,0-33.5,15-33.5,33.5c0,18.5,15,33.5,33.5,33.5c18.4,0,33.4-14.9,33.5-33.4
c0.1-18.5-14.9-33.5-33.3-33.6C8.2,231.4,8.1,231.4,8.1,231.4z M8.1,280.6c-8.7,0-15.7-7-15.7-15.7c0-8.7,7-15.7,15.7-15.7
c8.7,0,15.7,7,15.7,15.7c0,0,0,0,0,0C23.8,273.5,16.8,280.6,8.1,280.6C8.1,280.6,8.1,280.6,8.1,280.6L8.1,280.6z"/>
<path id="EDGE_VCC" class="st11" d="M392.7,10c-18.5,0-33.5,15-33.5,33.5c0,18.5,15,33.5,33.5,33.5c18.5,0,33.5-15,33.5-33.5
c0,0,0,0,0,0C426.2,25,411.2,10,392.7,10L392.7,10z M392.7,59.2c-8.7,0-15.7-7-15.7-15.7s7-15.7,15.7-15.7c8.7,0,15.7,7,15.7,15.7
c0,0,0,0,0,0C408.4,52.1,401.4,59.2,392.7,59.2C392.7,59.2,392.7,59.2,392.7,59.2z"/>
<path id="EDGE_GND" class="st11" d="M137.1,10c-18.5,0-33.5,15-33.5,33.5c0,18.5,15,33.5,33.5,33.5c18.5,0,33.5-15,33.5-33.5
c0,0,0,0,0,0C170.6,25,155.6,10,137.1,10L137.1,10z M137.1,59.2c-8.7,0-15.7-7-15.7-15.7c0-8.7,7-15.7,15.7-15.7
c8.7,0,15.7,7,15.7,15.7c0,0,0,0,0,0C152.8,52.1,145.8,59.2,137.1,59.2C137.1,59.2,137.1,59.2,137.1,59.2z"/>
Fix Image the second (#72) * 2.0.1 * Pointing beta-ref to v2 * Bumping pxt-core to 5.15.10 * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-21 19:38:36 +01:00
</g>
</g>
</svg>`;
2016-10-13 07:44:05 +02:00
const pinNames = [
2016-10-13 11:16:10 +02:00
"EDGE_P0", "EDGE_P1", "EDGE_P2", "EDGE_P3", "EDGE_GND", "EDGE_VCC",
"BTN_A", "BTN_B",
2016-10-13 11:16:10 +02:00
"C_GND1", "C_GND2", "C_GND3", "C_GND4", "C_VCC1", "C_VCC2",
2017-02-24 17:51:42 +01:00
"C_P0", "C_P2", "C_P4", "C_P6", "C_P8", "C_P10", "C_P12", "C_P14", "C_P16", "C_P18",
"C_P1", "C_P3", "C_P5", "C_P7", "C_P9", "C_P11", "C_P13", "C_P15", "C_P17", "C_P19",
Fix Image the second (#72) * 2.0.1 * Pointing beta-ref to v2 * Bumping pxt-core to 5.15.10 * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-21 19:38:36 +01:00
"M_GND1", "M_GND2", "M_GND3", "M_OUT1", "M_OUT2", "M_VM",
2016-10-13 11:16:10 +02:00
"G_A0_GND", "G_A0_VCC", "G_A0_SDA", "G_A0_SCL",
"G_A1_RX", "G_A1_TX", "G_A1_VCC", "G_A1_GND"
];
const pinTitles = [
2017-02-24 22:22:46 +01:00
"P0", "P1, ANALOG IN", "P2, ANALOG IN", "P3", "GND", "+3v3",
"Button A", "Button B",
2016-10-13 11:16:10 +02:00
"GND", "GND", "GND", "GND", "+3v3", "+3v3",
2017-02-24 22:22:46 +01:00
"C0", "C2", "C4", "C6", "C8", "C10", "C12", "C14", "C16", "C18",
"C1", "C3", "C5", "C7", "C9", "C11", "C13", "C15", "C17", "C19",
Fix Image the second (#72) * 2.0.1 * Pointing beta-ref to v2 * Bumping pxt-core to 5.15.10 * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-21 19:38:36 +01:00
"GND", "GND", "GND", "MOTOR B", "MOTOR A", "MOTOR VM",
2016-10-13 11:16:10 +02:00
"GND", "+3v3", "C18, I2C - SDA", "C19, I2C - SCL",
"C16, Serial - RX", "C17, Serial - TX", "+3v3", "GND"
];
2017-02-24 22:22:46 +01:00
const MB_WIDTH = 530;
const MB_HEIGHT = 630;
2016-03-11 01:24:11 +01:00
export interface IBoardTheme {
accent?: string;
display?: string;
pin?: string;
pinTouched?: string;
pinActive?: string;
ledOn?: string;
ledOff?: string;
buttonOuter?: string;
2016-10-13 07:44:05 +02:00
buttonUps: string[];
2016-03-11 01:24:11 +01:00
buttonDown?: string;
2016-03-18 21:55:07 +01:00
virtualButtonOuter?: string;
virtualButtonUp?: string;
virtualButtonDown?: string;
2016-05-05 08:31:55 +02:00
lightLevelOn?: string;
2016-03-11 22:17:49 +01:00
lightLevelOff?: string;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
soundLevelOn?: string;
soundLevelOff?: string;
2016-03-11 01:24:11 +01:00
}
2016-09-27 00:05:06 +02:00
export var themes: IBoardTheme[] = ["#3ADCFE"].map(accent => {
2016-03-11 01:24:11 +01:00
return {
accent: accent,
pin: "#F6C426",
2016-03-11 01:24:11 +01:00
pinTouched: "#FFA500",
pinActive: "#E6007D",
2017-02-24 22:22:46 +01:00
ledOn: "#ff5555",
ledOff: "#e0e1e2",
2016-03-11 01:24:11 +01:00
buttonOuter: "#979797",
2016-10-13 07:44:05 +02:00
buttonUps: ["#186A8C", "#D82E50"],
2016-03-11 01:24:11 +01:00
buttonDown: "#FFA500",
2016-09-27 20:00:21 +02:00
virtualButtonDown: "#FFA500",
2016-03-18 21:55:07 +01:00
virtualButtonOuter: "#333",
virtualButtonUp: "#fff",
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
lightLevelOn: "#555",
lightLevelOff: "yellow",
soundLevelOn: "#3ADCFE",
soundLevelOff: "#555"
2016-05-05 08:31:55 +02:00
}
});
2016-03-11 01:24:11 +01:00
2016-05-05 08:31:55 +02:00
export function randomTheme(): IBoardTheme {
2016-03-11 01:24:11 +01:00
return themes[Math.floor(Math.random() * themes.length)];
}
export interface IBoardProps {
runtime?: pxsim.Runtime;
2016-03-11 01:24:11 +01:00
theme?: IBoardTheme;
wireframe?: boolean;
disableTilt?: boolean;
2016-03-11 01:24:11 +01:00
}
2016-05-05 08:31:55 +02:00
export class MicrobitBoardSvg implements BoardView {
2016-05-05 08:31:55 +02:00
public element: SVGSVGElement;
2016-03-24 21:56:51 +01:00
private style: SVGStyleElement;
2016-05-05 08:31:55 +02:00
private defs: SVGDefsElement;
private g: SVGGElement;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
private pkg: SVGPathElement;
private logos: SVGElement[];
private headg: SVGGElement;
private head: SVGGElement;
private headParts: SVGElement;
private headInitialized = false;
private heads: SVGElement[];
private headText: SVGTextElement;
private display: SVGElement;
2016-03-11 01:24:11 +01:00
private buttons: SVGElement[];
private buttonsOuter: SVGElement[];
// private buttonABText: SVGTextElement;
2016-03-11 01:24:11 +01:00
private pins: SVGElement[];
private pinGradients: SVGLinearGradientElement[];
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
private pinTexts:{ [key: number]: SVGTextElement };
2016-03-11 01:24:11 +01:00
private ledsOuter: SVGElement[];
private leds: SVGElement[];
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
private microphoneLed: SVGElement;
2016-03-11 01:24:11 +01:00
private systemLed: SVGCircleElement;
private antenna: SVGPolylineElement;
private rssi: SVGTextElement;
2016-03-11 22:17:49 +01:00
private lightLevelButton: SVGCircleElement;
2016-05-05 08:31:55 +02:00
private lightLevelGradient: SVGLinearGradientElement;
2016-03-12 00:10:36 +01:00
private lightLevelText: SVGTextElement;
2016-05-05 08:31:55 +02:00
private thermometerGradient: SVGLinearGradientElement;
2016-03-14 22:03:31 +01:00
private thermometer: SVGRectElement;
private thermometerText: SVGTextElement;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
private soundLevelGradient: SVGLinearGradientElement;
private soundLevel: SVGRectElement;
private soundLevelText: SVGTextElement;
private soundLevelIcon: SVGTextElement;
2016-09-27 20:00:21 +02:00
private shakeButton: SVGElement;
// private shakeText: SVGTextElement;
2016-08-30 21:42:30 +02:00
public board: pxsim.DalBoard;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
private domHardwareVersion = 1;
2016-09-27 22:35:48 +02:00
private rgbLed: SVGElement;
2016-10-17 05:25:55 +02:00
private pinNmToCoord: Map<Coord> = {
"EXT_PWR": [
92.30997467041016,
-42.92474937438965
],
"SPKR": [
106.44635391235352,
-16.370698928833008
],
"BTN_A": [
93.8138427734375,
56.631452560424805
],
"BTN_B": [
204.92835235595703,
56.631452560424805
],
2016-10-25 08:17:16 +02:00
// rings
2016-10-17 05:25:55 +02:00
"EDGE_P0": [
56.002254486083984,
95.43130111694336
],
"EDGE_P1": [
103.00893783569336,
175.82388305664062
],
"EDGE_P2": [
195.90512084960938,
175.3082733154297
],
"EDGE_P3": [
241.79466247558594,
95.3883285522461
],
"EDGE_GND": [
103.00893783569336,
14.86682915687561
],
"EDGE_VCC": [
195.64733123779297,
14.86682915687561
],
"C_GND1": [
113.1493148803711,
159.83989715576172
],
"C_GND2": [
150.27342987060547,
159.83989715576172
],
"C_GND3": [
150.27342987060547,
153.5666275024414
],
"C_GND4": [
187.39752960205078,
153.5666275024414
],
"C_VCC1": [
187.39752960205078,
159.83989715576172
],
"C_VCC2": [
113.1922836303711,
153.5666275024414
],
"C_P0": [
119.33667373657227,
159.83989715576172
2016-10-25 08:17:16 +02:00
],
2016-10-17 05:25:55 +02:00
"C_P2": [
125.52401733398438,
159.83989715576172
],
"C_P4": [
131.71136474609375,
159.83989715576172
],
"C_P6": [
137.89871978759766,
159.83989715576172
],
"C_P8": [
144.08607482910156,
159.83989715576172
],
"C_P10": [
156.46077728271484,
159.83989715576172
],
"C_P12": [
162.64812469482422,
159.83989715576172
],
"C_P14": [
168.83545684814453,
159.83989715576172
],
"C_P16": [
175.02281951904297,
159.83989715576172
],
"C_P20": [
181.2101821899414,
159.83989715576172
],
"C_P1": [
119.379638671875,
153.5666275024414
],
2017-02-24 17:51:42 +01:00
"C_P3": [
2016-10-17 05:25:55 +02:00
125.56698226928711,
153.5666275024414
],
"C_P5": [
131.71136474609375,
153.5666275024414
],
"C_P7": [
137.89871978759766,
153.5666275024414
],
"C_P9": [
144.08607482910156,
153.5666275024414
],
"C_P11": [
156.46077728271484,
153.5666275024414
],
"C_P13": [
162.64812469482422,
153.5666275024414
],
"C_P15": [
168.83545684814453,
153.5666275024414
],
"C_P21": [
175.02281951904297,
153.5666275024414
],
"C_P19": [
181.2101821899414,
153.5666275024414
],
"M_GND1": [
137.89871978759766,
141.70752716064453
],
"M_GND2": [
156.46077728271484,
141.70752716064453
Fix Image the second (#72) * 2.0.1 * Pointing beta-ref to v2 * Bumping pxt-core to 5.15.10 * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-21 19:38:36 +01:00
],
"M_GND3": [
168.83547210693360,
141.70752716064453
2016-10-17 05:25:55 +02:00
],
"M_OUT1": [
144.08607482910156,
141.70752716064453
],
"M_OUT2": [
150.27342987060547,
141.70752716064453
],
"M_VM": [
162.64812469482422,
141.70752716064453
],
"G_A0_GND": [
82.47036743164062,
72.35763549804688
],
"G_A0_VCC": [
78.34546279907227,
76.3106689453125
],
"G_A0_SDA": [
74.65023803710938,
80.00588989257812
],
"G_A0_SCL": [
70.43940734863281,
84.21672821044922
],
"G_A1_RX": [
216.52963256835938,
71.4982795715332
],
"G_A1_TX": [
220.65453338623047,
75.53724670410156
],
"G_A1_VCC": [
224.34976959228516,
79.23247528076172
],
"G_A1_GND": [
228.56060028076172,
83.44330978393555
]
};
2016-05-05 08:31:55 +02:00
2016-03-11 01:24:11 +01:00
constructor(public props: IBoardProps) {
this.buildDom();
if (props && props.wireframe)
U.addClass(this.element, "sim-wireframe");
if (props && props.theme)
this.updateTheme();
if (props && props.runtime) {
this.board = this.props.runtime.board as pxsim.DalBoard;
this.board.updateSubscribers.push(() => this.updateState());
this.updateState();
this.attachEvents();
}
2016-03-11 01:24:11 +01:00
}
2016-05-05 08:31:55 +02:00
public getView(): SVGAndSize<SVGSVGElement> {
return {
el: this.element,
y: 0,
x: 0,
w: MB_WIDTH,
h: MB_HEIGHT
};
}
public getCoord(pinNm: string): Coord {
return this.pinNmToCoord[pinNm];
}
public highlightPin(pinNm: string): void {
//TODO: for instructions
}
public getPinDist(): number {
2016-10-14 08:53:24 +02:00
return 10;
}
2016-10-17 05:25:55 +02:00
private recordPinCoords() {
pinNames.forEach((nm, i) => {
2016-10-14 15:46:56 +02:00
const p = this.pins[i];
const r = p.getBoundingClientRect();
this.pinNmToCoord[nm] = [r.left + r.width / 2, r.top + r.height / 2];
});
}
2016-03-11 01:24:11 +01:00
private updateTheme() {
let theme = this.props.theme;
2016-05-05 08:31:55 +02:00
2016-05-05 17:57:44 +02:00
svg.fills(this.leds, theme.ledOn);
svg.fills(this.ledsOuter, theme.ledOff);
svg.fills(this.buttonsOuter.slice(6, 8), theme.buttonOuter);
2016-10-13 07:44:05 +02:00
svg.fill(this.buttons[0], theme.buttonUps[0]);
svg.fill(this.buttons[1], theme.buttonUps[1]);
2016-05-05 17:57:44 +02:00
svg.fill(this.buttonsOuter[2], theme.virtualButtonOuter);
svg.fill(this.buttons[2], theme.virtualButtonUp);
if (this.shakeButton) svg.fill(this.shakeButton, theme.virtualButtonUp);
2016-05-05 08:31:55 +02:00
2016-05-05 17:57:44 +02:00
this.pinGradients.forEach(lg => svg.setGradientColors(lg, theme.pin, theme.pinActive));
svg.setGradientColors(this.lightLevelGradient, theme.lightLevelOn, theme.lightLevelOff);
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
svg.setGradientColors(this.soundLevelGradient, theme.soundLevelOff, theme.soundLevelOn);
2016-05-05 17:57:44 +02:00
svg.setGradientColors(this.thermometerGradient, theme.ledOff, theme.ledOn);
2016-03-11 01:24:11 +01:00
}
2016-05-05 08:31:55 +02:00
2016-03-11 01:24:11 +01:00
public updateState() {
2016-08-30 21:42:30 +02:00
let state = this.board;
2016-03-11 01:24:11 +01:00
if (!state) return;
let theme = this.props.theme;
2016-05-05 08:31:55 +02:00
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
this.updateMicrophone();
this.updatePins();
this.updateTilt();
this.updateHeading();
this.updateLightLevel();
this.updateTemperature();
this.updateButtonAB();
this.updateGestures();
this.updateRgbLed();
this.updateSpeaker();
this.updateRSSI();
let bpState = state.buttonPairState;
let buttons = [bpState.aBtn, bpState.bBtn, bpState.abBtn];
buttons.forEach((btn, index) => {
2016-10-13 07:44:05 +02:00
svg.fill(this.buttons[index], btn.pressed ? (btn.virtual ? theme.virtualButtonDown : theme.buttonDown) : (btn.virtual ? theme.virtualButtonUp : theme.buttonUps[index]));
2016-03-11 01:24:11 +01:00
});
2016-05-05 08:31:55 +02:00
if (state.ledMatrixState.disabled) {
this.leds.forEach((led, i) => {
const sel = (<SVGStyleElement><any>led)
sel.style.opacity = "0";
})
} else {
const bw = state.ledMatrixState.displayMode == pxsim.DisplayMode.bw
const img = state.ledMatrixState.image;
const br = state.ledMatrixState.brigthness != undefined ? state.ledMatrixState.brigthness : 255;
this.leds.forEach((led, i) => {
const sel = (<SVGStyleElement><any>led)
let imgbr = bw ? (img.data[i] > 0 ? br : 0) : img.data[i];
// correct brightness
const opacity = imgbr > 0 ? imgbr / 255 * 155 + 100 : 0;
const transfrom = imgbr > 0 ? imgbr / 255 * 0.4 + 0.6 : 0;
sel.style.opacity = (opacity / 255) + "";
if (transfrom > 0) {
(sel.style as any).transformBox = 'fill-box';
sel.style.transformOrigin = '50% 50%';
sel.style.transform = `scale(${transfrom})`;
}
})
}
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
2016-05-05 08:31:55 +02:00
if (!runtime || runtime.dead) U.addClass(this.element, "grayscale");
else U.removeClass(this.element, "grayscale");
2016-03-18 22:54:27 +01:00
}
2016-05-05 08:31:55 +02:00
2016-09-27 22:35:48 +02:00
private updateRgbLed() {
let state = this.board;
if (state.rgbLedState) {
if (!this.rgbLed)
2016-10-13 07:44:05 +02:00
this.rgbLed = this.element.getElementById("rgbledcircle") as SVGCircleElement;
2016-10-11 20:41:51 +02:00
const c = state.rgbLedState;
const b = c & 0xFF;
const g = (c >> 8) & 0xFF;
const r = (c >> 16) & 0xFF;
const w = (c >> 24) & 0xFF;
2016-10-17 05:25:55 +02:00
const ch = `rgba(${r}, ${g}, ${b}, 1)`;
2016-10-11 20:41:51 +02:00
svg.fill(this.rgbLed, ch);
} else if (this.rgbLed) {
svg.fill(this.rgbLed, 'white');
2016-09-27 22:35:48 +02:00
}
}
2016-10-27 22:47:39 +02:00
private updateSpeaker() {
let state = this.board;
if (state.speakerState.frequency) {
} else {
}
}
2016-03-18 22:54:27 +01:00
private updateGestures() {
2016-08-30 21:42:30 +02:00
let state = this.board;
if (state.accelerometerState.useShake && !this.shakeButton) {
let shake = this.mkBtn(240, MB_HEIGHT - 75, 'Schütteln');
2016-09-27 20:00:21 +02:00
this.shakeButton = shake.inner;
let board = this.element.getElementById("calliope_mini")
// console.log(board)
// svg.fill(this.shakeButton, this.props.theme.virtualButtonUp)
2016-09-27 20:00:21 +02:00
svg.buttonEvents(shake.outer,
2016-09-27 22:35:48 +02:00
ev => { },
2016-09-27 20:00:21 +02:00
(ev) => {
// svg.fill(this.shakeButton, this.props.theme.virtualButtonDown);
board.classList.remove("shake_animation");
setTimeout(()=>{
board.classList.add("shake_animation");
}, 1)
this.board.bus.queue(DAL.MICROBIT_ID_GESTURE, 11); // GESTURE_SHAKE
2016-09-27 20:00:21 +02:00
},
(ev) => {
// svg.fill(this.shakeButton, this.props.theme.virtualButtonUp);
2016-09-27 20:00:21 +02:00
}
)
// let shakeText = svg.child(shake.outer, "text", { x: 280, y: MB_HEIGHT - 5, class: "sim-text big inverted centered" }) as SVGTextElement;
// shakeText.textContent = "SHAKE"
2016-05-05 08:31:55 +02:00
}
2016-03-18 21:55:07 +01:00
}
2016-05-05 08:31:55 +02:00
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
private updateMicrophone() {
const b = board();
if (!b || !b.microphoneState.sensorUsed) return;
this.updateSoundLevel();
}
2016-03-18 21:55:07 +01:00
private updateButtonAB() {
2016-08-30 21:42:30 +02:00
let state = this.board;
2016-09-27 20:00:21 +02:00
if (state.buttonPairState.usesButtonAB && (<any>this.buttons[2]).style.visibility != "visible") {
2016-05-05 08:31:55 +02:00
(<any>this.buttonsOuter[2]).style.visibility = "visible";
(<any>this.buttons[2]).style.visibility = "visible";
2016-03-18 21:55:07 +01:00
this.updateTheme();
2016-05-05 08:31:55 +02:00
}
2016-03-11 01:24:11 +01:00
}
2016-05-05 08:31:55 +02:00
private updateRSSI() {
let state = this.board;
if (!state) return;
const v = state.radioState.datagram.rssi;
if (v === undefined) return;
if (!this.rssi) {
let ax = 380;
let dax = 18;
let ayt = 10;
let ayb = 40;
const wh = dax * 5;
for (let i = 0; i < 4; ++i)
svg.child(this.g, "rect", { x: ax - 90 + i * 6, y: ayt + 28 - i * 4, width: 4, height: 2 + i * 4, fill: "#fff" })
this.rssi = svg.child(this.g, "text", { x: ax - 64, y: ayb, class: "sim-text" }) as SVGTextElement;
this.rssi.textContent = "";
}
const vt = v.toString();
if (vt !== this.rssi.textContent) {
this.rssi.textContent = v.toString();
this.antenna.setAttribute("aria-valuenow", this.rssi.textContent);
accessibility.setLiveContent(this.rssi.textContent);
}
}
2016-05-05 08:31:55 +02:00
private updatePin(pin: Pin, index: number) {
2016-03-11 01:24:11 +01:00
if (!pin) return;
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
let text = this.pinTexts[pin.id];
2016-05-05 08:31:55 +02:00
let v = "";
2016-06-04 08:15:51 +02:00
if (pin.mode & PinFlags.Analog) {
2016-05-05 08:31:55 +02:00
v = Math.floor(100 - (pin.value || 0) / 1023 * 100) + "%";
if (text) text.textContent = (pin.period ? "~" : "") + (pin.value || 0) + "";
2016-03-11 01:24:11 +01:00
}
2016-06-04 08:15:51 +02:00
else if (pin.mode & PinFlags.Digital) {
2016-06-09 23:08:15 +02:00
v = pin.value > 0 ? "0%" : "100%";
2016-03-11 01:24:11 +01:00
if (text) text.textContent = pin.value > 0 ? "1" : "0";
}
2016-06-04 08:15:51 +02:00
else if (pin.mode & PinFlags.Touch) {
v = pin.touched ? "0%" : "100%";
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
if (text) text.textContent = v;
} else {
2016-06-04 08:15:51 +02:00
v = "100%";
if (text) text.textContent = "";
2016-03-11 01:24:11 +01:00
}
2016-05-05 17:57:44 +02:00
if (v) svg.setGradientValue(this.pinGradients[index], v);
if (pin.mode !== PinFlags.Unused) {
accessibility.makeFocusable(this.pins[index]);
accessibility.setAria(this.pins[index], "slider", this.pins[index].firstChild.textContent);
this.pins[index].setAttribute("aria-valuemin", "0");
this.pins[index].setAttribute("aria-valuemax", pin.mode & PinFlags.Analog ? "1023" : "100");
this.pins[index].setAttribute("aria-orientation", "vertical");
this.pins[index].setAttribute("aria-valuenow", text ? text.textContent : v);
accessibility.setLiveContent(text ? text.textContent : v);
}
2016-03-11 01:24:11 +01:00
}
2016-05-05 08:31:55 +02:00
2016-03-14 22:03:31 +01:00
private updateTemperature() {
2016-08-30 21:42:30 +02:00
let state = this.board;
if (!state || !state.thermometerState.usesTemperature) return;
2016-05-05 08:31:55 +02:00
2016-03-14 22:03:31 +01:00
let tmin = -5;
let tmax = 50;
2016-05-05 08:31:55 +02:00
if (!this.thermometer) {
2016-03-14 22:03:31 +01:00
let gid = "gradient-thermometer";
2016-05-05 17:57:44 +02:00
this.thermometerGradient = svg.linearGradient(this.defs, gid);
const ty = MB_HEIGHT - 270;
2016-05-05 17:57:44 +02:00
this.thermometer = <SVGRectElement>svg.child(this.g, "rect", {
2016-05-05 08:31:55 +02:00
class: "sim-thermometer",
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
x: 0,
2016-10-13 08:30:19 +02:00
y: ty,
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
width: 30,
height: 160,
rx: 5,
ry: 5,
2016-05-05 08:31:55 +02:00
fill: `url(#${gid})`
2016-03-14 22:03:31 +01:00
});
2016-10-17 05:25:55 +02:00
this.thermometerText = svg.child(this.g, "text", {
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
class: 'sim-text big inverted centered',
x: 15,
y: ty + 190
2016-10-17 05:25:55 +02:00
}) as SVGTextElement;
2016-03-14 22:03:31 +01:00
this.updateTheme();
2016-05-05 08:31:55 +02:00
2016-03-14 22:03:31 +01:00
let pt = this.element.createSVGPoint();
2016-05-05 17:57:44 +02:00
svg.buttonEvents(this.thermometer,
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
// move
2016-03-14 22:03:31 +01:00
(ev) => {
2016-05-05 17:57:44 +02:00
let cur = svg.cursorPoint(pt, this.element, ev);
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
let t = Math.max(0, Math.min(1, (cur.y - ty) / 160))
2016-10-13 08:30:19 +02:00
state.thermometerState.temperature = Math.floor(tmax - t * (tmax - tmin));
2016-03-14 22:03:31 +01:00
this.updateTemperature();
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
},
// start
ev => { },
// stop
ev => { },
// keydown
(ev) => {
let charCode = (typeof ev.which == "number") ? ev.which : ev.keyCode
if (charCode === 40 || charCode === 37) { // Down/Left arrow
state.thermometerState.temperature--;
if(state.thermometerState.temperature < tmin) state.thermometerState.temperature = tmin;
this.updateTemperature();
} else if (charCode === 38 || charCode === 39) { // Up/Right arrow
state.thermometerState.temperature++
if(state.thermometerState.temperature > tmax) state.thermometerState.temperature = tmax;
this.updateTemperature();
}
})
2016-03-14 22:03:31 +01:00
}
2016-05-05 08:31:55 +02:00
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
accessibility.makeFocusable(this.thermometer);
accessibility.setAria(this.thermometer, "slider", pxsim.localization.lf("Temperature Level"));
this.thermometer.setAttribute("aria-valuemin", tmin + "");
this.thermometer.setAttribute("aria-valuemax", tmax + "");
this.thermometer.setAttribute("aria-orientation", "vertical");
this.thermometer.setAttribute("aria-valuenow", state.thermometerState.temperature + "");
this.thermometer.setAttribute("aria-valuetext", state.thermometerState.temperature + "");
let t = Math.max(tmin, Math.min(tmax, state.thermometerState.temperature))
let per = Math.floor((state.thermometerState.temperature - tmin) / (tmax - tmin) * 100)
svg.setGradientValue(this.thermometerGradient, 100 - per + "%");
this.thermometerText.textContent = t + "°C";
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
this.thermometer.setAttribute("aria-valuenow", t.toString());
this.thermometer.setAttribute("aria-valuetext", t + "°C");
accessibility.setLiveContent(t + "°C");
}
private updateSoundLevel() {
let state = this.board;
if (!state || !state.microphoneState.sensorUsed) return;
const tmin = 0 // state.microphoneState.min;
const tmax = 255 //state.microphoneState.max;
if (!this.soundLevel) {
const level = state.microphoneState.getLevel();
let gid = "gradient-soundlevel";
this.soundLevelGradient = svg.linearGradient(this.defs, gid);
const ty = MB_HEIGHT - 270;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
this.soundLevel = <SVGRectElement>svg.child(this.g, "rect", {
class: "sim-thermometer",
x: 490,
y: ty,
width: 30,
height: 160,
rx: 5,
ry: 5,
fill: `url(#${gid})`
});
this.soundLevelText = svg.child(this.g, "text", {
class: 'sim-text big inverted centered',
x: 505,
y: ty + 190
}) as SVGTextElement;
this.soundLevelIcon = svg.child(this.g, "svg", {
x: 495,
y: 425,
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
viewbox: "0 0 20 29",
role: "img",
}) as SVGTextElement;
this.soundLevelIcon.setAttribute("aria-hidden", "true");
this.soundLevelIcon.setAttribute("focusable", "false");
this.soundLevelIcon.setAttribute("style", "pointer-events: none; opacity: 0.8; width: 20px;");
svg.child(this.soundLevelIcon, "path", {
fill: "white",
d: "M 10 19.9375 C 13.011719 19.9375 15.453125 17.503906 15.453125 14.5 L 15.453125 5.4375 C 15.453125 2.433594 13.011719 0 10 0 C 6.988281 0 4.546875 2.433594 4.546875 5.4375 L 4.546875 14.5 C 4.546875 17.503906 6.988281 19.9375 10 19.9375 Z M 19.089844 10.875 L 18.183594 10.875 C 17.679688 10.875 17.273438 11.28125 17.273438 11.78125 L 17.273438 14.5 C 17.273438 18.738281 13.609375 22.136719 9.273438 21.714844 C 5.496094 21.347656 2.726562 17.960938 2.726562 14.175781 L 2.726562 11.78125 C 2.726562 11.28125 2.320312 10.875 1.816406 10.875 L 0.910156 10.875 C 0.40625 10.875 0 11.28125 0 11.78125 L 0 14.054688 C 0 19.132812 3.632812 23.660156 8.636719 24.347656 L 8.636719 26.28125 L 5.453125 26.28125 C 4.953125 26.28125 4.546875 26.6875 4.546875 27.1875 L 4.546875 28.09375 C 4.546875 28.59375 4.953125 29 5.453125 29 L 14.546875 29 C 15.046875 29 15.453125 28.59375 15.453125 28.09375 L 15.453125 27.1875 C 15.453125 26.6875 15.046875 26.28125 14.546875 26.28125 L 11.363281 26.28125 L 11.363281 24.367188 C 16.234375 23.703125 20 19.535156 20 14.5 L 20 11.78125 C 20 11.28125 19.59375 10.875 19.089844 10.875 Z M 19.089844 10.875 "
});
if (this.props.runtime)
this.props.runtime.environmentGlobals[pxsim.localization.lf("sound level")] = state.microphoneState.getLevel();
this.updateTheme();
let pt = this.element.createSVGPoint();
svg.buttonEvents(this.soundLevel,
// move
(ev) => {
let cur = svg.cursorPoint(pt, this.element, ev);
let t = Math.max(0, Math.min(1, (cur.y - ty) / 160)) * tmax
console.log(tmax - t);
state.microphoneState.setLevel( Math.floor(tmax - t));
// state.microphoneState.setLevel(Math.floor(tmin + t * (tmax - tmin)));
this.updateMicrophone();
},
// start
ev => { },
// stop
ev => { },
// keydown
(ev) => {
let charCode = (typeof ev.which == "number") ? ev.which : ev.keyCode
if (charCode === 40 || charCode === 37) { // Down/Left arrow
state.microphoneState.setLevel(state.microphoneState.getLevel() - 1);
if(state.microphoneState.getLevel() < tmin) state.microphoneState.setLevel(tmin);
this.updateMicrophone();
} else if (charCode === 38 || charCode === 39) { // Up/Right arrow
state.microphoneState.setLevel(state.microphoneState.getLevel() + 1);
if(state.microphoneState.getLevel() > tmax) state.microphoneState.setLevel(tmax);
this.updateMicrophone();
}
})
accessibility.makeFocusable(this.soundLevel);
accessibility.setAria(this.soundLevel, "slider", pxsim.localization.lf("Sound Level"));
this.soundLevel.setAttribute("aria-valuemin", tmin + "");
this.soundLevel.setAttribute("aria-valuemax", tmax + "");
this.soundLevel.setAttribute("aria-orientation", "vertical");
this.soundLevel.setAttribute("aria-valuenow", level + "");
this.soundLevel.setAttribute("aria-valuetext", level + "");
}
let t = Math.max(tmin, Math.min(tmax, state.microphoneState.getLevel()))
let per = Math.floor((state.microphoneState.getLevel() - tmin) / (tmax - tmin) * 100)
svg.setGradientValue(this.soundLevelGradient, (100 - per) + "%");
this.soundLevelText.textContent = t + "";
this.soundLevel.setAttribute("aria-valuenow", t.toString());
this.soundLevel.setAttribute("aria-valuetext", t + "");
accessibility.setLiveContent(t + "");
2016-03-14 22:03:31 +01:00
}
2016-05-05 08:31:55 +02:00
2016-03-11 01:24:11 +01:00
private updateHeading() {
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
const valMin = 0;
const valMax = 360;
let xc = 501.2;
2016-03-11 01:24:11 +01:00
let yc = 75;
2016-08-30 21:42:30 +02:00
let state = this.board;
if (!state || !state.compassState.usesHeading) return;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
// /*
2016-03-11 01:24:11 +01:00
if (!this.headInitialized) {
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
let p = this.heads[1];
<SVGGElement>svg.child(p, "circle", {style: "fill:#DDDDDD55;stroke:#3A3A3A;", cx: "501.2", cy: "75", r: "55" });
<SVGGElement>svg.child(p, "polyline", {style: "fill:#008EEF;stroke:#3A3A3A;", points: "517.7,75 501.1,140.2 484.6,75" });
<SVGGElement>svg.child(p, "polyline", {style: "fill:#FF3951;stroke:#3A3A3A;", points: "484.6,75 501.1,9.5 517.7,75" });
<SVGGElement>svg.child(p, "circle", {style: "fill:#748476;stroke:#3A3A3A;", cx: "501.1", cy: "75", r: "16.5" });
<SVGGElement>svg.child(p, "circle", {style: "fill:#CCDBCE;", cx: "501.1", cy: "75", r: "10" });
// p.setAttribute("d", "m269.9,50.134647l0,0l-39.5,0l0,0c-14.1,0.1 -24.6,10.7 -24.6,24.8c0,13.9 10.4,24.4 24.3,24.7l0,0l39.6,0c14.2,0 40.36034,-22.97069 40.36034,-24.85394c0,-1.88326 -26.06034,-24.54606 -40.16034,-24.64606m-0.2,39l0,0l-39.3,0c-7.7,-0.1 -14,-6.4 -14,-14.2c0,-7.8 6.4,-14.2 14.2,-14.2l39.1,0c7.8,0 14.2,6.4 14.2,14.2c0,7.9 -6.4,14.2 -14.2,14.2l0,0l0,0z");
2016-05-13 07:23:23 +02:00
this.updateTheme();
2016-03-11 01:24:11 +01:00
let pt = this.element.createSVGPoint();
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
svg.buttonEvents(this.head,
// move
2016-05-05 08:31:55 +02:00
(ev: MouseEvent) => {
2016-05-05 17:57:44 +02:00
let cur = svg.cursorPoint(pt, this.element, ev);
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
state.compassState.heading = valMax - (Math.floor(Math.atan2(cur.y - yc, cur.x - xc) * 180 / Math.PI) + 90) - valMax;
if (state.compassState.heading < valMin) state.compassState.heading += valMax;
2016-05-05 08:31:55 +02:00
this.updateHeading();
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
},
// start
ev => { },
// stop
ev => { },
// keydown
ev => {
let charCode = (typeof ev.which == "number") ? ev.which : ev.keyCode
if (charCode === 40 || charCode === 37) { // Down/Left arrow
state.compassState.heading--;
if(state.compassState.heading < valMin) state.compassState.heading += valMax;
this.updateHeading();
} else if (charCode === 38 || charCode === 39) { // Up/Right arrow
state.compassState.heading++;
if(state.compassState.heading >= valMax) state.compassState.heading -= valMax;;
this.updateHeading();
}
2016-03-11 01:24:11 +01:00
});
this.headInitialized = true;
}
2016-05-05 08:31:55 +02:00
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
accessibility.makeFocusable(this.head);
accessibility.setAria(this.head, "slider", pxsim.localization.lf("Heading"));
this.head.setAttribute("aria-valuemin", valMin + "");
this.head.setAttribute("aria-valuemax", valMax + "");
this.head.setAttribute("aria-orientation", "vertical");
this.head.setAttribute("aria-valuenow", state.compassState.heading + "");
this.head.setAttribute("aria-valuetext", state.compassState.heading + "");
let txt = state.compassState.heading.toString() + "°";
2016-05-05 08:31:55 +02:00
if (txt != this.headText.textContent) {
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
svg.rotateElement(this.head, xc, yc, valMax - state.compassState.heading - 90);
2016-03-11 01:24:11 +01:00
this.headText.textContent = txt;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
}
2016-03-11 01:24:11 +01:00
}
2016-05-05 08:31:55 +02:00
private lastFlashTime: number = 0;
2016-03-11 01:24:11 +01:00
public flashSystemLed() {
if (!this.systemLed)
2017-02-24 22:22:46 +01:00
this.systemLed = <SVGCircleElement>svg.child(this.g, "circle", { class: "sim-systemled", cx: 160.8, cy: 150.9, r: 4 })
2016-03-11 01:24:11 +01:00
let now = Date.now();
if (now - this.lastFlashTime > 150) {
this.lastFlashTime = now;
2016-05-13 07:23:23 +02:00
svg.animate(this.systemLed, "sim-flash")
2016-03-11 01:24:11 +01:00
}
}
2016-05-05 08:31:55 +02:00
private lastAntennaFlash: number = 0;
2016-03-11 01:24:11 +01:00
public flashAntenna() {
2016-05-05 08:31:55 +02:00
if (!this.antenna) {
2017-02-24 22:22:46 +01:00
let ax = 480;
2016-03-11 01:24:11 +01:00
let dax = 18;
let ayt = 10;
let ayb = 40;
2016-05-05 17:57:44 +02:00
this.antenna = <SVGPolylineElement>svg.child(this.g, "polyline", { class: "sim-antenna", points: `${ax},${ayb} ${ax},${ayt} ${ax += dax},${ayt} ${ax},${ayb} ${ax += dax},${ayb} ${ax},${ayt} ${ax += dax},${ayt} ${ax},${ayb} ${ax += dax},${ayb} ${ax},${ayt} ${ax += dax},${ayt}` })
2016-03-11 01:24:11 +01:00
}
let now = Date.now();
if (now - this.lastAntennaFlash > 200) {
this.lastAntennaFlash = now;
2016-05-05 17:57:44 +02:00
svg.animate(this.antenna, 'sim-flash-stroke')
2016-03-11 01:24:11 +01:00
}
}
2016-05-05 08:31:55 +02:00
2016-03-11 01:24:11 +01:00
private updatePins() {
2016-08-30 21:42:30 +02:00
let state = this.board;
2016-03-11 01:24:11 +01:00
if (!state) return;
2016-05-05 08:31:55 +02:00
state.edgeConnectorState.pins.forEach((pin, i) => this.updatePin(pin, i));
2016-05-05 08:31:55 +02:00
}
2016-03-11 22:17:49 +01:00
private updateLightLevel() {
2016-08-30 21:42:30 +02:00
let state = this.board;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
const valMin = 0;
const valMax = 255;
if (!state || !state.lightSensorState.usesLightLevel) return;
2016-05-05 08:31:55 +02:00
2016-03-11 22:17:49 +01:00
if (!this.lightLevelButton) {
2016-05-05 08:31:55 +02:00
let gid = "gradient-light-level";
2016-05-05 17:57:44 +02:00
this.lightLevelGradient = svg.linearGradient(this.defs, gid)
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
const cx = 25;
const cy = 75;
const r = 55;
2016-05-05 17:57:44 +02:00
this.lightLevelButton = svg.child(this.g, "circle", {
cx: `${cx}px`, cy: `${cy}px`, r: `${r}px`,
2016-05-05 08:31:55 +02:00
class: 'sim-light-level-button',
fill: `url(#${gid})`
}) as SVGCircleElement;
2016-03-11 22:17:49 +01:00
let pt = this.element.createSVGPoint();
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
2016-05-05 17:57:44 +02:00
svg.buttonEvents(this.lightLevelButton,
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
// move
2016-03-11 22:17:49 +01:00
(ev) => {
2016-05-05 17:57:44 +02:00
let pos = svg.cursorPoint(pt, this.element, ev);
2016-05-05 08:31:55 +02:00
let rs = r / 2;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
let level = valMax - Math.max(valMin, Math.min(valMax, Math.floor((pos.y - (cy - r)) / (2 * r) * valMax)));
if (level != state.lightSensorState.lightLevel) {
state.lightSensorState.lightLevel = level;
this.applyLightLevel();
}
},
// start
ev => { },
// stop
ev => { },
// keydown
ev => {
let charCode = (typeof ev.which == "number") ? ev.which : ev.keyCode
if (charCode === 40 || charCode === 37) { // Down/Left arrow
state.lightSensorState.lightLevel--;
if(state.lightSensorState.lightLevel < valMin) state.lightSensorState.lightLevel = valMin;
this.applyLightLevel();
} else if (charCode === 38 || charCode === 39) { // Up/Right arrow
state.lightSensorState.lightLevel++
if(state.lightSensorState.lightLevel > valMax) state.lightSensorState.lightLevel = valMax;
2016-03-12 00:10:36 +01:00
this.applyLightLevel();
2016-03-11 22:17:49 +01:00
}
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
})
this.lightLevelText = svg.child(this.g, "text", { x: cx , y: cy + r + 35, text: '', class: 'sim-text inverted big centered' }) as SVGTextElement;
2016-03-11 22:17:49 +01:00
this.updateTheme();
2016-05-05 08:31:55 +02:00
}
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
accessibility.makeFocusable(this.lightLevelButton);
accessibility.setAria(this.lightLevelButton, "slider", pxsim.localization.lf("Light Level"));
this.lightLevelButton.setAttribute("aria-valuemin", valMin + "");
this.lightLevelButton.setAttribute("aria-valuemax", valMax + "");
this.lightLevelButton.setAttribute("aria-orientation", "vertical");
this.lightLevelButton.setAttribute("aria-valuenow", state.lightSensorState.lightLevel + "");
this.lightLevelButton.setAttribute("aria-valuetext", state.lightSensorState.lightLevel + "");
svg.setGradientValue(this.lightLevelGradient, Math.min(100, Math.max(0, Math.floor((255 - state.lightSensorState.lightLevel) * 100 / 255))) + '%')
this.lightLevelText.textContent = state.lightSensorState.lightLevel.toString();
2016-05-05 08:31:55 +02:00
}
2016-03-12 00:10:36 +01:00
private applyLightLevel() {
2016-08-30 21:42:30 +02:00
let lv = this.board.lightSensorState.lightLevel;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
svg.setGradientValue(this.lightLevelGradient, Math.min(100, Math.max(0, Math.floor((255 - lv) * 100 / 255))) + '%')
2016-05-05 08:31:55 +02:00
this.lightLevelText.textContent = lv.toString();
2016-03-12 00:10:36 +01:00
}
2016-05-05 08:31:55 +02:00
2016-03-11 01:24:11 +01:00
private updateTilt() {
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
return;
2016-03-11 01:24:11 +01:00
if (this.props.disableTilt) return;
2016-08-30 21:42:30 +02:00
let state = this.board;
if (!state || !state.accelerometerState.accelerometer.isActive) return;
2016-03-11 01:24:11 +01:00
2017-02-28 21:29:25 +01:00
const x = state.accelerometerState.accelerometer.getX();
const y = -state.accelerometerState.accelerometer.getY();
const af = 8 / 1023;
const s = 1 - Math.min(0.1, Math.pow(Math.max(Math.abs(x), Math.abs(y)) / 1023, 2) / 35);
2016-03-20 03:15:20 +01:00
2017-02-28 21:29:25 +01:00
this.element.style.transform = `perspective(30em) rotateX(${y * af}deg) rotateY(${x * af}deg) scale(${s}, ${s})`
2016-03-20 03:15:20 +01:00
this.element.style.perspectiveOrigin = "50% 50% 50%";
2016-05-05 08:31:55 +02:00
this.element.style.perspective = "30em";
2016-03-11 01:24:11 +01:00
}
2016-05-05 08:31:55 +02:00
2016-03-11 01:24:11 +01:00
private buildDom() {
2016-10-17 05:09:13 +02:00
this.element = new DOMParser().parseFromString(BOARD_SVG, "image/svg+xml").querySelector("svg") as SVGSVGElement;
2016-05-05 17:57:44 +02:00
svg.hydrate(this.element, {
2016-05-05 08:31:55 +02:00
"version": "1.0",
"viewBox": `0 0 ${MB_WIDTH} ${MB_HEIGHT}`,
2016-05-05 08:31:55 +02:00
"class": "sim",
2016-03-11 01:24:11 +01:00
"x": "0px",
"y": "0px",
"width": MB_WIDTH + "px",
"height": MB_HEIGHT + "px",
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
"fill": "rgba(0,0,0,0)"
2016-05-05 08:31:55 +02:00
});
2016-05-05 17:57:44 +02:00
this.style = <SVGStyleElement>svg.child(this.element, "style", {});
this.style.textContent = MB_STYLE;
2016-05-05 08:31:55 +02:00
2016-05-05 17:57:44 +02:00
this.defs = <SVGDefsElement>svg.child(this.element, "defs", {});
this.g = <SVGGElement>svg.elt("g");
2016-03-11 01:24:11 +01:00
this.element.appendChild(this.g);
2016-05-05 08:31:55 +02:00
2016-03-20 08:44:30 +01:00
// filters
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
let ledglow = svg.child(this.defs, "filter", { id: "ledglow", x: "-75%", y: "-75%", width: "300%", height: "300%" });
svg.child(ledglow, "feMorphology", { operator: "dilate", radius: "1", in: "SourceAlpha", result: "thicken" });
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
svg.child(ledglow, "feGaussianBlur", { stdDeviation: "5", in: "thicken", result: "blurred" });
svg.child(ledglow, "feFlood", { "flood-color": "rgb(255, 17, 77)", result: "glowColor" });
svg.child(ledglow, "feComposite", { in: "glowColor", in2: "blurred", operator: "in", result: "ledglow_colored" });
let ledglowMerge = svg.child(ledglow, "feMerge", {});
svg.child(ledglowMerge, "feMergeNode", { in: "ledglow_colored" });
svg.child(ledglowMerge, "feMergeNode", { in: "SourceGraphic" });
2016-05-05 17:57:44 +02:00
let glow = svg.child(this.defs, "filter", { id: "filterglow", x: "-5%", y: "-5%", width: "120%", height: "120%" });
svg.child(glow, "feGaussianBlur", { stdDeviation: "5", result: "glow" });
let merge = svg.child(glow, "feMerge", {});
for (let i = 0; i < 3; ++i) svg.child(merge, "feMergeNode", { in: "glow" })
2016-05-05 08:31:55 +02:00
2016-03-11 01:24:11 +01:00
// leds
this.leds = [];
this.ledsOuter = [];
2017-02-24 22:22:46 +01:00
const left = Number(this.element.getElementById("LED_0_0").getAttribute("x"));
const top = Number(this.element.getElementById("LED_0_0").getAttribute("y"));
const ledoffw = Number(this.element.getElementById("LED_1_0").getAttribute("x"))-left;
const ledoffh = Number(this.element.getElementById("LED_0_1").getAttribute("y"))-top;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
// const ledw = 5.1;
// const ledh = 12.9;
2016-05-05 08:31:55 +02:00
for (let i = 0; i < 5; ++i) {
let ledtop = i * ledoffh + top;
for (let j = 0; j < 5; ++j) {
let ledleft = j * ledoffw + left;
let k = i * 5 + j;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
this.ledsOuter.push(svg.child(this.g, "rect", { class: "sim-led-back", x: ledleft, y: ledtop, width: 10, height: 20, rx: 2, ry: 2 }));
let led = svg.child(this.g, "rect", { class: "sim-led", x: ledleft - 2, y: ledtop - 2, width: 14, height: 24, rx: 3, ry: 3, title: `(${j},${i})` });
svg.filter(led, `url(#ledglow)`)
this.leds.push(led);
2016-03-11 01:24:11 +01:00
}
}
2016-05-05 08:31:55 +02:00
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
// head
// this.headg = <SVGGElement>svg.child(this.g, "g", { style: "transform: translate(100px, 0px);" });
this.head = <SVGGElement>svg.child(this.g, "g", { class: "sim-head" });
svg.child(this.head, "circle", { cx: 501.2, cy: 75, r: 100, fill: "transparent" })
this.headParts = <SVGGElement>svg.child(this.head, "g", { class: "sim-button-outer sim-button-group" });
this.heads = []
// background
this.heads.push(svg.path(this.headParts, "sim-button",""));
// shapes
this.heads.push(<SVGGElement>svg.child(this.headParts, "g", { class: "sim-theme" }));
// this.heads.push(svg.path(this.headParts, "sim-theme", "M230.6,69.7c-2.9,0-5.3,2.4-5.3,5.3c0,2.9,2.4,5.3,5.3,5.3c2.9,0,5.3-2.4,5.3-5.3C235.9,72.1,233.5,69.7,230.6,69.7"));
// this.heads.push(svg.path(this.headParts, "sim-theme", "M269.7,80.3c2.9,0,5.3-2.4,5.3-5.3c0-2.9-2.4-5.3-5.3-5.3c-2.9,0-5.3,2.4-5.3,5.3C264.4,77.9,266.8,80.3,269.7,80.3"));
this.headText = <SVGTextElement>svg.child(this.g, "text", { x: 500, y: 165, class: "sim-text inverted big centered" })
2016-03-21 05:34:16 +01:00
// https://www.microbit.co.uk/device/pins
2016-03-11 01:24:11 +01:00
// P0, P1, P2
2016-10-14 08:53:24 +02:00
this.pins = pinNames.map(n => {
let p = this.element.getElementById(n) as SVGElement;
2017-02-24 22:22:46 +01:00
if(!p) console.log("missing "+n);
U.addClass(p, "sim-pin");
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
// console.log(p);
2016-10-14 08:53:24 +02:00
return p;
});
2016-05-05 08:31:55 +02:00
2016-09-27 00:05:06 +02:00
this.pins.forEach((p, i) => svg.hydrate(p, { title: pinTitles[i] }));
2016-05-05 08:31:55 +02:00
this.pinGradients = this.pins.map((pin, i) => {
let gid = "gradient-pin-" + i
2016-05-05 17:57:44 +02:00
let lg = svg.linearGradient(this.defs, gid)
2016-03-11 01:24:11 +01:00
pin.setAttribute("fill", `url(#${gid})`);
return lg;
})
2016-05-05 08:31:55 +02:00
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
// this.pinTexts = [
// [-20, 340],
// [50, 495],
// [450, 495],
// [500, 340]
// ].map(p => <SVGTextElement>svg.child(this.g, "text", { class: "sim-text-pin", x: p[0], y: p[1] }));
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
this.pinTexts = {
[DigitalPin.P0]: <SVGTextElement>svg.child(this.g, "text", { class: "sim-text-pin big centered", x: 20, y: 325 }),
[DigitalPin.P1]: <SVGTextElement>svg.child(this.g, "text", { class: "sim-text-pin big centered", x: 135, y: 540 }),
[DigitalPin.P2]: <SVGTextElement>svg.child(this.g, "text", { class: "sim-text-pin big centered", x: 395, y: 540 }),
[DigitalPin.P3]: <SVGTextElement>svg.child(this.g, "text", { class: "sim-text-pin big centered", x: 540, y: 325 })
Updating Simulator Pins (#75) * 2.0.2 * this repo is empty (#2201) * Update radio event parm usage descriptions (#2165) * add browser db prefix for v2 (#2208) * 2.0.3 * Releasing 2.0.3 to live (#2209) * dynamically sniff offline app version (#2059) * Revert "dynamically sniff offline app version (#2059)" (#2211) This reverts commit b480b34f7e8828794297613a12534f54573a3011. * Updating electron to 2.0.3 (#2210) * Updating offline reference to 2.0.3 (#2212) * Bumping version to 2.1.0 * 2.1.1 * Spelling (#2214) * Update write-received-packet-to-serial.md (#2217) A support ticket pointed out issues that they'd encountered when trying to follow this document: - `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here - Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled * Use gcPreAllocateBlock() to fix #2177, #2215 (#2216) * Use gcPreAllocateBlock() to fix #2177, #2215 * bump pcp 6.9.4 * 2.1.2 * Correct dice example (#2262) Changed random(6) to random(5) so the number reflect real dice. * add 4tronix minibit (#2249) * Update targetconfig.json (#2258) remove mock-iot-extension as it is just an experimental development by The Foundation * Update calibrate-compass.md (#2265) Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD * add wukong (#2239) * Decrease size of GC heap to allow more DAL allocs (#2246) * 2.1.3 * add Kitronik view text (#2125) * Release 2.0.6 to live (#2308) * Update nexus:bit entry (#2315) * update nexus:bit entry * update nexus:bit entry * Logic Lab mini-course (#2307) * Logic Lab mini-course * example syntax * Updating Readme with branch information. * bump pxt for ios <=9 fix (#2311) * Update pxt/common-packages and fix build (#2323) * fix build off of pxt/ and pxt-common-packages master * check in generated files * add-pxt-bmp280 (#2325) * Bumping pxt-core to 5.19.8 & common-packages to 6.14.9 * 2.1.4 * Error codes page update (#2327) * Start adding new codes * few tiny edits * Add more errors and rearrange * Update docs/device/error-codes.md Co-Authored-By: Michał Moskal <michal@moskal.me> * juggle category * set error range in hint Co-Authored-By: Michał Moskal <michal@moskal.me> * Update docs/device/error-codes.md Co-Authored-By: Mark <mark@microbit.org> * fix build (#2360) * fix broken build * just try the more 'official' fix if possible * back to the way that actually works.. * bump pxt to include accessibility changes (#2404) * 2.1.5 * make hc mode sim color have higher contrast (#2409) * Show project settings (#2401) * markdown link fix (#2400) * add HTS221 (#2384) * Editor controllers fixes (#2412) * updated strings * bump pxt * anotehr attempt * 2.1.6 * turn on samples when reading accelerometer (#2413) * 2.1.7 * hide pin p19/p20 (#2268) * Fix remove life animation causing microbit stuck (#2314) On the real microbit board, if the program execute other game blocks while the remove life animation is playing, it would cause strange behavior or even make the game stuck. * Port of Programmable Logic lesson for Logic Lab course (#2359) * port of programmable logic lesson * trigger rebuild * express as logical equation in snippet * go logical for snippet inputs * emit enum as bitmask (#2414) * 2.1.8 * add alt attributes to download screens (#2415) * add alt attributes to download screens, fixes microsoft/pxt-microbit#2291 * better descriptions * fixing links in translate page * Modify the LED coordinates to be between 0 and 4. (#2416) Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`. * Set LED plot row/column ranges for 'Reaction Time' (#2420) * add LIS2MDL (#2385) * add LIS2DW12 (#2386) * add LPS22 (#2387) * add LSM6DSO (#2388) * add gator environment (#2326) * add STTS751 (#2389) * add inventura extension (#2421) * add new sparkfun extensions (#2238) * add new sparkfun extensions * remove gator environment pending fixes * add dfplayer mini extension (#2417) * Update 'servo calibrator' link (#2424) * I2C Addressing Note (#2428) * I2C on-board sensor address note * note for 7bit to 8bit shift * Add nested summaries for newer courses (#2425) * bump pxt (#2432) * bump pxt * bump * bump * fix version * 2.1.9 * bump package.json (#2433) * 2.1.10 * bump pxt (#2434) * 2.1.11 * bump for diff3 (#2435) * enable experiment * bump pxt * 2.1.12 * Add the Stu Lowe coding cards (#2438) * Add the Stu Lowe coding cards * Move 'Coding Cards' below 'Hardware' * Add isDeleted (#2445) * add xinabox OD01 and breakout display section (#2397) * add xinabox OD01 and breakout display section * Update targetconfig.json * Update extensions.md * Link to power supply limitations (#2443) Fixes: #2442 * Pxt v5.23.17 (#2446) * bump pxt * regen docs * fix version syntax * restore extension * removed dup * 2.1.13 * add-sw01 (#2393) * Locking old issues * add Keyestudio robot car (#2452) * Allow globals in reclaimed bluetooth memory (#2455) * isTouchingEdge() should not return true for deleted sprite (#2449) * add query variant to hide toolbar (#2458) * Adding link to stable refs (#2460) * Update extensions.md (#2456) Move the :VIEW Text32 from other to Display now there is a display sections * 2.1.14 * fixing radio stack (#2461) * fixing radio stack * updated shims * 2.1.15 * Stable points to latest 2.0.9 (#2469) * Releasing 2.0.9 to live (#2470) * Fixing signal strength (#2474) * Pointing to 2.0.10 * Releasing 2.0.10 (#2476) With radio strength signal fix for hot or cold * Removing old bitbot as we have a new bitbot package (#2479) * updated pxt (#2465) * updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider * 2.1.16 * add drive:bit (#2484) * micro:bit RSSI fix (#2480) * read rssi from packet * updated shims * fix build * fix help * move deprecated function to ts * some formatting * restore rssi block * restory notations * actually copy bytes * removing logging code * simpler wake up code * comment * fix build * bump pxt * go back to safety * bump microbit * restor package.json * revert jquery v * use macro * check length * bump pxt (#2490) * 2.1.17 * Use default resize function for microbit gesture dropdown (#2491) * Name Badge project page (#2477) * Name Bagde project page * gotta please the summary check * link typo, ugh * Revert "Name Badge project page (#2477)" This reverts commit 2e2860632b399485e6b32a2806de34a59c4af9d8. * add freenove starter kit (#2493) * radio.setFrequencyBand support (#2495) * setfrequencyband support * revert line change * add bounds check * Name Badge project page (#2496) * Name Bagde project page * gotta please the summary check * link typo, ugh * get rid of the pptx * Simplify the Fahrenheit from Celsius computation. (#2497) As the micro:bit introduces floating point arithmetic for both the existing `f = 18 * c / 10 + 32` computation and the new `f = 1.8 * c + 32` computation, there isn't any benefit for the former. * Enable Polish localization (#2499) * bump package * 2.1.18 * shrink maintenance gif * 2.1.19 * Rotary phone dial (#2502) * some write up * adding images * text * more text * adding vids * adding escape room * remove newer lesson * remove .mp4 * Card page edits * adding image * adding to toys * rotary edits * fix typo * bump pxt 5.28.7 (#2503) * bump pxt * bump to pxt 5.28.8 * 2.1.20 * bump pxt 5.28.9 (#2504) * 2.1.21 * bump pxt 5.28.10 * 2.1.22 * bump pxt 5.28.11 * 2.1.23 * bump pxt 5.28.12 * 2.1.24 * Update README.md * robot unicorn (#2512) * robot unicorn * Edits to the unicorn * fix missing radio and boardname * bump pxt 5.28.18 (#2517) * bump pxt 5.28.18 * updated summary * 2.1.25 * bump pxt 5.28.21 * 2.1.26 * bump to pxt5.28.23 * 2.1.27 * Add redirect to pins info to serial heading (#2520) * Add redirect to pins info to serial heading * adding links * vump to pxt 5.28.24 * 2.1.28 * bump to pxt 5.28.26 * 2.1.29 * add build instructions * updated build notes * bump pxt 5.28.27 * 2.1.30 * missing svg * remove crowdin project to disable upload from master branch * reeanble crowdin, no upload * 2.1.31 * bump pxt common to 6.16.25 * missing radio package * Fix GC heap reclamation (#2528) * bump to pxt 5.28.31 * bump pxt 5.28.32 * 2.1.32 * 2.1.33 * fix typo * pxt-microbit-next? (#2543) Since the repo https://github.com/microsoft/pxt-microbit-next doesn't exist, I am assuming that the word `next` is not meant to be here. * Extensions: Add Inksmith Climate Action Kit (#2535) * Fixes for typos found in Crowdin - 11252019 (#2538) * Extension: add Kitronik Halo HD (#2541) * Extension: Add EBOTICS MIBO (#2542) * add Bright Wearables Brightboard (#2537) * Docs: Change default value in Javascript. (#2540) * Change default value in Javascript. Per @microbit-mark 's suggestion, add an example of how to change the default interval value by switching to Javascript. * edits to new example * bump pxt 5.30.6 * 2.1.34 * update git and vscode settings * revert changes to 2.1.28 * package-lock * v2.1.34 * Change Hero Image * add RVR (#2516) * Extension: add minicruise (#2545) * Fix minutes display for 'Digital Watch' project (#2547) * Fix minutes display for 'Digital Watch' project * minutes less than 10 * bump pxt * 2.1.35 * updated pxt * 2.1.36 * package lock * Tutorial Typo Fix * staging Servo library support * bumppxt * 2.1.37 * update error guide link (#2554) * adding radio firefly (#2549) * Update 'Metal Detector' example (#2559) * bump pxt * 2.1.38 * typoFix * package lock * Update Pins * Update Pins * Add C7, C8 and C9 Serial Pins * Add C7, C8 and C9 Serial Pins * Pins update * Add maqueen (#2560) * Extensions: Add DFRobot Maqueen * fix * revert pin C7, C8 and C9 * Update README.md * add extension doc file * revert pxt bump * Docs: Extensions remove headliner * Remove outdated #ifdef (#2564) * Extensions: add servobit (#2557) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * bump to pxt 5.31.8, common 6.18.2 * 2.1.39 * enable github editor experiment (#2568) * Fix missing sim function * bump to pxt 5.31.10 * 2.1.40 * Modify snippets/examples relying of fp div (#2571) * Extensions: add DFRobot natural science board (#2574) * Extensions: add Kitronik clip dtector (#2576) Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> * missing image * Fix lesson images * fix images 2 * Add SpeedPicker to Motor Blocks * add sixth motor pin (M_GND3) * Fix Touch Pins in Simulator * pinTexts type Update Co-authored-by: Abhijith Chatra <abchatra@microsoft.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com> Co-authored-by: Galen Nickel <v-gani@microsoft.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> Co-authored-by: Danny Yates <danny@codeaholics.org> Co-authored-by: Sam Kent <32453267+microbit-sam@users.noreply.github.com> Co-authored-by: Michał Moskal <michal@moskal.me> Co-authored-by: Daryl Zuniga <Daryl.Zuniga@gmail.com> Co-authored-by: Eric Kimsey <ekimsey@users.noreply.github.com> Co-authored-by: Mark <mark@microbit.org> Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com> Co-authored-by: Peter Brodersen <peter@ter.dk> Co-authored-by: Leo <leo881003@gmail.com> Co-authored-by: Asher Kach <asher.kach@gmail.com> Co-authored-by: Franklin Tse <FranklinWhale@users.noreply.github.com> Co-authored-by: Neal McBurnett <nealmcb@gmail.com> Co-authored-by: Kitronik Ltd <design@kitronik.co.uk> Co-authored-by: shakao <34112083+shakao@users.noreply.github.com> Co-authored-by: Helen Leigh <48659173+helenleigh@users.noreply.github.com> Co-authored-by: Gerard Braad <me@gbraad.nl> Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
2020-01-22 21:17:07 +01:00
}
2016-10-13 07:44:05 +02:00
// BTN A, B
const btnids = ["BTN_A", "BTN_B"];
this.buttonsOuter = btnids.map(n => this.element.getElementById(n + "_BOX") as SVGElement);
this.buttonsOuter.forEach(b => U.addClass(b, "sim-button-outer"));
2016-10-13 07:44:05 +02:00
this.buttons = btnids.map(n => this.element.getElementById(n) as SVGElement);
this.buttons.forEach(b => U.addClass(b, "sim-button"));
2016-06-09 23:08:15 +02:00
2016-10-13 07:44:05 +02:00
// BTN A+B
2016-06-09 23:08:15 +02:00
const outerBtn = (left: number, top: number) => {
const button = this.mkBtn(left, top, 'A + B');
2016-09-27 20:00:21 +02:00
this.buttonsOuter.push(button.outer);
this.buttons.push(button.inner);
return button;
2016-06-09 23:08:15 +02:00
}
let ab = outerBtn(100, MB_HEIGHT - 75);
// let abtext = svg.child(ab.outer, "text", { x: 210, y: MB_HEIGHT - 5, class: "sim-text big inverted centered" }) as SVGTextElement;
// abtext.textContent = "A+B";
2016-06-09 23:08:15 +02:00
(<any>this.buttonsOuter[2]).style.visibility = "hidden";
(<any>this.buttons[2]).style.visibility = "hidden";
2016-03-11 01:24:11 +01:00
}
2016-05-05 08:31:55 +02:00
private mkBtn(left: number, top: number, text: string): { outer: SVGElement, inner: SVGElement } {
2016-10-13 07:44:05 +02:00
const btnr = 2;
2017-02-24 22:22:46 +01:00
const btnw = 20;
2016-10-13 07:44:05 +02:00
const btnn = 1.6;
const btnnm = 2;
2016-09-27 20:00:21 +02:00
const btnb = 5;
let btng = svg.child(this.g, "g", { class: "sim-button-group" });
// var fo = document.createElementNS("http://www.w3.org/2000/svg", "foreignObject");
var fo = svg.child(btng, "foreignObject");
fo.setAttribute("id", "y");
fo.setAttribute("x", left+'');
fo.setAttribute("y", top+'');
fo.setAttribute("width", "300");
fo.setAttribute("height", "100");
fo.innerHTML = `<body xmlns="http://www.w3.org/1999/xhtml">
<button class="simEventBtn">${text}</button>
</body>`;
// var ta = document.createElement("button");
// ta.innerText = text;
// fo.appendChild(ta);
// svg.child(btng, "rect", { class: "sim-button-outer", x: left, y: top, rx: btnr, ry: btnr, width: btnw, height: btnw });
// svg.child(btng, "circle", { class: "sim-button-nut", cx: left + btnnm, cy: top + btnnm, r: btnn });
// svg.child(btng, "circle", { class: "sim-button-nut", cx: left + btnnm, cy: top + btnw - btnnm, r: btnn });
// svg.child(btng, "circle", { class: "sim-button-nut", cx: left + btnw - btnnm, cy: top + btnw - btnnm, r: btnn });
// svg.child(btng, "circle", { class: "sim-button-nut", cx: left + btnw - btnnm, cy: top + btnnm, r: btnn });
2016-09-27 20:00:21 +02:00
const outer = btng;
const inner = svg.child(btng, "circle", {
class: "sim-button",
cx: left + btnw / 2,
cy: top + btnw / 2,
r: 0
2016-09-27 20:00:21 +02:00
});
return { outer, inner };
}
2016-03-11 01:24:11 +01:00
private attachEvents() {
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
this.attachIFrameEvents();
this.attachAccelerometerEvents();
this.attachPinsIOEvents();
this.attachPinsTouchEvents();
this.attachABEvents();
this.attachAPlusBEvents();
}
private attachIFrameEvents() {
2016-03-11 01:24:11 +01:00
Runtime.messagePosted = (msg) => {
2016-07-29 22:42:21 +02:00
switch (msg.type || "") {
case "serial": this.flashSystemLed(); break;
case "radiopacket": this.flashAntenna(); break;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
case "eventbus":
if ((<pxsim.SimulatorEventBusMessage>msg).id == DAL.MES_BROADCAST_GENERAL_ID)
this.flashAntenna();
break;
2016-03-11 01:24:11 +01:00
}
}
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
}
private attachAccelerometerEvents() {
let tiltDecayer: any = undefined;
2016-04-11 19:58:09 +02:00
this.element.addEventListener(pointerEvents.move, (ev: MouseEvent) => {
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
const state = this.board;
if (!state.accelerometerState.accelerometer.isActive) return;
2016-05-05 08:31:55 +02:00
2016-03-30 06:14:27 +02:00
if (tiltDecayer) {
clearInterval(tiltDecayer);
tiltDecayer = 0;
}
2016-03-20 03:15:20 +01:00
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
const bbox = this.element.getBoundingClientRect();
// ev.clientX and ev.clientY are not defined on mobile iOS
const xPos = ev.clientX != null ? ev.clientX : ev.pageX;
const yPos = ev.clientY != null ? ev.clientY : ev.pageY;
const ax = (xPos - bbox.width / 2) / (bbox.width / 3);
const ay = (yPos - bbox.height / 2) / (bbox.height / 3);
2016-05-05 08:31:55 +02:00
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
const x = - Math.max(- 1023, Math.min(1023, Math.floor(ax * 1023)));
const y = - Math.max(- 1023, Math.min(1023, Math.floor(ay * 1023)));
const z2 = 1023 * 1023 - x * x - y * y;
const z = Math.floor((z2 > 0 ? -1 : 1) * Math.sqrt(Math.abs(z2)));
2016-05-05 08:31:55 +02:00
state.accelerometerState.accelerometer.update(x, y, z);
2016-03-11 01:24:11 +01:00
this.updateTilt();
}, false);
2016-04-11 19:58:09 +02:00
this.element.addEventListener(pointerEvents.leave, (ev: MouseEvent) => {
2016-08-30 21:42:30 +02:00
let state = this.board;
if (!state.accelerometerState.accelerometer.isActive) return;
2016-05-05 08:31:55 +02:00
2016-03-30 06:14:27 +02:00
if (!tiltDecayer) {
tiltDecayer = setInterval(() => {
let accx = state.accelerometerState.accelerometer.getX(MicroBitCoordinateSystem.RAW);
2016-03-30 06:14:27 +02:00
accx = Math.floor(Math.abs(accx) * 0.85) * (accx > 0 ? 1 : -1);
let accy = state.accelerometerState.accelerometer.getY(MicroBitCoordinateSystem.RAW);
2016-03-30 06:14:27 +02:00
accy = Math.floor(Math.abs(accy) * 0.85) * (accy > 0 ? 1 : -1);
2016-05-05 08:31:55 +02:00
let accz = -Math.sqrt(Math.max(0, 1023 * 1023 - accx * accx - accy * accy));
2016-03-30 06:14:27 +02:00
if (Math.abs(accx) <= 24 && Math.abs(accy) <= 24) {
2016-05-05 08:31:55 +02:00
clearInterval(tiltDecayer);
tiltDecayer = 0;
2016-03-30 06:14:27 +02:00
accx = 0;
accy = 0;
2016-05-05 08:31:55 +02:00
accz = -1023;
}
state.accelerometerState.accelerometer.update(accx, accy, accz);
2016-05-05 08:31:55 +02:00
this.updateTilt();
}, 50)
2016-03-30 06:14:27 +02:00
}
2016-03-11 01:24:11 +01:00
}, false);
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
}
2016-05-05 08:31:55 +02:00
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
private attachPinsIOEvents() {
this.pins.slice(0, 4).forEach((pin, index) => {
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
// var index = i + 2;
2016-08-30 21:42:30 +02:00
if (!this.board.edgeConnectorState.pins[index]) return;
2016-03-11 01:24:11 +01:00
let pt = this.element.createSVGPoint();
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
let xpos = (index === 0 || index === 3) ? 300 : 520;
let vMax = (index === 0 || index === 3) ? 1 : 1023;
2016-05-05 17:57:44 +02:00
svg.buttonEvents(pin,
2016-03-11 01:24:11 +01:00
// move
ev => {
2016-08-30 21:42:30 +02:00
let state = this.board;
let pin = state.edgeConnectorState.pins[index];
2016-03-11 01:24:11 +01:00
let svgpin = this.pins[index];
2016-06-04 08:15:51 +02:00
if (pin.mode & PinFlags.Input) {
2016-05-05 17:57:44 +02:00
let cursor = svg.cursorPoint(pt, this.element, ev);
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
let v = (xpos - cursor.y) / 70 * (vMax + 1);
pin.value = Math.max(0, Math.min(vMax, Math.floor(v)));
2016-03-11 01:24:11 +01:00
}
2016-05-05 08:31:55 +02:00
this.updatePin(pin, index);
2016-03-11 01:24:11 +01:00
},
// start
ev => {
2016-08-30 21:42:30 +02:00
let state = this.board;
let pin = state.edgeConnectorState.pins[index];
2016-03-11 01:24:11 +01:00
let svgpin = this.pins[index];
U.addClass(svgpin, "touched");
2016-06-04 08:15:51 +02:00
if (pin.mode & PinFlags.Input) {
2016-05-05 17:57:44 +02:00
let cursor = svg.cursorPoint(pt, this.element, ev);
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
let v = (xpos - cursor.y) / 70 * (vMax + 1);
pin.value = Math.max(0, Math.min(vMax, Math.floor(v)));
2016-03-11 01:24:11 +01:00
}
2016-05-05 08:31:55 +02:00
this.updatePin(pin, index);
2016-03-11 01:24:11 +01:00
},
// stop
(ev: MouseEvent) => {
2016-08-30 21:42:30 +02:00
let state = this.board;
let pin = state.edgeConnectorState.pins[index];
2016-03-11 01:24:11 +01:00
let svgpin = this.pins[index];
U.removeClass(svgpin, "touched");
2016-03-11 01:24:11 +01:00
this.updatePin(pin, index);
return false;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
},
// keydown
(ev: KeyboardEvent) => {
let charCode = (typeof ev.which == "number") ? ev.which : ev.keyCode
let state = this.board;
let pin = state.edgeConnectorState.pins[index];
if (charCode === 40 || charCode === 37) { // Down/Left arrow
pin.value -= 10;
if (pin.value < 0) {
pin.value = 1023;
}
this.updatePin(pin, index);
} else if (charCode === 38 || charCode === 39) { // Up/Right arrow
pin.value += 10;
if (pin.value > 1023) {
pin.value = 0;
}
this.updatePin(pin, index);
}
2016-05-05 08:31:55 +02:00
});
2016-03-11 01:24:11 +01:00
})
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
}
private attachPinsTouchEvents() {
this.pins.slice(0, 4).forEach((btn, i) => {
var index = i;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
let state = this.board;
let pressedTime: number;
pointerEvents.down.forEach(evid => btn.addEventListener(evid, ev => {
2016-08-30 21:42:30 +02:00
let state = this.board;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
// console.log(`down ${state.edgeConnectorState.pins[i].id}`)
state.edgeConnectorState.pins[i].touched = true;
this.updatePin(state.edgeConnectorState.pins[i], index);
this.board.bus.queue(state.edgeConnectorState.pins[i].id, DAL.MICROBIT_BUTTON_EVT_DOWN);
pressedTime = runtime.runningTime()
}));
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
// btn.addEventListener(pointerEvents.leave, ev => {
// let state = this.board;
// state.edgeConnectorState.pins[i].touched = false;
// this.updatePin(state.edgeConnectorState.pins[i], index);
// })
2016-04-11 19:58:09 +02:00
btn.addEventListener(pointerEvents.up, ev => {
2016-08-30 21:42:30 +02:00
let state = this.board;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
// console.log(`up ${state.edgeConnectorState.pins[i].id}, index ${index}`)
state.edgeConnectorState.pins[i].touched = false;
this.updatePin(state.edgeConnectorState.pins[i], index);
this.board.bus.queue(state.edgeConnectorState.pins[i].id, DAL.MICROBIT_BUTTON_EVT_UP);
const currentTime = runtime.runningTime()
if (currentTime - pressedTime > DAL.DEVICE_BUTTON_LONG_CLICK_TIME) {
this.board.bus.queue(state.edgeConnectorState.pins[i].id, DAL.MICROBIT_BUTTON_EVT_LONG_CLICK);
// console.log(`& long click`)
} else {
this.board.bus.queue(state.edgeConnectorState.pins[i].id, DAL.MICROBIT_BUTTON_EVT_CLICK);
// console.log(`& click`)
}
pressedTime = undefined;
2016-05-05 08:31:55 +02:00
})
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
accessibility.enableKeyboardInteraction(btn, undefined, () => {
let state = this.board;
this.board.bus.queue(state.edgeConnectorState.pins[i].id, DAL.MICROBIT_BUTTON_EVT_DOWN);
this.board.bus.queue(state.edgeConnectorState.pins[i].id, DAL.MICROBIT_BUTTON_EVT_UP);
this.board.bus.queue(state.edgeConnectorState.pins[i].id, DAL.MICROBIT_BUTTON_EVT_CLICK);
});
2016-03-23 23:09:48 +01:00
})
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
}
private attachABEvents() {
const bpState = this.board.buttonPairState;
const stateButtons: Button[] = [bpState.aBtn, bpState.bBtn];
const elButtonOuters = this.buttonsOuter.slice(0,2);
const elButtons = this.buttons.slice(0,2);
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
elButtonOuters.forEach((btn, index) => {
let pressedTime: number;
pointerEvents.down.forEach(evid => btn.addEventListener(evid, ev => {
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
// console.log(`down ${stateButtons[index].id}`)
stateButtons[index].pressed = true;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
svg.fill(elButtons[index], this.props.theme.buttonDown);
this.board.bus.queue(stateButtons[index].id, DAL.MICROBIT_BUTTON_EVT_DOWN);
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
pressedTime = runtime.runningTime()
}));
2016-04-11 19:58:09 +02:00
btn.addEventListener(pointerEvents.leave, ev => {
stateButtons[index].pressed = false;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
svg.fill(elButtons[index], this.props.theme.buttonUps[0]);
2016-03-18 21:55:07 +01:00
})
2016-04-11 19:58:09 +02:00
btn.addEventListener(pointerEvents.up, ev => {
stateButtons[index].pressed = false;
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
svg.fill(elButtons[index], this.props.theme.buttonUps[0]);
2016-08-30 21:42:30 +02:00
this.board.bus.queue(stateButtons[index].id, DAL.MICROBIT_BUTTON_EVT_UP);
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
const currentTime = runtime.runningTime()
if (currentTime - pressedTime > DAL.DEVICE_BUTTON_LONG_CLICK_TIME)
this.board.bus.queue(stateButtons[index].id, DAL.MICROBIT_BUTTON_EVT_LONG_CLICK);
else
this.board.bus.queue(stateButtons[index].id, DAL.MICROBIT_BUTTON_EVT_CLICK);
pressedTime = undefined;
2016-03-11 01:24:11 +01:00
})
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
accessibility.enableKeyboardInteraction(btn, undefined, () => {
this.board.bus.queue(stateButtons[index].id, DAL.MICROBIT_BUTTON_EVT_DOWN);
this.board.bus.queue(stateButtons[index].id, DAL.MICROBIT_BUTTON_EVT_UP);
this.board.bus.queue(stateButtons[index].id, DAL.MICROBIT_BUTTON_EVT_CLICK);
});
2016-03-11 01:24:11 +01:00
})
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
}
private attachAPlusBEvents() {
const bpState = this.board.buttonPairState;
const stateButtons: Button[] = [bpState.aBtn, bpState.bBtn];
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
let pressedTime: number;
// A+B
pointerEvents.down.forEach(evid => this.buttonsOuter[2].addEventListener(evid, ev => {
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
bpState.aBtn.pressed = true;
bpState.bBtn.pressed = true;
bpState.abBtn.pressed = true;
2016-05-05 17:57:44 +02:00
svg.fill(this.buttons[0], this.props.theme.buttonDown);
svg.fill(this.buttons[1], this.props.theme.buttonDown);
svg.fill(this.buttons[2], this.props.theme.buttonDown);
this.board.bus.queue(stateButtons[0].id, DAL.MICROBIT_BUTTON_EVT_DOWN);
this.board.bus.queue(stateButtons[1].id, DAL.MICROBIT_BUTTON_EVT_DOWN);
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
this.board.bus.queue(bpState.abBtn.id, DAL.MICROBIT_BUTTON_EVT_DOWN);
pressedTime = runtime.runningTime()
}));
2016-04-11 19:58:09 +02:00
this.buttonsOuter[2].addEventListener(pointerEvents.leave, ev => {
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
bpState.aBtn.pressed = false;
bpState.bBtn.pressed = false;
bpState.abBtn.pressed = false;
2016-10-13 07:44:05 +02:00
svg.fill(this.buttons[0], this.props.theme.buttonUps[0]);
svg.fill(this.buttons[1], this.props.theme.buttonUps[1]);
2016-05-05 17:57:44 +02:00
svg.fill(this.buttons[2], this.props.theme.virtualButtonUp);
2016-03-18 21:55:07 +01:00
})
2016-04-11 19:58:09 +02:00
this.buttonsOuter[2].addEventListener(pointerEvents.up, ev => {
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
bpState.aBtn.pressed = false;
bpState.bBtn.pressed = false;
bpState.abBtn.pressed = false;
2016-10-13 07:44:05 +02:00
svg.fill(this.buttons[0], this.props.theme.buttonUps[0]);
svg.fill(this.buttons[1], this.props.theme.buttonUps[1]);
2016-05-05 17:57:44 +02:00
svg.fill(this.buttons[2], this.props.theme.virtualButtonUp);
2016-05-05 08:31:55 +02:00
this.board.bus.queue(stateButtons[0].id, DAL.MICROBIT_BUTTON_EVT_UP);
this.board.bus.queue(stateButtons[1].id, DAL.MICROBIT_BUTTON_EVT_UP);
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
this.board.bus.queue(bpState.abBtn.id, DAL.MICROBIT_BUTTON_EVT_UP);
const currentTime = runtime.runningTime()
if (currentTime - pressedTime > DAL.DEVICE_BUTTON_LONG_CLICK_TIME)
this.board.bus.queue(bpState.abBtn.id, DAL.MICROBIT_BUTTON_EVT_LONG_CLICK);
else
this.board.bus.queue(bpState.abBtn.id, DAL.MICROBIT_BUTTON_EVT_CLICK);
pressedTime = undefined;
2016-05-05 08:31:55 +02:00
})
V4 updates for beta testing (#147) * change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin * Fix Sound and replace AnalogPin.P0 * remove approved extensions * V4 Updates from remote Repo * locales * add storage functions * fix storage functions * fix int/float values * decrease decimal precision * reorder blocks * Update BLE Settings and Storage Blocks * Fetch MicroBit changes up to v4.0.18 * Update timing for LED Matrix usage * use 32kb ram (mini v2) * resize gatt table * Revert "use 32kb ram (mini v2)" This reverts commit 4b15592f0f0eacfc1a2e826f34682bc589faf16e. * fix missleading indentation * add support for 32kb and 16kb ram * only MIT extensions in preferredRepos * remove extensions without MIT License file * add updated extensions * add extensions with MIT license Co-authored-by: Juri <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
2022-03-22 17:36:19 +01:00
accessibility.enableKeyboardInteraction(this.buttonsOuter[2], undefined, () => {
this.board.bus.queue(bpState.abBtn.id, DAL.MICROBIT_BUTTON_EVT_DOWN);
this.board.bus.queue(bpState.abBtn.id, DAL.MICROBIT_BUTTON_EVT_UP);
this.board.bus.queue(bpState.abBtn.id, DAL.MICROBIT_BUTTON_EVT_CLICK);
});
2016-03-11 01:24:11 +01:00
}
}
}