I am trying to make a digital ruler with a screen but whatever I do, mBlock doesn’t upload the code if I try to print the ultrasonic sensor’s value on screen using a variable. I have looked at other example projects on forums and YouTube but they don’t really work with my type of LCD or they code it using mBlock 3 and it just works there I guess.
Before anyone suggests, I know I can just make it on Arduino IDE but it is required for a weekly project for a robotics course, and I am teaching a group of 2nd to 5th graders in Turkey so they can’t write the code themselves, they are comfortable working with mBlock 5 at this point. Also, I can’t use I2C module or and LCD that comes soldered with the module because my students don’t have that version.
Thanks in advance.