Skip to content

Instantly share code, notes, and snippets.

View yukilabo's full-sized avatar

Michihiro Ikeda yukilabo

  • Chatwork Co., Ltd.
  • Hiroshima, Japan
View GitHub Profile
@yukilabo
yukilabo / 24ele_yagi.maa
Created May 1, 2022 09:26
24 element yagi antenna MMANA definition
24eleYAGI
*
1294.1
***Wires***
24
0.0, 0.0, -0.0544, 0.0, 0.0, 0.0544, 0.001, 0
-0.0642, 0.0, -0.0559, -0.0642, 0.0, 0.0559, 0.001, 0
0.0373, 0.0, -0.0518, 0.0373, 0.0, 0.0518, 0.001, 0
0.1023, 0.0, -0.05055, 0.1023, 0.0, 0.05055, 0.001, 0
0.1801, 0.0, -0.04955, 0.1801, 0.0, 0.04955, 0.001, 0
@yukilabo
yukilabo / DitDahKeyer.ino
Created September 12, 2021 16:06
DitDahChat用キーヤー
#include "DigiKeyboard.h"
// 短点は2番ピン、長点は0番ピンに接続する
#define DASH_PIN 0
#define LED_PIN 1
#define DOT_PIN 2
// 値を小さくすると速くなる
#define DOT_LEN 100
@yukilabo
yukilabo / privacypolicy.md
Created February 12, 2021 05:55
PrivacyPolicy 1.0.1(1)

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

@yukilabo
yukilabo / privacypolicy.md
Last active February 9, 2021 16:39
Privacy Policy

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

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


Application privacy policy

This application does not collect or publish any personal information.

//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)
@yukilabo
yukilabo / traffic_signal.ino
Created January 2, 2021 06:07
traffic_signal
#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);
public class SampleFragment extends Fragment {
/** Fragmentで保持しておくデータ */
private int mData;
/**
* Fragmentインスタンスを生成した返却.
*
* コンストラクタに引数すのはダメ
* Fragmentがメモリ不足破棄されそこから復帰するのコンストラクタばれる