Skip to content

Instantly share code, notes, and snippets.

@ak1211
ak1211 / IRrecvDumpV3.ino
Created September 17, 2023 12:22
IR recv Dump for ATOM Lite with IR emitter & receiver unit
/*
* IRremoteESP8266: IRrecvDumpV3 - dump details of IR codes with IRrecv
* An IR detector/demodulator must be connected to the input kRecvPin.
*
* Copyright 2009 Ken Shirriff, http://arcfn.com
* Copyright 2017-2019 David Conran
*
* Example circuit diagram:
* https://github.com/crankyoldgit/IRremoteESP8266/wiki#ir-receiving
*
/*
* i2c_lcd.h
*
* Created on: 2021/11/22
* Author: Akihiro Yamamoto
*
* Copyright 2021 Akihiro Yamamoto
* Licensed under the Apache License, Version 2.0
*
*/
/*
* i2c_lcd.c
*
* Created on: 2021/11/22
* Author: Akihiro Yamamoto
*
* Copyright 2021 Akihiro Yamamoto
* Licensed under the Apache License, Version 2.0
*
*/
@ak1211
ak1211 / main.py
Created July 8, 2021 07:11
ak1211 / MyFirstApplication 用赤外線リモコン信号取得と送信用 circuit python プログラム
# https://ak1211.com/7707 (main.py)
# Copyright 2021 Akihiro Yamamoto
# Licensed under the Apache License, Version 2.0
from digitalio import DigitalInOut, Direction
import board
import pulseio
import supervisor
import sys
import time
import array
@ak1211
ak1211 / main.py
Last active June 16, 2020 04:16
赤外線リモコン信号取得と送信用 circuit python プログラム
# https://ak1211.com/7586 (main.py)
# Copyright 2020 Akihiro Yamamoto
# Licensed under the Apache License, Version 2.0
from digitalio import DigitalInOut, Direction
import array
import board
import pulseio
import supervisor
import sys
import time
@ak1211
ak1211 / main.py
Last active June 16, 2020 04:05
赤外線リモコン信号取得用 circuit python プログラム
# https://ak1211.com/7586 (main.py)
# Copyright 2020 Akihiro Yamamoto
# Licensed under the Apache License, Version 2.0
import time
import board
import pulseio
from digitalio import DigitalInOut, Direction
# IRM
pulses = pulseio.PulseIn(board.D0, maxlen=2000, idle_state=True)
@ak1211
ak1211 / potic-solver.js
Created April 20, 2020 15:28
電子ボリュームの減衰値を計算するJavaScript
//
// 電子ボリュームの減衰値を計算するJavaScript
// http://ak1211.com
// Copyright (c) 2018 Akihiro Yamamoto
//
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
@ak1211
ak1211 / irsend.c
Created January 2, 2020 07:25
irsend プログラム(C言語とpigpioデーモンライブラリ)
/*
irremocon <https://github.com/ak1211/irremocon>
Copyright 2019 Akihiro Yamamoto
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
@ak1211
ak1211 / irrec2.c
Created January 2, 2020 07:24
irrec プログラム(C言語とpigpioデーモンライブラリ)
/*
irremocon <https://github.com/ak1211/irremocon>
Copyright 2019 Akihiro Yamamoto
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
@ak1211
ak1211 / irrec1.c
Created January 2, 2020 07:23
irrec プログラム(C言語とpigpioライブラリ)
/*
irremocon <https://github.com/ak1211/irremocon>
Copyright 2019 Akihiro Yamamoto
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