Using LEDs

Général

ragnarok93

il y a 6 ans

Hello, I do not see any tutorial about LEDs in our Gamebuino META and I would like to use it in my game. Can someone explain me the basics of using those 8 RGB LEDs? I will be very thankful for it :).


eriban

NEW il y a 6 ans

You can find a Lights example in the Arduino IDE after you added support for the Gamebuino META (as described here). It's accessible from File > Examples > Gamebuino Meta > Intermediate > Lights. It's how I got lights to work in my Bumble Bots game :-) 

ragnarok93

il y a 6 ans

Yay, thanks for info ! :D

ragnarok93

NEW il y a 6 ans

eriban eriban

Yay, thanks for info ! :D

Nux

NEW il y a 6 ans

This kind of stuff is in reference -> https://gamebuino.com/fr/reference

Note: you can find the link in academy page of the website.


Stuff about led are in this part of the reference -> https://gamebuino.com/fr/academy/reference/images


here is an exemple to get all your led green


gb.lights.fill(GREEN);


ragnarok93

NEW il y a 6 ans

Okay, thanks ;). Now i know how to use LEDs ;).