Home Creators Posts Import Register Favorites Logout

Content

Running Pybricks on the City Hub has a lot of advantages. Your code runs and stays on the hub, so you don't need your phone all the time. And you can make it detect colors on the track without missing anything. In this video tutorial we show you how.

Time to make some creative train layouts in your Christmas display!

Files

Comments

Jose Otazu

Hello, I have a question, for some reason, my sensor will detect the color on the track maybe it's reflecting on the tile, I tried with the powerup app, and it works by putting a different color light on the sensor I'm wondering if that's possible on python thanks. I can provide you with an image of the code in the PowerUp App if you would like.

Jose Otazu

I think the question is can you make the sensor light a color all the time while reading other colors with pybricks