summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-04-18 10:55:53 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-04-18 10:55:53 +0200
commit333a89deed9a0f119853400d28f17f6796c8a4ee (patch)
tree66c4758d34e9afc19bb9dc43f2bbc0d42624a8d1
parent30a87091a706e685dc88cba0d817d907bf6f52a9 (diff)
typo
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5dcde07..d32cff9 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@ sds011 = require("sds011")
port = softuart.setup(9600, 2, 1)
port:on("data", 10, uart_callback)
-function uart_callback(data
+function uart_callback(data)
local pm25i, pm25d, pm10i, pm10d = sds011.parse_frame(data)
if pm25i ~= nil then
-- pm25i/pm10i contain the integer part (i.e., PM2.5 / PM10 value in µg/m³)