# `BB.Sim.Controller`
[🔗](https://github.com/beam-bots/bb/blob/main/lib/bb/sim/controller.ex#L5)

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
