Discussion in "Project Doubts" started by    redzs08    Dec 13, 2010.
Mon Jul 04 2011, 08:21 am
#31
thanks for the explanation majoka.....
what about this code...is this code reading the senser value from adc...
and can u tell me what how this function

void sendReading(unsigned char val)
{
unsigned char l,m;
l=val%10;
m=(val/10)%10;
sendChar(aray[m]);
sendChar(aray[l]);
sendChar(',');
}
Thu Jul 07 2011, 09:58 am
#32
The above function is just to send values to PC via UART. It expect val as the value to be sent to PC, it then separates the digits convert them to ascii (array is the ascii values of all digits) and send it to uart using sendChar() function.
Thu Jul 07 2011, 10:18 pm
#33
thank you ajay for your explanation... what is the the val%10 mean .......
if i change the sensor type like pressure, humidity, vibration from the original(temperature).......... than the coding for microcontroller will be change is it?........ for that i need use to use the data sheet or what ?......
Fri Jul 08 2011, 09:39 am
#34

what is the the val%10 mean



that is modulo operation.. its a matter of value processing..


Use the modulo operator (%) to calculate the remainder of an integer division.

Sun Jul 10 2011, 02:55 am
#35
thanks romel_emperado for the explanation.
Thu Jul 28 2011, 08:01 am
#36
i got problem in vb file that i download , when i open DAQ System.exe file it run normally..... then when i open and try to run the daqSys.vbp file it show compile error: cant find project or library.....
why i get this problem..... need some help on this..... is the problem is my vb program itself or others.....
Thu Jul 28 2011, 03:00 pm
#37
is it a dll file missing error
dao350.dll not found or missing etc
if yes then paste this dao350.dll file to system32 folder in window
u can downland this files also here

Attachment
Thu Jul 28 2011, 10:01 pm
#38
still having the same problem (compile error: cant find project or library)..... why i will sent with the screen shot




there is another thing i cant compile the vb code to exe file it show the same error....... pls help...


[ Edited Fri Jul 29 2011, 09:09 pm ]
Fri Jul 29 2011, 10:12 pm
#39
try this code is it give the same error

Attachment
Sat Jul 30 2011, 03:38 pm
#40
majoka the code u give work perfectly thank for the code..... i think the code that i downloaded i have some missing syntax(line)... once again thank alot

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Williamjaf
Tue Apr 16 2024, 12:25 pm
best_yyPa
Tue Apr 16 2024, 09:42 am
ErnestoExpop
Tue Apr 16 2024, 02:57 am
Jamesclepe
Mon Apr 15 2024, 11:10 am
Aliciaelora
Mon Apr 15 2024, 07:59 am
btaletvpcu
Mon Apr 15 2024, 04:36 am
UbvpwcTib
Mon Apr 15 2024, 03:13 am
AmyJow
Sun Apr 14 2024, 11:54 pm