Enjoy programming more!
Kidspod is a post site which supports young programmers.
First step to join us.
Register as a member
For members

2016/05/22 21:27:14

MixJuice GET URL : kidspod.club/mj/77

電池チェッカ

IN2とGNDに電池をつなぐと電圧が表示されます
最大3.3V ですので注意。

  • No registered tag exist.

SOURCE CODE

1 'テ゛ンチ チェッカ GND,IN2ニテ゛ンチヲツナク゛
10 A=ANA(2):B=A%310:C=B%31:IFC=30 C=29
20 LC0,21:?A/310;".";B/31;C/3;"V ":WAIT30:GOTO10

COMMENT