File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,14 @@ config :circuits_sim,
42
42
{CircuitsSim .Device .ADS7138 , bus_name: " i2c-1" , address: 0x10 },
43
43
{CircuitsSim .Device .MCP23008 , bus_name: " i2c-1" , address: 0x20 },
44
44
{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 }
46
48
]
47
49
```
48
50
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.
50
53
The ` "i2c-0" ` bus has two devices, an MCP23008 GPIO expander and an AT24C02
51
54
EEPROM.
52
55
You can’t perform that action at this time.
0 commit comments