elecfreaks / pxt-TPBot

(天蓬)The intelligent programming car TPBot(Tianpeng) produced by ELECFREAKS Co.ltd

Home Page:https://elecfreaks.github.io/pxt-TPBot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TPBot Package

This extension is designed to programme and drive the TPBot, You can get TPBot from the Elecfreaks store

Code Example

let right = 0
let left = 0
TPBot.headlightColor(0xff0000)
basic.forever(function () {
    left = Math.randomRange(-100, 100)
    right = Math.randomRange(-100, 100)
    TPBot.setWheels(left, right)
    basic.pause(1000)
})

Supported targets

for PXT/microbit

License

MIT

About

(天蓬)The intelligent programming car TPBot(Tianpeng) produced by ELECFREAKS Co.ltd

https://elecfreaks.github.io/pxt-TPBot/

License:MIT License


Languages

Language:TypeScript 99.7%Language:Makefile 0.3%