Changing Code For DigiSpark

Hi

I found some code that I want to use. It references pin 9, and it references A0.

Do I need to change that to use it with the DigiSpark that I will be using

Welcome
You can select the number 9 and select it as input

1 Like

@DragonTheta, your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project :wink: See About the Installation & Troubleshooting category.

Does your DigiSpark have a Pin 9? Does your DigiSpark have a Pin A0? If so (and they aren't the same pin) you can try the sketch unchanged. If you don't have a Pin 9, use a pin you do have. If you don't have a Pin A0, use an analog input pin that you do have.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.