View on GitHub

pxt-triodecar

triodecar test file

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.

Edit this project Build status badge

To edit this repository in MakeCode.

Metadata (used for search, rendering)