I have been trying to run the grove dust sensor, set it up properly and updated the framework version as well. Still, when I connect dust sensor to grovepi+(on port D2) and run the script provided, I get the following error:
AttributeError: module object has no attribute ‘dustSensorRead’
I assume, this is telling me that grovepi+ has no function for dustSensor. And what to do in this case?