How to connect Physical Push Buttons to IchigoJam and web
The physical push button is easy to user for everyone!
Let's connect and use on your IchigoJam.
It's very easy that you can connect 1 push button via 2 wires (GND-IN1).
IN1,IN2,IN4 of IchigoJam are pull-uped port, so you can directly connect the wire.
IN3 and OUT1-6 are not pull-uped, so you have to pull-up using about the 10kΩ register each.
This system is for the Sabae Bus.
In this April, bus drivers will manipulate this!
"Bus Realtime OPENDATA System Project with Corprate Fellowship (Code for Japan) at Sabae"
10 FOR I=1 TO 5:OUT I,-1:NEXT 20 C=IN()&`11111011:A=~C&B:B=C 40 ?A 50 GOTO 20
This code is to get timings of pressing.
Let's connect physical to web!