0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

PCF8574でLCD

0
Last updated at Posted at 2026-11-20

classを作ってみました。

mruby on YABMで使えるように書きましたが、FreeBSDのmrubyでも使えるので試してみます。

# Add YABM method
class BsdIic
  def msleep n
    usleep n * 1000
  end
end

t = BsdIic.new(0)

lcd = I2CPCFLCD.new(t)

lcd.print "MORIMORI"

写真(2026-11-20 16.11).jpg

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?