File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,11 +42,14 @@ config :circuits_sim,
4242 {CircuitsSim .Device .ADS7138 , bus_name: " i2c-1" , address: 0x10 },
4343 {CircuitsSim .Device .MCP23008 , bus_name: " i2c-1" , address: 0x20 },
4444 {CircuitsSim .Device .MCP23008 , bus_name: " i2c-1" , address: 0x21 },
45- {CircuitsSim .Device .TM1620 , bus_name: " spidev0.0" , render: :binary_clock }
45+ {CircuitsSim .Device .TM1620 , bus_name: " spidev0.0" , render: :binary_clock },
46+ {CircuitsSim .Device .GPIOLED , gpio_spec: 10 },
47+ {CircuitsSim .Device .GPIOButton , gpio_spec: 11 }
4648 ]
4749```
4850
49- This shows two simulated I2C buses, ` "i2c-0" ` and ` "i2c-1" ` , and one SPI bus.
51+ This shows two simulated I2C buses, ` "i2c-0" ` and ` "i2c-1" ` , one SPI bus,
52+ and two GPIO.
5053The ` "i2c-0" ` bus has two devices, an MCP23008 GPIO expander and an AT24C02
5154EEPROM.
5255
You can’t perform that action at this time.
0 commit comments