Mbedユーザー(バーチャル)ミートアップイベント「mbed祭り 2020@秋のオンライン」が、2020年11月28日(土)にYoutube Liveで行われました。
Twitterでは #mbed_fest ハッシュタグ付きのつぶやきが、多数ありました。ありがとうございます。Twitterのまとめは、こちらです。
https://togetter.com/li/1629205
イベント当日の模様は、YouTubeライブ配信されました。動画はこちらからご覧になれます。
/* WiFi Example | |
* Copyright (c) 2016 ARM Limited | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
Mbedユーザー(バーチャル)ミートアップイベント「mbed祭り 2020@秋のオンライン」が、2020年11月28日(土)にYoutube Liveで行われました。
Twitterでは #mbed_fest ハッシュタグ付きのつぶやきが、多数ありました。ありがとうございます。Twitterのまとめは、こちらです。
https://togetter.com/li/1629205
イベント当日の模様は、YouTubeライブ配信されました。動画はこちらからご覧になれます。
https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork
https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/merging-an-upstream-repository-into-your-fork
https://os.mbed.com/docs/mbed-os/v6.1/contributing/index.html
$ git clone https://github.com/username/mbed-os
$ cd mbed-os
You can see the build step here: https://github.com/ARMmbed/DAPLink/blob/master/docs/DEVELOPERS-GUIDE.md
Create GitHub repo
https://github.com/toyowata/test_00
Create local repo
$ git init test_00
$ cd test_00
{ | |
"requires": ["bare-metal"], | |
"target_overrides": { | |
"LPC11U68" : { | |
"target.device_has_add" : ["USTICKER"], | |
"target.tickless-from-us-ticker" : true, | |
"target.boot-stack-size" :"0x400" | |
} | |
} | |
} |
// ---------------------------------------------------------------------------- | |
// Copyright 2016-2018 ARM Ltd. | |
// | |
// SPDX-License-Identifier: Apache-2.0 | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 |
let last_value = 0 | |
let 傾き = 0 | |
let rainbow: neopixel.Strip = null | |
rainbow = neopixel.create(DigitalPin.P0, 30, NeoPixelMode.RGB) | |
rainbow.showRainbow(1, 360) | |
last_value = 0 | |
basic.forever(() => { | |
傾き = input.rotation(Rotation.Pitch) | |
if (last_value != 傾き) { | |
rainbow.rotate(傾き) |