View on GitHub

pxt-triodecar

triodecar pxt file

Triode-Car

BPI-TriodeCar is a product designed for education on entry-level engineering

Note

You can see more information here http://wiki.banana-pi.org/BPI_Triode-Car_kit

You can get start quickly here http://wiki.banana-pi.org/Getting_Started_with_Triode-Car

and here https://hackaday.io/project/178248-triode-car-line-follower

Here are some of our videos

Triode Car #1 - A Beginning to Something Big https://www.youtube.com/watch?v=qcR-Haovyr4

Triode Car #2 - Installing Colorful Resistors! https://www.youtube.com/watch?v=z6adIa8id5Y

Usage

||CarDirection||

Use the ||CarDirection|| blocks to control the car

basic.forever(() => {
    triodecar.CarDirection(triodecar.direction.foward)
})

||ReadLDR||

Use the ||ReadLDR|| blocks to control the car

basic.forever(() => {
    serial.writeLine("" + (triodecar.ReadLDR(triodecar.Patrol.PatrolLeft)))
})