I'm a new PSoC Designer. I'm Writing in C.
I want to send an Int value to serial port of computer
In the TX8 toolbox they only talk about displaying a Hex Value.
Help me!!!
Does anyone have some sample code on how to send a Int value?
Did you try using the itoa function? It basically converts the integer to ascii form, so that it can be transmitted in ascii but can be displayed as an integer.
because it sends ASCII codein hex format - if you want to send a number you need to convert it first to a string (which is nothing else than table of ascii codes of subsequent characters). As my predecessor said - good thing is to use itoa() function.. or.. if you send only digits try send code evaluated from