??? 02/23/07 07:47 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#133528 - comparing bytes Responding to: ???'s previous message |
Rucha Jewlikar said:
Now in response i receive an acknowlegment packet from the module which is again a 11 byte data(what this data should be for no error is already known to me), my problem is i have to compare this 11 byte data with the standard one, so how do i do this? Should i save it in an array and then compare each entry, or can it be done continuosly like receive one byte and compare?? Both methods are essentially the same. As you controller is byte-oriented you will end up comparing byte-per-byte anyway. What method to use depends on what needs to be done with the ack received. Can you discard it? Or do you need it for other purposes. Think about it or try both and see what suits you best. regards Patrick |
Topic | Author | Date |
Code help needed | 01/01/70 00:00 | |
Changing Key to Star | 01/01/70 00:00 | |
Thanks | 01/01/70 00:00 | |
Help on password entry code | 01/01/70 00:00 | |
Eh??? | 01/01/70 00:00 | |
Andy sir | 01/01/70 00:00 | |
Security. | 01/01/70 00:00 | |
Thank you and another query!!! | 01/01/70 00:00 | |
comparing bytes | 01/01/70 00:00 | |
Array | 01/01/70 00:00 | |
write the program to your specs. | 01/01/70 00:00 | |
sorry | 01/01/70 00:00 | |
you have to count | 01/01/70 00:00 | |
Ok | 01/01/70 00:00 | |
Is that going to be a commercial product ? | 01/01/70 00:00 | |
hobby/educational I hope | 01/01/70 00:00 | |
well | 01/01/70 00:00 | |
first project? | 01/01/70 00:00 | |
yes | 01/01/70 00:00 | |
You may want to ... | 01/01/70 00:00 | |
sorry | 01/01/70 00:00 | |
In general | 01/01/70 00:00 | |
Have you considered SDCC? | 01/01/70 00:00 | |
Must still read licence carefully | 01/01/70 00:00 | |
It's a tradeoff, not a no-brainer. | 01/01/70 00:00 | |
No i have not![]() | 01/01/70 00:00 |