From 53f2cd4b94164ab617b083e916a38a1f5a291196 Mon Sep 17 00:00:00 2001 From: Matthew Date: Fri, 26 Feb 2021 12:53:04 +0000 Subject: [PATCH] Added signal number to example send_signal --- 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 a2c89141..46dc0fb1 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) ```