Hello, has anyone here already created a code on Arduino where you can determine the color code of a resistor by entering the size of the resistor in the Arduino? We have to do this at school and have no idea how it works and can't find anything on Google
What course are you attending?
What is the level of your course?
I believe your professor asked you to write the code.
So elaborate, and if you have any difficulty, post it here, (using the appropriate tags), and we will help you.
Tip.
Create an array with the colors,
and use a simple arithmetic algorithm with the resistor value to address the array.
Is your assignment something like "Write an Arduino sketch that prints the colour code for a resistor value entered by the user" or is it something like "Find an Arduino sketch that prints the colour code for a resistor value entered by the user"
My answer when you lead with this statement:
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
