Commit 38acc75c authored by Frank Heuer's avatar Frank Heuer

Update README.md

parent 4aeecd66
......@@ -17,12 +17,12 @@ GNU General Public License for more details.
Basic usage (example):
import time
from sds011 import SDS011
import time
from sds011 import SDS011
sensor = SDS011("COM3") # Windows
or
sensor = SDS011("/dev/ttyAMA0")
sensor = SDS011("COM3") # Windows
or
sensor = SDS011("/dev/ttyAMA0")
print(reader.device_id)
sensor.reportmode == sensor.ReportModes.Passiv
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment