Michał Moskal
Michał Moskal
With the following program, I don't get desired rainbow display: ```typescript light.setLength(12) light.setAll(0xff0000) forever(function () { pause(500) light.showAnimation(light.rainbowAnimation, 500) }) ``` @pelikhan any chance you take a look at this?
CC @tannewt
still needs testing
The following crashes on hardware (and probably sim as well): ```typescript function bugTest() { let q = 0 function foo() { // const foo = () => { // fixes...
this would be quite useful in projects with many files and seems like an easy thing to do
hopefully fixes https://github.com/microsoft/pxt-arcade/issues/4889 codal change: https://github.com/lancaster-university/codal-samd/commit/0320025836c8994a3126f0d92cf79e8a91f50e61
This is raw, low-level API. To be tested and higher level ones to be built.
We need separate dal.d.ts for samd and stm, since PB01 is 33 on SAMD and 17 on STM. PB01 should be also 33 on NRF, so let's stick with the...
```typescript let str = "A very long string hey ho hey ho" game.onPaint(function () { screen.print(str.substr(6), 0, 0) }) ``` This prints `long stri` as the length in substr() defaults...