wokwi / wokwi-cli

Wokwi Command Line Interface (for CI use cases)
MIT License
14 stars 5 forks source link

Ultrasonic Sensor not working correctly #4

Closed kontiko closed 9 months ago

kontiko commented 1 year ago

I editted the example from https://github.com/wokwi/platform-io-esp32-counter-ci/ to integrate a Ultrasonic sensor. When running in the online editor or the vs code extention it works fine, but when running it via the cli the sensor only returns its max value platform-io-esp32-counter-ci.zip

urish commented 12 months ago

Hi, took a look at the files you posted - is this your attempt to control the distance through the CI automation scanerio?

  - set-control:
      part-id: ultrasonic1
      control: distance
      value: 100