Quote:
Originally Posted by charlie_fd
The code you are using for serial link (chris stuff) is converting from hex to ASCII inside the uC witch in my opinion is a waste of uC cycles (the conversion can be done in the client on the computer). Also, you are using the classic "wait for transmission ready" algorithm so every second you will stop the program to do the ASCII conversion (3 characters) and the transmission of 5 characters. Have you taken a look at the interrupt based transmission algorithm I'm using?
|
Well, the code I used (threw together is more like it) was as simple as possible so that I wouldn't have to re-mail the engineer chips for testing.
I plan on using interrupts for the input and outputs, definitely! I had no way of testing anything in a reasonable amount of time, so I went for super simple.
by! I need to leave! Must go to work!