Code: Select all
repeat 5 broadcast mirobot-forward-100 say forward wait until ready sensor value = 1 ...
It's made by a Chinese company called USR. It's pretty neat and quite low cost. More details here:simplesi wrote:What WiFi module is it BTW?
The WiFi module is a neat little device. Aside from being low cost, it's also got a few tricks up its sleeve:
- Has dual networks so you can join its access point and it can join yours
- Socket to serial converter
- Very small
- Room on-board for your own web pages
It's also quite easy to embed in designs because it's got 2mm header pins unlike the previous version which needed surface mounting.
You can find more details here:
http://en.usr.cn/Tiny-size-low-power-ua ... ifi-module
The only down-side is that the manual is sometimes written ahead of actual product functionality. Apart from that the company have been very supportive. Give me a shout if you have any other questions.
1.4 file format is fixed. Compatibility means sticking with it.I think it's a real shame that there's no real way of integrating things with custom blocks in 1.4.
Hi Gerhard,ghp wrote:Hello, I thought a while about this coding problem. Problems like this where a 'success feedback' is needed typically need a 'hardware abstraction layer' HAL, handling communication to external device and hiding communication details, timeouts and more.
In scratch 1.4, the only way I know to implement is by the use of synchronous "broadcast and wait".