Powered by Blogger.

Friday, December 2, 2016

Tag: ,

Lesson 13: Playground-Debug Block

Screenshot_5
pixel

Debug block in a another frequently used node in magicblocks. As name implies it is very useful for debugging and viewing data as similar to the serial terminal or arduino. Data can be viewed on debug window. There can be any number of debug blocks on the playground and each block can be turned on or off as shown in the figure.

Debug Window

Screenshot_1
pixel[1]
Debug window is a one tab of the side bar. It can be opened as shown in above figures.
Screenshot_2
Default settings works well in most cases.

Example 1

Screenshot_3
This example shows timestamp in every 1 seconds on debug window

Example 2

Screenshot_4
This example shows reading analog data in every 1 seconds and display on debug window

Example 3

Screenshot_6

This example shows data from the MagicShield or mobile phone, display on the debug window. Refer the MagicShield here on more information about connecting your Arduino to the cloud.