* Update gesture field for new Blockly renderer (#2658)
* Update gesture field for new Blockly renderer
* Bump pxt-core to 5.36.1
* percent sign for motors block
* shims & strings
* turn tutorialBlocksDiff off
Co-authored-by: Amerlander <gitkraken@juriwolf.de>
* Update gesture field for new Blockly renderer (#2658)
* Update gesture field for new Blockly renderer
* Bump pxt-core to 5.36.1
* percent sign for motors block
* shims & strings
Co-authored-by: Amerlander <gitkraken@juriwolf.de>
* 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 b480b34f7e.
* 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, fixesmicrosoft/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 2e2860632b.
* 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>
* 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 b480b34f7e.
* 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, fixesmicrosoft/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 2e2860632b.
* 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>
* Bumping pxt-core to 5.15.5
* 1.4.15
* stop background before foreground (#2174)
* Bumping pxt-core to 5.15.6
* 1.4.16
* Bumping pxt-core to 5.15.7
* 1.4.17
* Bumping pxt-core to 5.15.8
* 1.4.18
* add backgrounds for use with .dmg (#2200)
* add normal size and 2x size backgrounds for dmg
* update arrow color to dark gray
* Bumping pxt-core to 5.15.9
* 1.4.19
* Adding v1-ref.json pointing to 1.2.13
* Bumping microbit to 2.0.0
* 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 b480b34f7e.
* 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, fixesmicrosoft/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 2e2860632b.
* 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
* bumppxt
* 2.1.37
* update error guide link (#2554)
* adding radio firefly (#2549)
* Update 'Metal Detector' example (#2559)
* bump pxt
* 2.1.38
* typoFix
* 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
* 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
Co-authored-by: Abhijith Chatra <abchatra@microsoft.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
Co-authored-by: shakao <34112083+shakao@users.noreply.github.com>
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
Co-authored-by: Galen Nickel <v-gani@microsoft.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: Helen Leigh <48659173+helenleigh@users.noreply.github.com>
Co-authored-by: Gerard Braad <me@gbraad.nl>
Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
* Fix Black and White Typo (#2138)
* Fixed typo: Back->Black
* Added Upgrade Rules to fix spelling
* Removed extra isEmpty
* Added previous BackAndWhite to allow for compilation of old scripts
* always shake when button is pressed (#2161)
* add PLENbit (#2140)
* Bumping pxt-core to 5.15.5
* 1.4.15
* stop background before foreground (#2174)
* Bumping pxt-core to 5.15.6
* 1.4.16
* Bumping pxt-core to 5.15.7
* 1.4.17
* Bumping pxt-core to 5.15.8
* 1.4.18
* add backgrounds for use with .dmg (#2200)
* add normal size and 2x size backgrounds for dmg
* update arrow color to dark gray
* Bumping pxt-core to 5.15.9
* 1.4.19
* Adding v1-ref.json pointing to 1.2.13
* Bumping microbit to 2.0.0
* 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 b480b34f7e.
* 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, fixesmicrosoft/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 2e2860632b.
* 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
* bumppxt
* 2.1.37
* update error guide link (#2554)
* adding radio firefly (#2549)
* Update 'Metal Detector' example (#2559)
* bump pxt
* 2.1.38
* typoFix
* 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
* 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>
Co-authored-by: Chase Mortensen <C_Mortensen@live.com>
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
Co-authored-by: Mark <mark@microbit.org>
Co-authored-by: Abhijith Chatra <abchatra@microsoft.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
Co-authored-by: shakao <34112083+shakao@users.noreply.github.com>
Co-authored-by: Galen Nickel <v-gani@microsoft.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: 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: Helen Leigh <48659173+helenleigh@users.noreply.github.com>
Co-authored-by: Gerard Braad <me@gbraad.nl>
Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
* add windows and mac icons for offline app (#2141)
* Don't overwrite electron deploy (#2142)
* remove baud rate as it is not support on HW (#2124)
* add blocks for serial set tx/rx buffer size (#2144)
* support flag argument (#2126)
* support flag argument
* enable drop semantics
* add reentrant
* updated shims
* Bumping pxt-core to 5.15.3
* 1.4.13
* Bumping pxt-core to 5.15.4
* 1.4.14
* bump setgroup on top of radio (#2157)
* bump setgroup on top of radio
* move group up
* Update name-tag.md (#2156)
* add API to disable serial padding. (#2145)
* add API to desiable serial padding.
* renamed api
* Set serial help paths for blocks (#2159)
* Shrink the link in firmware version hint (#2163)
* Shrink the link in firmware version hint
* fix a translation quibble
* Fix Black and White Typo (#2138)
* Fixed typo: Back->Black
* Added Upgrade Rules to fix spelling
* Removed extra isEmpty
* Added previous BackAndWhite to allow for compilation of old scripts
* always shake when button is pressed (#2161)
* add PLENbit (#2140)
* Bumping pxt-core to 5.15.5
* 1.4.15
* stop background before foreground (#2174)
* Bumping pxt-core to 5.15.6
* 1.4.16
* Bumping pxt-core to 5.15.7
* 1.4.17
* Bumping pxt-core to 5.15.8
* 1.4.18
* add backgrounds for use with .dmg (#2200)
* add normal size and 2x size backgrounds for dmg
* update arrow color to dark gray
* Bumping pxt-core to 5.15.9
* 1.4.19
* Adding v1-ref.json pointing to 1.2.13
* Bumping microbit to 2.0.0
* 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 b480b34f7e.
* 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, fixesmicrosoft/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 2e2860632b.
* 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
* bumppxt
* 2.1.37
* update error guide link (#2554)
* adding radio firefly (#2549)
* Update 'Metal Detector' example (#2559)
* bump pxt
* 2.1.38
* typoFix
* 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
* 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
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
Co-authored-by: Richard Knoll <riknoll@users.noreply.github.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
Co-authored-by: Abhijith Chatra <abchatra@microsoft.com>
Co-authored-by: kimprice <kimberlymprice@ufl.edu>
Co-authored-by: Galen Nickel <v-gani@microsoft.com>
Co-authored-by: Chase Mortensen <C_Mortensen@live.com>
Co-authored-by: Mark <mark@microbit.org>
Co-authored-by: shakao <34112083+shakao@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: 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: Helen Leigh <48659173+helenleigh@users.noreply.github.com>
Co-authored-by: Gerard Braad <me@gbraad.nl>
Co-authored-by: Nicole Parrot <cleoqc1124@gmail.com>
* add Keigan Motor extennsion (#2067)
* add Keigan Motor extennsion
* missing coma
* Update radio event parm usage descriptions (#2075)
* Bumping pxt to 5.14.3 and common-packages to 5.14.3
* 1.4.11
* Revert "Update radio event parm usage descriptions (#2075)" (#2077)
This reverts commit 7950f1b4d7.
* Fix Turtle Spiral example decompilation (#2094)
* use local variables for indices
* s/an/the/
* bump to core 5.15.1 (#2121)
* 1.4.12
* refresh shims (#2134)
* import extension files (#2127)
* import extension files
* updated shims
* Fix some titles, sigs in ref docs (#2128)
* Fix some title and sigs in ref docs
* better buffer source
* Sets JustWorks to the actual config values (#2137)
* add windows and mac icons for offline app (#2141)
* Don't overwrite electron deploy (#2142)
* remove baud rate as it is not support on HW (#2124)
* add blocks for serial set tx/rx buffer size (#2144)
* support flag argument (#2126)
* support flag argument
* enable drop semantics
* add reentrant
* updated shims
* Bumping pxt-core to 5.15.3
* 1.4.13
* Bumping pxt-core to 5.15.4
* 1.4.14
* bump setgroup on top of radio (#2157)
* bump setgroup on top of radio
* move group up
* Update name-tag.md (#2156)
* add API to disable serial padding. (#2145)
* add API to desiable serial padding.
* renamed api
* Set serial help paths for blocks (#2159)
* Shrink the link in firmware version hint (#2163)
* Shrink the link in firmware version hint
* fix a translation quibble
* Fix Black and White Typo (#2138)
* Fixed typo: Back->Black
* Added Upgrade Rules to fix spelling
* Removed extra isEmpty
* Added previous BackAndWhite to allow for compilation of old scripts
* always shake when button is pressed (#2161)
* add PLENbit (#2140)
* Bumping pxt-core to 5.15.5
* 1.4.15
* stop background before foreground (#2174)
* Bumping pxt-core to 5.15.6
* 1.4.16
* Bumping pxt-core to 5.15.7
* 1.4.17
* Bumping pxt-core to 5.15.8
* 1.4.18
* add backgrounds for use with .dmg (#2200)
* add normal size and 2x size backgrounds for dmg
* update arrow color to dark gray
* Bumping pxt-core to 5.15.9
* 1.4.19
* Adding v1-ref.json pointing to 1.2.13
* Bumping microbit to 2.0.0
* 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 b480b34f7e.
* 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, fixesmicrosoft/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 2e2860632b.
* 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
* hexcache is no longer generated at repo root, so remove it from package.json
* Modified templates to depend on local packages
* Adding bluetooth template for offline HEX cache
* Fix wrong package name in dependencies of bluetooth template
* Change package versions to * in templates
* Adding radio API for receiving a packet
* More new radio API changes
* renaming some properties
* Redoing radio packet parsing and updating new callback api
* aligning uart apis with serial
* reorganizing serial/bluetooth blocks
* Autoupdate configuration for UART. (#279)
* Autoupdate configuration for UART.
* removing serial autoupdates.
* Fix i18n not working after 277d5a7
The translation strings file in "core" package should have file names
"core-strings.json" or "core-jsdoc-strings.json".
* Enable ja translation
Rename "core-strings.json" to "core-jsdoc-strings.json".
Add new "core-strings.json" as a copy of the template.
Add two lines for the files in "pxt.json".
* initial notes
* updated code samples
* splitting the page and preparing layout
* missing gamepad api
* added basic guitar activty md files
added initial draft of guitar lesson - in progress
* word smithing and adding detail for concepts listed
* word smithing and adding detail for concepts listed
* typo in file name
* missing macro
* replaced guitar.png with image from Julia Carlson
* adding a few pictures
* adding cards macros
* few tweaks
* image for accellerometer lesson xyz axis
* fixed the numbering buttons page
-fixed the numbering to restart for each section and asdded spaces after so they don't wrap
* adding a few video links
* pin-press - added circuit info
* more vids
* fixing latest commit
* edits to light sensor and pin-press
* updated descriptions, linking lesson
* pin-press and display-buttons updates
-added dode samples to pin press
* updated making video
* light-sensor updated numbering
* Clean up
Clean up of headings to template style, other fixes
* putting display in template
use h2 with "Step 1:" and image before text
* removed numbered lists for display & light
these topics are code complete
* more consistent formating
Acceleromenter, buttons, light sensosr
* Acceleration Lesson, added art
Lesson steps for Acceleration, art for degree F to C for Map anology+clean up of light sensor topic
* Pin Press code complete
some other basic fomats and edits
* Removed dashes in lesson names
renamed and fixed references to files with "-" in names
* rest of fles w/ dash in name changes
* fixed links to guitar activities
* updated acceleraomter section
* transparency 4 art, image text
added transarency and renamed art, added descriptive text for video and still images
* renamed art
* fixing the merge
* fixing hint
* moved step 2 outside ~hint block
* fixing snippets
* remove guitar from project list
* Duration/Materials consistent format
moved out of ~avatar block
I’m continuing to use the same menu bar image, as usually these are black and white on OS X, compared to coloured images being common on the Windows task bar.
A small section of this file is still required to build and run the app (it contains metadata that declares that AppDelegate.m is the main implementation, for example).
* Source for OS X uploader
* Readme for OS X uploader
* Export image
* .gitignore for Xcode project
* Remove redundant data
* Update readme instructions
* List formatting
* Remove personal copyright notice added by Xcode
* Added release build and updated readme
* point to doc cdn
* Documentation page for unsupported browsers
* Update unsupported documentation with mac info
* Blur irrelevant information in version screenshots
* Rename to Peli's suggested path
* Browser recommendation for each platform
* Images of micro:bit attached t ostuff
* Cropped and enhanced USB images
* Define paths for USB images
* Added new matching criteria for images
* Help URL
* Add paths for all images
* Cropped images so they look better on dialog
* Add link to uploader
* working on new part definitions
* draft of new part definitions
* updates comments
* starting new allocator
* starting from the old allocator
* alloc internals renaming
* alloc minor renaming
* alloc internal renaming
* progress on new parts definition
* progress on new part defs allocator
* refactors BBLoc; progress on new allocator
* more progress on new allocator
* finishing new allocator
* deleting old allocator
* moves new allocator and part definitions
* porting to new part definitions
* refactors instructions for new definitions
* debugging new allocator
* fixes ground and power wire colros
* fixing new part definition bugs
* fixes wire end offsets; fixes NeoPixel placement
* fixes colorGroup issue
* fixes led matrix wiring
* naming tweaks
* fixes instructions regressions
* typo
At some point Im guessing the help file has been renamed and its current url is https://codethemicrobit.com/reference/pins/set-pull. This change to the annotation of setPull removes the word "digital" so that the link should work again
Note that currently you can't follow through with these instructions because string literals aren't supported, and there isn't support for converting the JS in this doc.
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
Add screenshots to help explain your problem. You can copy paste the screenshot in the github report. The .gif screen recording is very useful as well.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
PXT accepts bug fix pull requests. For a bug fix PR to be accepted, it must first have a tracking issue that has been marked approved. Your PR should link to the bug you are fixing. If you've submitted a PR for a bug, please post a comment in the bug to avoid duplication of effort.
PXT also accepts new feature pull requests. For a feature-level PR to be accepted, it first needs to have design discussion. Design discussion can take one of two forms a) a feature request in the issue tracker that has been marked as approved or b) the PR must be accompanied by a full design spec and this spec is later approved in the open design discussion. Features are evaluated against their complexity, impact on other features, roadmap alignment, and maintainability.
These two blogs posts on contributing code to open source projects are a good reference: [Open Source Contribution Etiquette](http://tirania.org/blog/archive/2010/Dec-31.html) by Miguel de Icaza and [Don't "Push" Your Pull Requests](https://www.igvita.com/2011/12/19/dont-push-your-pull-requests/) by Ilya Grigorik.
## Security
If you believe you have found a security issue in PXT, please share it with us privately following the guidance at the Microsoft [Security TechCenter](https://technet.microsoft.com/en-us/security/ff852094). Reporting it via this channel helps minimize risk to projects built with PXT.
## Legal
You will need to complete a Contributor License Agreement (CLA) before your pull request can be accepted. This agreement testifies that you are granting us permission to use the source code you are submitting, and that this work is being submitted under appropriate license that we can use it.
You can complete the CLA by going through the steps at https://cla.microsoft.com. Once we have received the signed CLA, we'll review the request. You will only need to do this once.
## Housekeeping
Your pull request should:
* Include a description of what your change intends to do
* Be a child commit of a reasonably recent commit in the master branch
pxt-calliope is a [Microsoft Programming Experience Toolkit (PXT)](https://github.com/Microsoft/pxt) target that allows you to program a [BBC micro:bit](https://microbit.org/).
Please follow instructions at https://github.com/Microsoft/pxt#running-a-target-from-localhost
## Universal Windows App
* [Try it live](https://makecode.calliope.cc/)
The Windows 10 app is a [Universal Windows Hosted Web App](https://microsoftedge.github.io/WebAppsDocs/en-US/win10/CreateHWA.htm)
that wraps codemicrobit.com and provides additional features.
## Issue tracking
### Sideloading
Please add an issue if you discover an (unreported) bug.
* Open Windows **settings** and search for **Developer options**
* Enable the developer mode.
* Find the latest build under ``win10/app/AppPackages/latest`` and run the ``Add-AppDevPackage.ps1`` PowerShell script (mouse right-click, then `run with PowerShell`)
## Developing new extensions
### Building
Authoring and testing of new extensions can be done directly from the web editor. See [our documentation](https://makecode.com/blog/github-packages) on how to get started. If you want to run the editor locally, keep reading.
* Install Visual Studio 2015 Update 2 or higher. Make sure the Windows 10 templates are installed.
* open the ``win10/app.sln`` solution and launch the ``codemicrobit`` project.
## Local server setup
The local server lets you to run the editor and serve the documentation from your own computer. It is meant for a single developer used and not designed to serve the editor to a large amount of users.
1. Install [Node.js](https://nodejs.org/) 8.9.4 or higher.
See the [MakeCode blog](https://makecode.com/blog).
## Code of Conduct
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
## Trademarks
MICROSOFT, the Microsoft Logo, and MAKECODE are registered trademarks of Microsoft Corporation. They can only be used for the purposes described in and in accordance with Microsoft’s Trademark and Brand guidelines published at https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general.aspx. If the use is not covered in Microsoft’s published guidelines or you are not sure, please consult your legal counsel or MakeCode team (makecode@microsoft.com).
[selfshowNotification:@"micro:bit upload failed"withDescription:[NSStringstringWithFormat:@"Couldn't transfer %@ to %@",file.lastPathComponent,microbit]];
<metaproperty="og:description"content="Microsoft MakeCode is a free, open-source Block and JavaScript learn-to-code editor that promotes a more inclusive approach to computing education."/>
<metaname="twitter:description"content="Microsoft MakeCode is a free, open-source Block and JavaScript learn-to-code editor that promotes a more inclusive approach to computing education.">
The [BBC micro:bit](https://www.microbit.co.uk) is a [pocket-size computer](/device) with a 5x5 display of 25 LEDs, Bluetooth and sensors that can be programmed by anyone.
The BBC micro:bit was made possible by many [partners](https://www.microbit.co.uk/partners).
The micro:bit provides a fun introduction to programming and making – switch on, program it to do something fun – wear it, customize it.
Just like Arduino, the micro:bit can be connected to and interact with sensors, displays, and other devices.
## Blocks or JavaScript
The student can program the BBC micro:bit using [visual blocks](http://www.github.com/Google/blockly) or JavaScript.
```blocks
basic.showString("BBC micro:bit!");
```
## Compile and Flash
When a user has her code ready, she can connect her BBC micro:bit to a computer via a USB cable, so it appears as a mounted drive.
Compilation to the ARM thumb machine code happens in the browser.
The student is prompted to save the ARM binary program to a file, which she then simply drags to the micro:bit mounted drive,
which flashes the micro:bit device with the new program.
## Simulator: Test Your Code
Before a student compiles her code for the micro:bit, she can run it using the micro:bit simulator, all within the confines of a web browser.
The simulator has support for the LED screen, buttons, as well as compass, accelerometer, and digital I/O pins.
## C++ Runtime
The [C++ BBC micro:bit runtime](http://lancaster-university.github.io/microbit-docs/), created at [Lancaster University](http://www.lancaster.ac.uk/), provides access to the hardware functions of the micro:bit,
as well as a set of helper functions (such as displaying a number/image/string on the LED screen).
The JavaScript micro:bit library mirrors the functions of the C++ library.
When code is compiled to ARM machine code, the calls to JavaScript micro:bit functions are replaced with calls to the corresponding C++ functions.
Use the assignment operator to set the value of a [variable](/blocks/variables/var). Change the value of a variable from 0 to 1 using the change item block. Then display the new value of the variable on the LED screen. Like this:
A variable is a place where you can store and retrieve data. Variables have a name, a [type](/reference/types), and value:
A variable is a place where you can store and retrieve data. Variables have a name, a [type](/types), and value:
* *name* is how you'll refer to the variable
* *type* refers to the kind of data a variable can store
* *value* refers to what's stored in the variable
### Var statement
## Var statement
Use the Block Editor variable statement to create a variable
and the [assignment operator](/reference/variables/assign)
and the [assignment operator](/blocks/variables/assign)
to store something in the variable.
For example, this code stores the number `2` in the `x` variable:
@ -27,7 +27,7 @@ Here's how to define a variable in the Block Editor:
2. Change the default variable name if you like.
3. Drag a block type on the right-side of the [assignment operator](/reference/variables/assign) and click the down arrow to change the variable name.
3. Drag a block type on the right-side of the [assignment operator](/blocks/variables/assign) and click the down arrow to change the variable name.
A variable is created for the number returned by the [brightness](/reference/led/brightness) function.
@ -35,7 +35,7 @@ A variable is created for the number returned by the [brightness](/reference/led
let b = led.brightness();
```
### Using variables
## Using variables
Once you've defined a variable, just use the variable's name whenever you need what's stored in the variable. For example, the following code shows the value stored in `counter` on the LED screen:
@ -46,13 +46,13 @@ basic.showNumber(counter);
To change the contents of a variable use the assignment operator. The following code sets `counter` to 1 and then increments `counter` by 10:
```blocks
```blocks
let counter = 1;
counter = counter + 10;
basic.showNumber(counter);
```
### Why use variables?
## Why use variables?
If you want to remember and modify data, you'll need a variable.
Local variables exist only within the function or block of code where they're defined. For example:
@ -77,15 +77,11 @@ if (led.brightness() > 128) {
}
```
#### Notes
### Notes
* You can use the default variable names if you'd like, however, it's best to use descriptive variable names. To change a variable name in the editor, select the down arrow next to the variable and then click "new variable".
Amongst other things, the Calliope mini comes with 25 red LEDs that can be turned on and off individually. If, for example, you wanted to display your name, you could program individual LEDs to light up in sequence so as to display the letters of your name one after the other. As this would be rather complex, you can also enter the character string into a text field and the Calliope Mini will light up the necessary LEDs in the correct order for you.
## Step 1 @fullscreen
### DISPLAYING A CHARACTER STRING
To show your chosen sting of characters on the LED matrix, select the show string block from the Basic menu. Next, drag and attach this block to the Start block in the main screen. The text contained within the inverted commas will now be displayed on the Calliope mini when the program is started.
```blocks
basic.showString("hi!")
```
## Step 2 @fullscreen
### DISPLAYING NUMBERS
If you’d prefer to show a number instead of text, replace the text block in the main screen with the show number block from the Basic menu.
```blocks
basic.showNumber(0)
```
## Step 3 @fullscreen
### DISPLAYING IMAGES
To display a heart, a smiley or even a duck on your Calliope mini, Choose the show iconn block from the Basic menu and select any number of different images by simply clicking on the picture in the block.
```blocks
basic.showIcon(IconNames.Heart)
```
## Step 4 @fullscreen
You can also create your very own images:
Just select this block from the Basic menu and click in the boxes to create your very own image.
```blocks
basic.showLeds(`
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
`)
```
## Step 4 @fullscreen
Wenn du keine Pause zwischen 2 Bildern festlegst, zeigt der Calliope mini das erste Bild null Sekunden lang, also gar nicht. Den Warte ms Block findest du im Menü Kontrolle.
Options within a program can be made dependent not only on inputs, but also on other conditions. For example, you can create an oracle that randomly shows a sad or a happy smiley:
## Step 1 @fullscreen
### If – then do relationship
The actions below the "then“ are only executed if the condition before is fulfilled.
In this case, the heart will not be visible on the LED grid, as the decision variable is not equal to 1. You can find the if…then block in the Logic section.
## Step 2 @fullscreen
### And on we go
After the if…then block the program continues in any case, no matter whether the condition was fulfilled before or not.
## Step 3 @fullscreen
### If – then – else
If you expand the if…then block, the first if condition is checked first, if it is not fulfilled the second if condition is checked. Only those actions are triggered for which the associated condition is fulfilled.
Click on the + on the bottom of the block to unfold the if…then block. The probability to display either a happy or a sad smiley on the LED grid is 50/50.
So far all the programmed text, numbers and images have been displayed on the LED matrix immediately after being loaded onto the Calliope mini. However, if you would prefer to have an event take place after a specific input, you need to use the one of the main blocks from the Input section. In this case we are using the "on button A pressed“ block. By using this block, the Calliope mini will wait until your chosen condition is met before anything is displaying.
## Step 1 @fullscreen
### Buttons
The Calliope mini has two input buttons: Button A (in red) and Button B (in blue). When one of the buttons is pressed, the circuit is completed.
By using the "on button A pressed“ block from Input, you can display your output as soon as button A has been pressed.
## Step 2 @fullscreen
### Shake
You can request the position and movement of the Calliope mini and run an action once a change of the values has been detected.
Use the "on shake“ block from the Input section. Add an "show string Hi!" block from the Basic section and change the content of the string.Your text will be displayed when you shake the Calliope mini. The gesture can be changed by using the dropdown menu to choose the condition.
## Step 3 @fullscreen
### Pins
The Calliope mini has five rounded corners: -, +, 0 , 1, 2, and 3. If you place one finger on the – corner and another finger on one of the numbered corners, a small electrical current will flow through your body and back to the Calliope mini, thus closing the electrical circuit.
Use the „on pin Pin0 pressed" block from Input. Use the "show string Hi!" block from the basic section.
Your text will be displayed when pin – and pin 0 are both pressed at the same time.
## Step 4 @fullscreen
### Various input
You can program the Calliope mini to respond to more than one input. There are two possible ways of doing this:
You can use indiviual events separated from each other with different actions to run after that condition is met.
Nevertheless, you can also use an "if" or "while" condition (from the Logic and Loops sections) and wait for your inputs to be met.
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.