Question: HELP. I need help converting this MikroC code into code that can be used on Tinkercad which is arduino. So either C or C++ would

HELP. I need help converting this MikroC code into code that can be used on Tinkercad which is arduino. So either C or C++ would do. This is also the circuit that will be used in tinkercad. The goal of this code is to make a stopwatch on that LCD. The first switch will pause the timer while the second switch will stop the timer.

int count1= 0, int count2= 0, ss, sevseg[] = {0x3F, 0x06, 0x4F, 0x66, 0x6D, 0x7D, 0x07, 0x7F, 0x6F};

void display() { if (ss ==0) { PORTB = sevseg[count1]; delay_ms(10); PORTD = sevseg[count1]; delay_ms(10); } return;}

void main() { TRISB = 0x00; TRISD = 0x00; PORTB = 0; PORTD = 0; while (count1

HELP. I need help converting this MikroC code into code that can

TITLE #WERE DIGITAL (PWM) O UNO RX ARDUINO POWER ANALOGIN 222222

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!