Skip to content

Instantly share code, notes, and snippets.

Avatar

Michihiro Ikeda yukilabo

  • Chatwork Co., Ltd.
  • Hiroshima, Japan
View GitHub Profile
@yukilabo
yukilabo / privacypolicy.md
Created Feb 12, 2021
PrivacyPolicy 1.0.1(1)
View privacypolicy.md

Application privacy policy

About Usage Analysis

This application uses Firebase (Google Inc.) as a tool to collect usage data for reference in future development, and Firebase may automatically acquire user information. Please click on the Google Privacy Policy link below to learn more about the information we collect, how we use it, and how we provide it to third parties.

Google Privacy Policy https://policies.google.com/privacy?hl=ja

View privacypolicy.md

アプリケーションのプライバシーポリシー

このアプリケーションは、個人情報を収集したり公開しません。


Application privacy policy

This application does not collect or publish any personal information.

View SerialBT-SPP.ino
//This example code is in the Public Domain (or CC0 licensed, at your option.)
//By Evandro Copercini - 2018
//
//This example creates a bridge between Serial and Classical Bluetooth (SPP)
//and also demonstrate that SerialBT have the same functionalities of a normal Serial
#include "BluetoothSerial.h"
#include <M5StickC.h>
#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
View traffic_signal.ino
#define PIN_GREEN 0
#define PIN_YELLOW 4
#define PIN_RED 2
#define PIN_GND 1
void setup() {
// put your setup code here, to run once:
pinMode(PIN_GREEN, OUTPUT);
pinMode(PIN_GND, OUTPUT);
pinMode(PIN_YELLOW, OUTPUT);
View SampleFragment.java
public class SampleFragment extends Fragment {
/** Fragmentで保持しておくデータ */
private int mData;
/**
* Fragmentインスタンスを生成した返却.
*
* コンストラクタに引数を渡すのはダメ。
* Fragmentがメモリ不足で破棄され、そこから復帰する時に空のコンストラクタ呼ばれる。