This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// digit 6行16桁7セグメントLCDを試す。 | |
// 2016/04/16 | |
// edy | |
// | |
// 上から4行目(CS3)のアドレス変換 | |
const int addrCS3[] = {8, 9, 6, 7, 4, 5, 2, 3, 0, 1, 10, 11, 12, 13, 14, 15, | |
16, 17, 18, 19, 20, 21, 30, 31, 28, 29, 26, 27, 24, 25, 22, 23 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// digit 6行16桁7セグメントLCDを試す。 | |
// セグメント調査用 | |
// 2016/04/22 | |
// edy | |
// | |
//参考にしたサイト | |
//http://forum.arduino.cc/index.php?topic=100429.msg753262#msg753262 | |
String readString, row, addr, data; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RTC-8564をつないでみる。 | |
// 2016/04/29:edy | |
// 2016/04/30:detachInterrupt を使う。 | |
// 2016/05/01:変数名の変更、RTCとのやり取りはBCDで行うが、内部ではDECIMAL | |
// 参考にしたサイト | |
//http://baticadila.dip.jp/arduino_104.html | |
//http://iizukakuromaguro.sakura.ne.jp/365_rtc8564/365_rtc8564.html | |
//http://edu.clipper.co.jp/pg-2-47.html | |
//http://genine.web.fc2.com/contents/arduino_memo.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// RTC-8564をつないでみる。 | |
// 2016/04/29:edy | |
// 2016/04/30:detachInterrupt を使う。 | |
// 2016/05/01:変数名の変更、RTCとのやり取りはBCDで行うが、内部ではDECIMAL | |
// 2016/05/07:初期電源投入時の問題を回避 | |
//参考にしたサイト | |
// | |
//Arduinoで実験 (RTCモジュール) | |
//http://baticadila.dip.jp/arduino_104.html | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// RTC-8564をつないでみる。 | |
// 2016/04/29:edy | |
// 2016/04/30:detachInterrupt を使う。 | |
// 2016/05/01:変数名の変更、RTCとのやり取りはBCDで行うが、内部ではDECIMAL | |
// 2016/05/07:初期電源投入時の問題を回避 | |
// 2016/05/08:デジット6行16桁7セグメントLCDとつなぐ | |
// | |
//参考にしたサイト | |
// | |
//Arduinoで実験 (RTCモジュール) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//ロータリーエンコーダを試す | |
// 2016/06/04 edy | |
// | |
//How to use a quadrature encoder | |
//http://www.robotshop.com/media/files/PDF/tutorial-how-to-use-a-quadrature-encoder-rs011a.pdf | |
#include <LiquidCrystal.h> | |
// 接続ピンをして指定してライブラリを初期化 | |
//LiquidCrystal(rs, enable, d4, d5, d6, d7) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//ロータリーエンコーダを試す(2) | |
// 2016/06/04 edy | |
// 2016/06/05 EX-ORを使わない | |
// | |
//How to use a quadrature encoder | |
//http://www.robotshop.com/media/files/PDF/tutorial-how-to-use-a-quadrature-encoder-rs011a.pdf | |
#include <LiquidCrystal.h> | |
// 接続ピンをして指定してライブラリを初期化 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
小型I2C接続 128x64 OLED ディスプレイの動作確認 | |
2016/07/23 edy | |
このスケッチはu8glibのサンプルをカスタマイズしたものです。 | |
Universal 8bit Graphics Library | |
https://github.com/olikraus/u8glib | |
*/ | |
#include "U8glib.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
小型I2C接続 128x64 OLED ディスプレイの動作確認 | |
2016/07/23 edy | |
このスケッチはu8glibのサンプルをカスタマイズしたものです。 | |
Universal 8bit Graphics Library | |
htempps://github.com/olikraus/u8glib | |
2016/07/26 ADT7410を接続、スケッチは「wsnakのブログ」を参考にした。 | |
htempp://www.wsnak.com/wsnakblog/?p=409 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
小型I2C接続 128x64 OLED ディスプレイの動作確認 | |
2016/07/23 edy | |
このスケッチはu8glibのサンプルをカスタマイズしたものです。 | |
Universal 8bit Graphics Library | |
https://github.com/olikraus/u8glib | |
2016/07/26 ADT7410を接続、スケッチは「wsnakのブログ」を参考にした。 | |
http://www.wsnak.com/wsnakblog/?p=409 |
OlderNewer