Skip to content

BPI-STEAM/pxt-triodecar

 
 

Repository files navigation

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)))
})
<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>

Packages

No packages published

Languages

  • TypeScript 97.3%
  • Ruby 1.4%
  • Makefile 1.3%