Release 2017.11.15

Add new function on「B2CS」library

A new function “ReadOnce” was added to the chattering avoidance library “B2CS”. I think it makes you easy to judge a push.

「B2CS」library for Arduino

Release 2017.10.22 / Update 2018.9.25

Using rotary encoder part 3 : “Dual Encoder”

I have been struggled in part 1 and part 2 to read rotary encoder precisely. In this article, I wrote a new sketch for encoder combining those two wisdom.

I called it “Dual Encoder”. Continue reading Using rotary encoder part 3 : “Dual Encoder”

Release 2017.6.26 / Update 2018.4.30

「B2CS」Arduino用自作ライブラリプログラミングでチャタリング回避

“ゲージ判定”を使ったチャタリング回避ライブラリを作ってみました。Arduino用です。 Continue reading 「B2CS」Arduino用自作ライブラリプログラミングでチャタリング回避

Release 2017.5.20 / Update 2017.6.19

TIPS for finding bugs

You may unforcely fail to right code sometimes when you modify it. If the sketch isn’t long, it doesn’t matter. But the more big project makes it more difficult to find the bug.

On this article, I show you how I find it. These are TIPS for finding bugs when compile is OK.

Continue reading TIPS for finding bugs

Release 2017.4.30 / Update 2017.6.18

if you failed to compile the “SKETCH” 2 Include the Library

There are differences in ‘#inlucde’ notation when using libraries in Arduino IDE. Continue reading if you failed to compile the “SKETCH” 2 Include the Library

Release 2017.4.20 / Update 2017.10.22

Using rotary encoder part 2 : High-Res with “non-click”

Previously, I wrote about efficient Sketch how to use click type Rotary encoder. But, it wasn’t for non-click type encoder.

So I will try write new Sketch for it, and more, it makes worth to High-Resolution. No need extra electronic parts, just a Sketch. Continue reading Using rotary encoder part 2 : High-Res with “non-click”

Release 2017.2.15 / Update 2017.5.27

if you failed to compile the “SKETCH” 1 Function order

Since it occurs irregularly, I could not understand the cause, but there are some case that it can not be compiled with “correct syntax” on Arduino IDE. The reason why I can tell it is not wrong is because “sketches that were being compiled ordinary, before”.

It occurs when sketching to organize functions by making tabs, or copying functions from other sketches for progressing one.

Continue reading if you failed to compile the “SKETCH” 1 Function order

Release 2016.12.17 / Update 2017.10.22

Using rotary encoder part 1 : attachInterrupt

If you want to control the value step by step with Arduino, it is a quick way to ‘analogRead’ using a variable resistor. 、But, Continue reading Using rotary encoder part 1 : attachInterrupt

Release 2016.12.1 / Update 2017.6.26

Chattering avoidance by programming : part 2

I wrote a article about  using MIDI by ‘Software Serial’. In this article, I also mentioned to how to ‘avoiding switches chatter’. This is new version of the method in old article. But for someone who never interested in MIDI, I write this method in this article again. Continue reading Chattering avoidance by programming : part 2