Question: Problem 11. (15 pts] Assume the memory is filled up with random numbers and you are trying to find a specific sequence of numbers in
Problem 11. (15 pts] Assume the memory is filled up with random numbers and you are trying to find a specific sequence of numbers in 8 bits. Write C program that starts reading from memory location Ox8000 and tries to find the pattern Ox77, 0x69, 0x6E, and when finds, light up an LED on location PORTD12. (PORTD12 = 1;) // Create an array called myarray starting at address 0x8000 volatile uint8 *myarray - (volatile uint8 *) ex8000; // You can access each item of the array using indexing myarray[@], myarray[5] ... and so on. Problem 11. (15 pts] Assume the memory is filled up with random numbers and you are trying to find a specific sequence of numbers in 8 bits. Write C program that starts reading from memory location Ox8000 and tries to find the pattern Ox77, 0x69, 0x6E, and when finds, light up an LED on location PORTD12. (PORTD12 = 1;) // Create an array called myarray starting at address 0x8000 volatile uint8 *myarray - (volatile uint8 *) ex8000; // You can access each item of the array using indexing myarray[@], myarray[5] ... and so on
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
