module Dino
  module Components
    class Led < BaseComponent
      def initialize(options={})
        super(options)

        set_pin_mode(:out)
        digital_write(Board::LOW)
      end

      def on
        digital_write(Board::HIGH)
      end

      def off
        digital_write(Board::LOW)
      end
    end
  end
end

module Dino
  module Components
    class Led < BaseComponent
      def initialize(options={})
        super(options)

        set_pin_mode(:out)
        off
      end

      def on
        digital_write(Board::HIGH)
      end

      def off
        digital_write(Board::LOW)
      end
    end
  end
end

Use the `off` method to set LED initial state to `off`.
Use the `off` method to set LED initial state to `off`.
