Code: Select all
Channel 1 is 10100
Channel 2 is 01110
Channel 3 is 11101
then the 8 bit port will report:
101 (The first digits)
011 (The second digits)
111
010
001
Code: Select all
:
Bitmasked data: 1,0,1,0,0
char i = 0;
for all digits:
if(digit == 1){
i++;
}
i << 1;
EDIT: Also, how many streaming channels can you have in a G4?
EDIT: Ok, so I found that it has 5 links. However, when i try and compile, it says
Code: Select all
Core 0 in node "0" has 4 streaming channels and 4 non-streaming. This will deadlock the pswitch.