Sha256: e8db7f9ce6f5c0e937b8928aa2fead30ad5a31b6cbb735ebd5b26cf486a8692a

Contents?: true

Size: 396 Bytes

Versions: 2

Compression:

Stored size: 396 Bytes

Contents

require_relative "../spec_helper"

feature "Digital screw terminals" do
  scenario "input" do
    dio1_should_be 1
    dio2_should_be 0
  end

  scenario "output" do
    write_dio0 1
    dio3_should_be 1

    write_dio0 0
    dio3_should_be 0

    write_dio0 0
    analog_input_2_should_be_about 0.0

    write_dio0 1
    analog_input_2_should_be_greater_than 0.0
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
minilab-2.0.1-x86-mingw32 spec/acceptance/digital_screw_terminal_spec.rb
minilab-2.0.0-x86-mingw32 spec/acceptance/digital_screw_terminal_spec.rb