Question: I'm writing a program, IN C CODE, to build an array of data that starts at value 2 and adds 3 to the value. EX;

I'm writing a program, IN C CODE, to build an array of data that starts at value 2 and adds 3 to the value. EX; 2, 5, 8, 11...., up to 200.

I then take that array and display it on a 7 segment LED.

for the display to work, I believe, i need the value of that number to be stored in hexidecimal.

not sure if there is a converter code that with take that array value and convert it into a char hex for display.

can someone please help

EX array[0]=2 array [1]=5

convert array[1] to char hex[ 5 value]

display to LED

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!