Skip to content

Commit ddae7ff

Browse files
committed
update NTC readme
1 parent d03cf0b commit ddae7ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎sensor/NTC/README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ NTC thermistor Sensor
1111
```python
1212
from machine import ADC, Pin
1313

14-
14+
ADC_TEMP = ADC(Pin(34))
15+
T = NTC(ADC_TEMP.read())
1516
```
1617

1718
From microbit/micropython Chinese community.

0 commit comments

Comments
 (0)