How to Solve NameError: name 'ds18x20' is not defined

Solution: Import the 'ds18x20' module

To Solve the error, add the following line to the top of your code.

import  ds18x20

 

For more information:
Python ds18x20