Граф коммитов

20 Коммитов

Автор SHA1 Сообщение Дата
Juri Wolf 84ad86fd60
add ghost blocks for workbook tutorials (#294)
* add ghost blocks for workbook tutorials

* fix map 'radio' extension to 'funk'
2024-07-05 09:10:13 -07:00
Juri Wolf fea7b90745
V6 beta Upgrade (#226)
* V6 Upgrade

- upgrade to v6.0.17
- add rgbled blocks
- refactor motor blocks
- add codal
- add jacdac
- add board selection
- updates for new mini versions

* fix

- fix microphone files
- typo: mbdal -> minidal
- disable uf2

* fix pxt checkdocs

* remove block tests

- all motor blocks
- device_set_led_color
- melody_on_event and children
- core_rgb
- basic_show_compass
2023-09-05 15:27:13 -07:00
Juri Wolf ceeeaefdcf
Update default settings for mini 1 and mini 2 (#222)
* Align BLE settings across editors

* Align BLE and RAM with v5 settings

* update user settings

* Revert "update user settings"

This reverts commit ed0f017041.

* add grove pin class

* add pins to digital & analog

* fix grove pins

* fix commas

* update grove pins

* update codecards

* update codecard text

* Codecards update

* update starter templates

* Update neu.md

* Update calliope.md

* Update neu.md

* Update calliope.md

* Delete Calliope mini v1 no BLE templates, update template summary

This commit removes the Calliope mini v1 no BLE templates from the codebase. It also updates the template summary to reflect these changes. Additionally, it modifies the pxt.json file to disable Bluetooth and enable partial flashing mode for Bluetooth. Finally, it increases RAM size to 32 KB for Calliope mini 2.0 onwards.

* update template ble settings

* Update templates and template info

* update docs and user settings

* Align strings

* enums and docs

* Fix button events in tutorials, test and docs

Change Button and Pin blocks to use default value when the event type is "clicked"

closes https://github.com/microsoft/pxt-calliope/pull/221

* revert url in old templates to old url to prevent changes in curent release

---------

Co-authored-by: Jørn Alraun <ja@urbn-pockets.com>
2023-06-27 20:26:39 -07:00
Juri Wolf 77ed2ccfb1
V4 updates (#210)
* update pxt.json files

* Fix button event enums

fixes https://github.com/microsoft/pxt-calliope/issues/206

* Fix Safari CSS Rule for iOS app

fixes https://github.com/microsoft/pxt-calliope/issues/205

* aprove preffered repos

should fix https://github.com/microsoft/pxt-calliope/issues/167
2023-01-11 09:51:27 -08:00
Juri Wolf a93febb5b7
Map and clean deprecated functions (#175)
* add image and deprecated arrow functions

* update locales

* map basic.showArrow

* map arrow blocks

* map & remove arrow images

* remove arrow blocks

* update locales

* remove & patch:
rgbw -> rgb
button/pin pressed -> button/pin event
loudness -> soundLevel

* update ts mappings for arrows

* add wip ts patch rules

* update .blocks files

* use Click instead of Down as default in Documentation and tests

* patch test.blocks

* fix lowercase name tag

* update test.blocks

* update blocks test files

* update blocks test files

* format block files

* pass blocks file tests

* fix ts mapping

* fix color.defl value

closes https://github.com/microsoft/pxt-calliope/issues/136

* fix ts mappings

- add optional spacing at the end of rgbw()
- map up to v4.0.19

* add suggested changes

* replace innerText by textContent

Co-authored-by: JW <gitkraken@juriwolf.de>
Co-authored-by: Juri <info@juriwolf.de>
2022-04-26 10:28:42 -07:00
Amerlander 79517f8a30
Fix Sound (#114)
* change simulator svg

* change radio image

* Remove google fonts cdn

* change color of 'advanced' button

* font fix

* font fix 2

* display fix

* change fullsceen simulator bg

* Continuous servo

* handle continuous state

* adding shims

* update rendering for continuous servos

* fixing sim

* fix sig

* typo

* fix sim

* bump pxt

* bump pxt

* rerun travis

* Input blocks revision

- add Button and Pin event types
- merge onPinPressed & onPinReleased in new onPinEvent function
- create new onButtonEvent function

* update input blocks in docs and tests

* remove device_pin_release block

* Hide DAL.x behind Enum

* bring back deprecated blocks, but hide them

* shims and locales files

* fix input.input. typing

* remove buildpr

* bump V3

* update simulator aspect ratio

* add Loudness Block

* revoke loudness block

* Adds soundLevel

To be replaced by pxt-common-packages when DAL is updated.

* Remove P0 & P3 from AnalogPin

* Fix Sound and replace AnalogPin.P0

Co-authored-by: Juri <gitkraken@juriwolf.de>
2020-09-10 00:24:06 -07:00
Amerlander 5c114a0c57 2.1.28, initiation update to PXT v5.28.24 (#54) 2019-12-01 20:58:26 -08:00
Matthias L. Jugel 213c52dd00 surface repeated start functionality in i2c 2017-04-03 18:44:25 +02:00
Peli de Halleux ceeb366be5 removing outdated tests 2016-11-10 13:14:19 -08:00
Peli de Halleux 94e72784b9 merging microbit changes 2016-11-01 08:35:45 -07:00
Peli de Halleux c6ce36065e added blocks / TouchDevelop .hex files 2016-10-25 06:42:20 -07:00
Peli de Halleux 2e3cdee2a2 added deprecated radio api test 2016-10-24 16:34:33 -07:00
Peli de Halleux cf778686c3 Merging microbit/master 2016-10-24 10:27:48 -07:00
David Whale 2f11d603e7 Added a range of original TouchDevelop scripts converted to .ts for tests (#283) 2016-10-22 21:32:57 -07:00
Peli de Halleux d48404eb37 integrated pxt-microbit 2016-10-11 09:08:31 -07:00
Sam El-Husseini 277d5a721c rename "microbit" package to "core" #414 (#270)
* rename "microbit" package to "core" #414

* shouldn't edit the package id.

* updating package.json

* updated the wrong version

* missed updating pxt.json of tests
2016-10-10 16:21:50 -07:00
Peli de Halleux df14445320 updated travis file 2016-10-10 13:34:24 -07:00
Michal Moskal 6fd14e718d Use the new pxtc namespace 2016-08-26 15:19:04 +02:00
Michal Moskal a5d5836ea2 Add some tests converted from TD 2016-07-22 15:18:38 +01:00
Michal Moskal 43e4d06fd9 Add tests (for pxt testdir) 2016-07-21 16:08:22 +01:00