TCPmaker : Visual Tour    Changing Your Layout and Regenerating Code  

After we do that, we see that Beyond Compare 3 has copied the "empty line" from the left side to the right side, effectively deleting the line containing the /* character sequence that had disabled the sendLedStates() function.  (See arrow 1.)

Before we go on, we need to be sure to copy the other two snippets shown below:

The snippet at arrow 2 should be copied as-is, to get rid of the matching "close comment" character sequence */ after the end of the function.

The snippet at arrow 3 has to do with the fact that some of these Tx flags in the sample code correspond to variables that have not been defined in this project. Since we have now added a variable D5 to the new file on the right, we'd like to just copy 3 of the 4 highlighted lines pointed to by arrow 3 from the left side to the right side.

We'll see how to do that on the next page of this tutorial.

 

 

open full sized image

35 of 39
Copyright Notice and Author Information