wokwi-resistor Reference
A resistor.
warning
Wokwi only has a very basic analog circuit simulation. You won't be able to use resistors together with analog components (e.g. potentiometer or NTC temperature sensor). You can still use the resistors as external pull-up/pull-down resistors.
Pin names
Pin | Description |
---|---|
1 | First pin |
2 | Second pin |
Attributes
Name | Description | Default value |
---|---|---|
value | Resistance, in ohms | "1000" |
Examples
Result | Attrs |
---|---|
{ "value": "1" } | |
{ "value": "220" } | |
{ "value": "10000000" } |
Check out the resistor showcase by Koepel for more examples.
Simulator examples
- External pull-down resistor - How to use a resistor as a pull-down for a button