|
Listing 9: Polling example
Active Devices 1001, 1010, 0110, 1100, 0001
Pass 1: first_1 = -1
Rcvd: B B 0 1
Sent: 0 0 0 1
Pass 2: first_1 = last_dup_sent_0 = 1
Rcvd: B B 1 0
Sent: 0 1 1 0
Pass 3: first_1 = last_dup_sent_0 = 0
Rcvd: B B B 1
Sent: 1 0 0 1
Pass 4: first_1 = last_dup_sent_0 = 1
Rcvd: B B 1 0
Send: 1 0 1 0
Pass 5: =first_1 = last_dup_sent_0 = 1
Rcvd: B B 0 0
Send: 1 1 0 0
|
|
|
|
Ready to take that job and shove it?
For more great jobs, career related news, features and services, please visit EETimes
Career Center
|
|