From 25094d29c958cc79bd0613173677f24c89993859 Mon Sep 17 00:00:00 2001 From: pycommatthew <79310935+pycommatthew@users.noreply.github.com> Date: Fri, 26 Feb 2021 13:03:44 +0000 Subject: [PATCH] Add signal number to example send_signal (#379) --- content/pybytes/dashboard.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/pybytes/dashboard.md b/content/pybytes/dashboard.md index a2c8914..46dc0fb 100644 --- a/content/pybytes/dashboard.md +++ b/content/pybytes/dashboard.md @@ -22,7 +22,7 @@ In this section, we will explain how to create widgets for data visualisation an # Send data continuously to Pybytes while True: for i in range(0,20): - pybytes.send_signal(math.sin(i/10*math.pi)) + pybytes.send_signal(1, math.sin(i/10*math.pi)) print('sent signal {}'.format(i)) time.sleep(10) ```