leaphy-robotics / leaphy-blocks

The web-based visual programming editor.
Apache License 2.0
1 stars 1 forks source link

[enhancement] Change default pins for led block on nano robots #129

Closed rmoesbergen closed 1 month ago

rmoesbergen commented 1 month ago

Image

Ben bezig met het vertalen van de lesboeken naar Engels. Is het mogelijk het blok voor de rgb led in alle nano omgevingen (nu alleen voor de Flitz zo) op pin 8 Gnd, pin 9 blauw, pin 10 groen en pin 11 rood te zetten?
rmoesbergen commented 1 month ago

For the developer, beware:

To clean this up we should just have 1 block with the right defaults for all robot types that generates inline code and remove the setLed() function from the c++ library, but make sure not to break existing saves.