This is PCA9538 implimentation for Wokwi simulator. Feel free to use it in your projects.
Add pca9538.chip.c
& pca9538.chip.json
files into your project, then put this JSON code in your diagram.json
.
"parts": [
{
"type": "chip-pca9538",
"id": "pca9538_1",
"top": 0,
"left": 0,
"attrs": {}
}
]
You can test it in my showcase project https://wokwi.com/projects/381564992805272577.