#include /* Edward Cory Homework #7 - CmpE213 */ void main(void){ int x; // P1 value storage P1 = 0xE0; // Sets P1 bits 5,6,7 to input while(1) { x = (P1>>5); // shifts P1 value to the right 5 bits x = x & 0x07; // only allows digits between 0-7 P3 = 0x01<