wokwi / wokwi-elements

Web Components for Electronics and IoT Parts
https://elements.wokwi.com/
MIT License
185 stars 50 forks source link

Add 3 digits variant to 7segment-element #131

Closed DurandA closed 2 years ago

DurandA commented 2 years ago

As discussed in https://github.com/wokwi/wokwi-features/issues/383, this adds a 3 digits variant to the 7segment part.

I was not able to identify a model that was more popular to others, but most Chinese manufacturers seems to use the same pinout (see LCSC datasheets).

Finally, pin 6 is not connected. I am not sure what is the convention for Wokwi in this case.

urish commented 2 years ago

Thanks! Your change is now in production :)

Finally, pin 6 is not connected. I am not sure what is the convention for Wokwi in this case.

Most often, we just add this pin and call it "NC", "NC2", etc. (usually this is how the pins are denoted in the pinout, and we try to keep the names consistent in the pinout). But omitting the pin (like you did) also makes sense to me - no strong opinion which way is better.