Click here to Skip to main content
15,919,358 members

Comments by tetuko99 (Top 14 by date)

tetuko99 4-Jun-12 10:56am View    
thank for your attention,,
but that very complicated for me.
can you give me a solution for my project work.!
i must send data integer temperature-humidity-count every 10ms to the PC with serialPORT rs232 communication.
i just try send all data with script printf("@ %02d %03d %04d \r, temp,hum, count) ;
delay_ms(10);

now i dont know how My GUI in C# can receive data completed every 10mS.???
please help me...
tetuko99 3-Jun-12 16:11pm View    
thank for your answer,,
but i'am newbie using C# language
can you help me,,
the sample code or some project maybe helpfull for me,
tahnks regards
tetuko99 3-Jun-12 11:48am View    
yes you allright,,
i can't explain my problem clearly.
this my problem all,,
i have a homework from my teacher
this jobs is,,
how to show data temperatur, humidity and count from microcontroller to PC.
and then using GUI (graphic user interface) for show all data.

i'am sent data from microcontroller to PC using this script
printf ("%02d %03d %04d \n", temp, hum, count);

and on my GUI i recived all data using script
string data = serialport1.ReadExsiting();
and then i'am success for recive all data with string format and can viewed on textbox using this script
richTextBox1.AppendText(data);

but the problem is,, how i can divided data string into 3 data INTEGER ( temperatur, humidity, and count) ?????????

thanks,,
tetuko99 3-Jun-12 10:19am View    
can you give me some example for me..!!
tetuko99 3-Jun-12 4:10am View    
point of my problem is,,
i want to get numeric data (int or double) from texbox data viewed.
but that my be real ??