Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi everyone,
i have a simple question, im not expert with C++ stuff,
the question is, my SW is wearching into a text file for a string, then i need to show that string in a Messagebox, and later i will pass it to FPGA,
the question not related to FPGA, its a simple C++ (i think), here is my...
for the error i already checked it from long time,,,and non of the solution have worked out,,,,its mainly for the sprintf function,,,,,
its the same,,,i said,,,
1- i want the first one, just to convert it to A,:::::: i meant to convert 0x41 to 0x0A
2- i want to display, 0x41 ,,,,as 0x0A...
thanks for ur reply, and the code,,,
but i receive a Sytanx error on the line of AsciiResult = (AsciiChar[0] << 4) |= AsciiChar[1];
i have made that code too,,,,,but even without that line, i still dont see the HEX, i only see the ASCII,
BYTE AsciiChar[4];
BYTE AsciiResult[2]...
:D :D :D ,,,last time when i replied the space was not working that why i have replaced it with comma,
i will repeat it again, may be it was not clear enough
the data originally in HEX, but for some reason i convert it to String, (because im sending the same data for more than one device) for...
thanks alot Brian
but still that error
Error - section '.udata_CustomHTTPApp.o' can not fit the section. Section '.udata_CustomHTTPApp.o' length=0x00000103
dont know how to fix it
thank a looot for ur reply,
yes, i want the first one, just to convert it to A,
i used,
for (i=0;i<4;i++)
{
printf("%c",tempSPI[i]);
}
then TCPPutArray(sktHTTP, tempSPI, strlen((char*)tempSPI));
but its giving me :::suspicious pointer conversion::: warning...
Hi everyone,
im facing a little problem,
i wanna convert from Hex to String,
i have tempSPI[4],,,which contains the string value represented by HEX,,,
for example, 0x41 which is equal A
i wanna display that ,
i wrote that,
for (i=0;i<4;i++)
{
printf("%02x",tempSPI[i])...
hello everyone,
im facing a problem for a week now, and i dont know how to solve it,,,,
i want to reset the ring Buffer vUARTTXFIFO ,
NOW, after i send the command its okay only for the first time, then its not working, i dont receive the value in the first byte, because its ring Buffer,
the...
thanks bunch Brain,
but i used it like that,
tempTXFrame= 0xea;
sprintf(TCPTemp,"%x",tempTXFrame);
TXFrame[1] = TCPTemp[0];
TXFrame[2] = TCPTemp[1];
///////////
but i received a warning,
>> warning: creating .sysmem section with default size of 400 (hex) words.
Use -heap option...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.