・GR-PEACHへのmrubyインストール   https://github.com/mimaki/momo-mruby-bin    ・adt7410.rb class ADT7410 include Plato def initialize @i2c = I2C.open(0x48) end def read t = @i2c.read(0x00, 2) t = (t[0] << 8 | t[1]) >> 3 t -= 8192 if t >= 0x1000 return t / 16.0 end end ・温度センサーコンパイルコマンド  Windows    c:\momo>mrbc -o autorun.mrb adt7410.rb  Mac    $ ./mrbc -o autorun.mrb adt7410.rb     ・温度センサーコマンド    > adt = ADT7410.new => # adt.read => 27.8125 > adt.read => 28 >