diff --git a/config.toml b/config.toml index 6cbb769..c6cbf22 100644 --- a/config.toml +++ b/config.toml @@ -1173,6 +1173,13 @@ theme = "doc-theme" parent = "pybytes" weight = 10 +[[menu.main]] + name = "Visualise data" + url = "/pybytes/dashboard/" + identifier = "pybytes@dashboard" + parent = "pybytes" + weight = 15 + [[menu.main]] name = "Pybytes library API" url = "/pybytes/api/" @@ -1446,13 +1453,6 @@ theme = "doc-theme" parent = "pybytes@networks@lora" weight = 20 -[[menu.main]] - name = "Visualise data" - url = "/pybytes/dashboard/" - identifier = "pybytes@dashboard" - parent = "pybytes" - weight = 70 - [[menu.main]] name = "Integrations" url = "/pybytes/integrations/" diff --git a/content/pybytes/dashboard.md b/content/pybytes/dashboard.md index ff5c099..a2c8914 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*math.pi)) + pybytes.send_signal(math.sin(i/10*math.pi)) print('sent signal {}'.format(i)) time.sleep(10) ``` diff --git a/content/pybytes/gettingstarted.md b/content/pybytes/gettingstarted.md index a8df3ae..f5d79bc 100644 --- a/content/pybytes/gettingstarted.md +++ b/content/pybytes/gettingstarted.md @@ -63,7 +63,7 @@ After creation, you will land on the provisioning page. This is where we 'inform You can continue to [display data from your device into the Pybytes dashboard](/pybytes/dashboard/) ## Final remarks -If you wish to disable Pybytes, you can use `pycom.pybytes_on_boot(False)` will permanently. It is also possible to start Pybytes in a later stage (not on boot) by importing the module: +If you wish to disable Pybytes, you can use `pycom.pybytes_on_boot(False)`. It is also possible to start Pybytes in a later stage (not on boot) by importing the module: ```python from _pybytes import Pybytes pybytes = Pybytes