Skip to content

Commit

Permalink
Update pca9535 chip
Browse files Browse the repository at this point in the history
  • Loading branch information
martinberlin committed Jun 25, 2024
1 parent 7b4fd92 commit b5e8efa
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 4 deletions.
33 changes: 33 additions & 0 deletions wokwi/chips/pca9535.chip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "pca9535",
"author": "martinberlin",
"pins": [
"nINT",
"A1",
"A2",
"P00",
"P01",
"P02",
"P03",
"P04",
"P05",
"P06",
"P07",
"GND",

"P10",
"P11",
"P12",
"P13",
"P14",
"P15",
"P16",
"P17",
"A0",
"SCL",
"SDA",
"VCC"

],
"controls": []
}
Binary file added wokwi/chips/pca9535.wasm
Binary file not shown.
5 changes: 1 addition & 4 deletions wokwi/diagram.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,5 @@
[ "chip1:A0", "gnd6:GND", "black", [ "h0" ] ],
[ "chip1:A1", "gnd7:GND", "black", [ "h-9.6", "v48" ] ],
[ "chip1:A2", "gnd7:GND", "black", [ "h-9.6", "v28.8" ] ]
],
"dependencies": {
"chip-pca9535": "github:martinberlin/[email protected]"
}
]
}
4 changes: 4 additions & 0 deletions wokwi/wokwi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
version = 1
firmware = '../examples/dragon/build/dragon_example.bin'
elf = '../examples/dragon/build/dragon_example.elf'

[[chip]]
name = 'chip-pca9535'
binary = 'chips/pca9535.wasm'

0 comments on commit b5e8efa

Please sign in to comment.