Correct, due to the fact that that LSB is the first one that I read I will need to use this one
for 4 using step loop sd_read(read) temp1_array[step] = read end loop OR sd_read(read) temp1_array[0] = read sd_read(read) temp1_array[1] = read sd_read(read) temp1_array[2] = read sd_read(read) temp1_array[3] = read The nice solution with shifting the data will give me the wrong result for 4 loop sd_read(read) temp1 = temp1 << 8 temp1 = temp1 | read end loop -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
