Maqueen ultrasonic sensor
![userHead](https://dfimg.dfrobot.com/dfPortrait2.png)
I am new to the Maqueen and Makecode combination. I am not sure why my code below does not work.
![](https://dfimg.dfrobot.com/64b9da51aa9508d63a42fcb9/makelog/82e27ee8d5b63edd38cd04d0175881eb.png)
2023-07-21 10:02:40 ![](https://dfimg.dfrobot.com/nobody/makelog/5c262339027f8dc92a3a98147a339dfc.png)
Paul.Haenen
I tried the same code in Edge, rather than Chrome and noted the “ " marks left the numbers and then it worked.
![](https://dfimg.dfrobot.com/nobody/makelog/5c262339027f8dc92a3a98147a339dfc.png)
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)
xingzhao.zhu
wrote:
2023-07-21 10:07:48 1 Replies
Oh! Okay,
That explains.
Thank you!
2023-07-21 09:53:53
Paul.Haenen
Yes I copied the code from the wiki page.
The power is full, as per the photo
I am running from the latest version extension
Hope you can help
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)
2023-07-21 09:36:07 ![](https://dfimg.dfrobot.com/nobody/makelog/7725b15878307c4daddc3df28adb687b.png)
xingzhao.zhu
Hello,
According to the wiki page that I read, your code seems to be correct.
wiki link:
https://wiki.dfrobot.com/SKU_MBT0021-EN_Maqueen_Plus_STEAM_Programming_Educational_Robot
![](https://dfimg.dfrobot.com/nobody/makelog/7725b15878307c4daddc3df28adb687b.png)
So in this case, could you please give us some more information about your robot's cable connection and power supply? A photo will be the best.
Thank you!
Best regards,
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)
![p.name](https://dfimg.dfrobot.com/store/cache3/data/MBT0021-EN/230616/MBT0021-EN.jpg)
![p.name](https://dfimg.dfrobot.com/store/cache3/data/MBT0021-EN-4/MBT0021-EN-4.jpg)
![p.name](https://dfimg.dfrobot.com/store/cache3/data/MBT0021-EN-18650/230625/MBT0021-EN-18650.jpg)
![p.name](https://dfimg.dfrobot.com/store/cache3/data/MBT0021-EN-5/MBT0021-EN-5.jpg)
![p.name](https://dfimg.dfrobot.com/store/data/MBT0021-EN-18650-3/3-1.jpg)
![p.name](https://dfimg.dfrobot.com/store/cache3/data/MBT0021-EN-18650-4/MBT0021-EN-18650-4.jpg)
![p.name](https://dfimg.dfrobot.com/store/cache3/data/MBT0021-EN-18650-2/MBT0021-EN-18650-2.jpg)
![p.name](https://dfimg.dfrobot.com/store/data/MBT0021-EN-18650-1/1-1.jpg)