Free arduino pin? - Gamebuino Classic

General

Arrgon

5 years ago

Hello. I have question about gamebuino classic.
I cannot find answer.
If i make my own gamebuino classic clone (only display, buttons and speaker, could i use one of arduino pins as an output to connect relay which opens when somebody gets hightscore?
If yes which pin is easiest to use in that way? Should i modify library somehow or gamebuino library is not using all ardu pins?

I'm preety new to arduino and programming so please be gentle for me. I saw schematics and i didnt see free pin? Am i right?



Sorunome

NEW 5 years ago

You can use any free pin you want for anything. You shouldn't need to have to modify the library, you can just use pinMode and digitaWrite yourself. See more for that here: https://www.arduino.cc/reference/en/language/functions/digital-io/pinmode/