Block for using the ASL10SoundSensor
Click the gearwheel menu in the MakeCode editor, and click "Extensions" search for "asl10" and select it.
These block are for now made to control a tank robot, but customized programs can also be created. To update the information from the asl10sensor use the update block. Thereafter you can use the drivetank block to control a tank robot. You can also use the getter blocks (angle and power) to get an indication of what angle the sound is coming from. This can be used to make customized programs.
To use driveTank in typescript following enums are used:
- motorEnumASL.BC (motor output B + C) = 1
- motorEnumASL.AB (motor output A + B) = 2
- motorEnumASL.CD (motor output C + D) = 3
- motorEnumASL.AD (motor output A + D) = 4
- for PXT/ev3
MIT
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.