normal maths is 4 X 5
but i want it in programming language what will it be?
may i know in C language the multiple is it something like this?
abc = 4 * 5; (of coz this is not my real program)
my program for multiple is this:
analogvoltage1 = result * 1024;
analogvoltage2 = 5000000/analogvoltage1; //forumal to get my analog voltage
result1 = 5000000-analogvoltage2;
result2 = 10000000*analogvoltage2;
resistor = result2/result1; //forumal to get my register value of R4
somehow my all result is wrong.
but i want it in programming language what will it be?
may i know in C language the multiple is it something like this?
abc = 4 * 5; (of coz this is not my real program)
my program for multiple is this:
analogvoltage1 = result * 1024;
analogvoltage2 = 5000000/analogvoltage1; //forumal to get my analog voltage
result1 = 5000000-analogvoltage2;
result2 = 10000000*analogvoltage2;
resistor = result2/result1; //forumal to get my register value of R4
somehow my all result is wrong.