31. Write a program to toggle all 8-bits of PORTB with some time delay between "on" and "off" states. 32. Write a code t
Posted: Mon May 09, 2022 5:54 am
31. Write a program to toggle all 8-bits of PORTB with some time delay between "on" and "off" states. 32. Write a code that gets the data present at the pins of port Cand send it to PORT Bindefinitely after adding the value 5 to it. 33. An LED is connected to each pin of Port D. Write a program to turn on each LED from pin DO to pin D7. Call a delay module before turning on the next LED. 34. Calculate the minimum hamming distance between following arrays: (a) 001 ^010 (b) 0010 ^ 0100 (c) 011 010 (d) 0101 ^ 0010 (e) 010^110 35. (a) Calculate the minimum Hamming distance (d) for the following array of data: {Ob001000, Ob010011, 0b101101, 0b111110) (b) Determine the number of errors detectable by this system. (c) Determine the number of errors correctable by this system.