Skip to content

Q-car/pxt-triodecar

Repository files navigation

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)

  • for PXT/microbit
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>