Search documentation of bb

# BB.Sim.Controller (bb v0.17.0)

Copy Markdown View Source

Mock controller for simulation mode.

Used when a controller is configured with `simulation: :mock`. Accepts all commands but does nothing with them. Useful when actuators need to call controllers for state queries but no hardware is present.

## Example

    controllers do
      controller :pca9685, {BB.Servo.PCA9685.Controller, bus: "i2c-1"},
        simulation: :mock
    end