Serial console


#1

Hi,

I would like to build a simple project to print in a serial console the value from the ultrasonic sensor.
I’ve created a variable, and i put the value of the ultrasonic in this variable, then i use th ebloc to print in the console.

But the variable in the upper left corner stay to 0

Is it something to do to see the serial value ?


#2

Hi karlzre,
Could you please offer me your testing video or screen shot?
Do you use mBlock 3 or mBlock 5?
Before we do live mode, we need to do update online firmware. What is your robot kit?


#3

Hi,

I’m using Mblock5 with Arduino UNO.
I’m trying to get the distance value .


#4

You can involve “upload mode broadcast” under extension, here is a reference post.


#5

i can’ find that opion with arduino


#6

Please check if you have latest mBlock 5.
Or you can try web version:
https://ide.mblock.cc/#/