Skip to content

Commit f5c6adc

Browse files
Merge pull request #5 from microbit-foundation/license-updates
Update license details
2 parents a85c1e3 + ffc938d commit f5c6adc

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ power.wakeEvery(60000, function () {
5757
```
5858

5959
## License
60+
This software made available under the MIT open source license.
6061

61-
[MIT](/LICENSE)
62+
[SPDX-License-Identifier: MIT](/LICENSE)
6263

6364
## Code of Conduct
6465

power.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* (c) 2021, Micro:bit Educational Foundation and contributors
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
#include "pxt.h"
28

39
#if MICROBIT_CODAL

power.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* (c) 2021, Micro:bit Educational Foundation and contributors
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
const enum PowerWakeup {
28
A = 1, // MICROBIT_ID_BUTTON_A
39
B = 2, // MICROBIT_ID_BUTTON_B

test.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
function flash (x: number) {
1+
/**
2+
* (c) 2021, Micro:bit Educational Foundation and contributors
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
7+
function flash(x: number) {
28
power.powerDownEnable(PowerDown.prevent)
39
led.plot(x, 0)
410
basic.pause(1000)

0 commit comments

Comments
 (0)