hithesh123
Full Member level 6
- Joined
- Nov 21, 2009
- Messages
- 324
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,298
- Location
- lax
- Activity points
- 3,548
I have a char array of parity bits, to be written to MCU port out.
The MCU port is called data1. I am trying to write array[2] to data1
data1=array[2];
array[2]='0' , But when I step thru the code, data1 becomes 1 after the above assignment.
I have both 0s and 1s in the array. But no matter what the array index is, data1 always becomes 1 after I execute
data1=array[2];
Can 'char' data type be assigned to port pins?
The MCU port is called data1. I am trying to write array[2] to data1
data1=array[2];
array[2]='0' , But when I step thru the code, data1 becomes 1 after the above assignment.
I have both 0s and 1s in the array. But no matter what the array index is, data1 always becomes 1 after I execute
data1=array[2];
Can 'char' data type be assigned to port pins?