File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77Interact with simulated I2C devices
88
9- NOTE: This project is an active development. Expect big API changes as we use it.
10-
119## Using
1210
13- CircuitsSim requires Elixir Circuits 2.0 libraries. Currently, this requires the
14- following in your ` mix.exs ` :
15-
16- ``` elixir
17- defp deps () do
18- [
19- {:circuits_i2c , " ~> 2.0" },
20- {:circuits_spi , " ~> 2.0" },
21- {:circuits_gpio , " ~> 2.0" }
22- ]
23- end
24- ```
11+ CircuitsSim requires Elixir Circuits 2.0 libraries.
2512
2613You may need to add ` override: true ` since not many libraries have been updated
27- to allow Circuits 2.0 versions. The update is generally compatible, so this is
28- safe.
14+ to allow Circuits 2.0 versions. Circuits 2.0 is mostly backwards compatible, so
15+ this should be safe.
2916
3017CircuitsSim works by providing an alternative backend for interacting with
3118hardware. This is setup via ` config/config.exs ` . In your project, you may only
You can’t perform that action at this time.
0 commit comments