In mBlock 5
gives c code
void setup(){
pinMode(A7,INPUT);
while(!((null^(analogRead(A7)>10?0:1)))){}
In mblock 3 it compiles as in the last line null is a 0
void setup(){
pinMode(A7,INPUT);
while(!((0^(analogRead(A7)>10?0:1))))
{
_loop();
}
}
As the compiler messages are in Chinese I cannot tell why but my guess is null is not defined.
This is an important bug to fix as in classrooms we use the wait for on-board button to be pressed a lot to prevent unwanted student robot interactions.