Open this page at https://bigqubot.github.io/pxt-triodecar/
edited by webduino-cn
Usage
CarDirection
Use the CarDirection
blocks to control the car
basic.forever(() => {
triodecar.CarDirection(triodecar.direction.foward)
})
readPatrol
Use the readPatrol
blocks to control the car
basic.forever(() => {
serial.writeLine("" + (triodecar.readPatrol(triodecar.Patrol.PatrolLeft)))
})
Use as Extension
This repository can be added as an extension in MakeCode.
- open https://makecode.microbit.org/
- click on New Project
- click on Extensions under the gearwheel menu
- search for https://github.com/bigqubot/pxt-triodecar and import
Edit this project
To edit this repository in MakeCode.
- open https://makecode.microbit.org/
- click on Import then click on Import URL
- paste https://github.com/bigqubot/pxt-triodecar and click import
Metadata (used for search, rendering)
- for PXT/microbit